A rivalry game with Ohio lived up to the billing as Miami survived an overtime thriller to finish the season 31-0.