Ivo Karlovic equalled the record for aces in a three-set match with 44 in a tense clash with Daniel Brands in Zagreb.