Confrontation of a double inflationary cosmological model with observations