Jacob Hannemann tied a school record with two triples as the Cougars upset No. 21 UC Irvine 6-3 at Larry H. Miller Field.