Mathematical Modeling and Computer Simulation of Compression Process