Mathematical models of technological processes in industry and assessments of reliability of technological cycles