Bar codes of persistent cohomology and Arrhenius law for p-forms