Applicability of the cubic model to the critical behavior of real systems