Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.IdealGasH2O.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.IdealGasH2O") Notification: Performance of loadModel(Modelica): time 1.649/1.649, allocations: 171.2 MB / 186.7 MB, free: 1.027 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004763/0.0004763, allocations: 8 kB / 233.8 MB, free: 2.383 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0889/0.08941, allocations: 38.76 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.341/1.43, allocations: 432.4 MB / 0.6884 GB, free: 24.14 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002366/1.43, allocations: 71.91 kB / 0.6885 GB, free: 24.11 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08508/1.515, allocations: 24.91 MB / 0.7128 GB, free: 2.508 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.534e-06/1.515, allocations: 0 / 0.7128 GB, free: 2.508 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.222e-06/1.515, allocations: 0 / 0.7128 GB, free: 2.508 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001107/1.517, allocations: 443 kB / 0.7133 GB, free: 2.027 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/1.517, allocations: 8.031 kB / 0.7133 GB, free: 2.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009945/1.527, allocations: 463.7 kB / 0.7137 GB, free: 1.566 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/1.527, allocations: 167 kB / 0.7139 GB, free: 1.363 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/1.527, allocations: 8 kB / 0.7139 GB, free: 1.355 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001249/1.527, allocations: 11.92 kB / 0.7139 GB, free: 1.344 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001223/1.528, allocations: 298.4 kB / 0.7142 GB, free: 1.047 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/1.528, allocations: 0 / 0.7142 GB, free: 1.047 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.954e-05/1.528, allocations: 7.938 kB / 0.7142 GB, free: 1.039 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/1.528, allocations: 0 / 0.7142 GB, free: 1.039 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001544/1.53, allocations: 279.7 kB / 0.7144 GB, free: 0.7656 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001436/1.531, allocations: 428.1 kB / 0.7149 GB, free: 308 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001914/1.533, allocations: 214.4 kB / 0.7151 GB, free: 84 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.23e-05/1.533, allocations: 11.97 kB / 0.7151 GB, free: 72 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/1.533, allocations: 30.56 kB / 0.7151 GB, free: 32 kB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 3.096e-06/1.533, allocations: 0 / 0.7151 GB, free: 32 kB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.2294/1.763, allocations: 417.6 kB / 0.7155 GB, free: 120.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/1.763, allocations: 56.67 kB / 0.7156 GB, free: 120.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.933e-05/1.763, allocations: 100.1 kB / 0.7156 GB, free: 120.6 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.869e-05/1.763, allocations: 33.39 kB / 0.7157 GB, free: 120.5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.03e-05/1.763, allocations: 93.3 kB / 0.7158 GB, free: 120.4 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.707e-05/1.763, allocations: 54.39 kB / 0.7158 GB, free: 120.4 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.968e-05/1.763, allocations: 4.156 kB / 0.7158 GB, free: 120.4 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.848e-05/1.763, allocations: 321 kB / 0.7161 GB, free: 120.1 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005032/1.764, allocations: 79.42 kB / 0.7162 GB, free: 120.1 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005326/1.764, allocations: 115.5 kB / 0.7163 GB, free: 120.1 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005155/1.765, allocations: 92.08 kB / 0.7164 GB, free: 120.1 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/1.765, allocations: 1.969 kB / 0.7164 GB, free: 120.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001235/1.766, allocations: 241.1 kB / 0.7166 GB, free: 120 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/1.766, allocations: 7.75 kB / 0.7166 GB, free: 120 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/1.766, allocations: 1.375 kB / 0.7166 GB, free: 120 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.445e-05/1.766, allocations: 3.266 kB / 0.7166 GB, free: 120 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006538/1.767, allocations: 51.84 kB / 0.7167 GB, free: 120 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/1.767, allocations: 2.078 kB / 0.7167 GB, free: 120 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004311/1.767, allocations: 18.97 kB / 0.7167 GB, free: 120 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.624e-05/1.767, allocations: 10.78 kB / 0.7167 GB, free: 120 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001378/1.768, allocations: 125.2 kB / 0.7168 GB, free: 119.9 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.049e-05/1.768, allocations: 8.031 kB / 0.7169 GB, free: 119.9 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001453/1.769, allocations: 280.2 kB / 0.7171 GB, free: 119.9 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/1.769, allocations: 3.266 kB / 0.7171 GB, free: 119.9 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/1.769, allocations: 3.375 kB / 0.7171 GB, free: 119.9 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-06/1.769, allocations: 1.078 kB / 0.7171 GB, free: 119.9 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001972/1.771, allocations: 0.5773 MB / 0.7177 GB, free: 119.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/1.771, allocations: 1.5 kB / 0.7177 GB, free: 119.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005972/1.772, allocations: 43.2 kB / 0.7177 GB, free: 119.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.407e-06/1.772, allocations: 2.75 kB / 0.7177 GB, free: 119.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.413e-05/1.772, allocations: 17.45 kB / 0.7178 GB, free: 119.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.121e-06/1.772, allocations: 1.531 kB / 0.7178 GB, free: 119.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.772, allocations: 2.438 kB / 0.7178 GB, free: 119.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001143/1.773, allocations: 321.1 kB / 0.7181 GB, free: 119.4 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.528e-05/1.773, allocations: 92.45 kB / 0.7182 GB, free: 119.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.652e-05/1.773, allocations: 4.25 kB / 0.7182 GB, free: 119.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004329/1.774, allocations: 19.94 kB / 0.7182 GB, free: 119.3 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.131e-05/1.774, allocations: 9.703 kB / 0.7182 GB, free: 119.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-05/1.774, allocations: 13.59 kB / 0.7182 GB, free: 119.3 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.524e-05/1.774, allocations: 85.84 kB / 0.7183 GB, free: 119.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/1.774, allocations: 0 / 0.7183 GB, free: 119.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000694/1.774, allocations: 74.52 kB / 0.7183 GB, free: 119.2 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001021/1.776, allocations: 0.5146 MB / 0.7189 GB, free: 119.1 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001202/1.777, allocations: 201 kB / 0.719 GB, free: 119.1 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/1.777, allocations: 0 / 0.719 GB, free: 119.1 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005579/1.777, allocations: 102.2 kB / 0.7191 GB, free: 119.1 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005307/1.778, allocations: 32.52 kB / 0.7192 GB, free: 119.1 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/1.779, allocations: 317.4 kB / 0.7195 GB, free: 118.9 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001717/1.779, allocations: 0.7 MB / 0.7202 GB, free: 118.2 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007163/1.78, allocations: 59 kB / 0.7202 GB, free: 118.2 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002756/1.78, allocations: 30.77 kB / 0.7202 GB, free: 118.2 MB / 362.7 MB Notification: Performance of SimCode: time 1.092e-06/1.78, allocations: 1.281 kB / 0.7202 GB, free: 118.2 MB / 362.7 MB Notification: Performance of Templates: time 0.02299/1.803, allocations: 9.063 MB / 0.7291 GB, free: 117.7 MB / 362.7 MB