Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir") Notification: Performance of loadModel(ModelicaTest): time 2.323/2.323, allocations: 234.9 MB / 251.1 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006305/0.0006308, allocations: 20 kB / 314.9 MB, free: 9.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3812/0.3819, allocations: 54.85 MB / 369.8 MB, free: 10.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.143/1.524, allocations: 372.7 MB / 0.7251 GB, free: 109.6 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002369/1.525, allocations: 80.64 kB / 0.7251 GB, free: 109.6 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07809/1.603, allocations: 21.23 MB / 0.7459 GB, free: 91.9 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.074e-06/1.603, allocations: 0 / 0.7459 GB, free: 91.9 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.772e-05/1.603, allocations: 4 kB / 0.7459 GB, free: 91.89 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001326/1.604, allocations: 0.5749 MB / 0.7464 GB, free: 91.29 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/1.604, allocations: 12.03 kB / 0.7465 GB, free: 91.28 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002218/1.605, allocations: 27.72 kB / 0.7465 GB, free: 91.25 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002849/1.605, allocations: 225.1 kB / 0.7467 GB, free: 91 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001641/1.605, allocations: 134.6 kB / 0.7468 GB, free: 90.86 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.018e-05/1.605, allocations: 27.44 kB / 0.7469 GB, free: 90.84 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007271/1.606, allocations: 323.3 kB / 0.7472 GB, free: 90.57 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/1.606, allocations: 0 / 0.7472 GB, free: 90.57 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.356e-05/1.606, allocations: 15.45 kB / 0.7472 GB, free: 90.57 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.845e-05/1.606, allocations: 12 kB / 0.7472 GB, free: 90.55 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001016/1.607, allocations: 0.7348 MB / 0.7479 GB, free: 89.93 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001622/1.609, allocations: 1.143 MB / 0.749 GB, free: 88.86 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004963/1.609, allocations: 168.5 kB / 0.7492 GB, free: 88.72 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002639/1.612, allocations: 2.642 MB / 0.7518 GB, free: 85.68 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/1.612, allocations: 38.44 kB / 0.7518 GB, free: 85.64 MB / 490.7 MB Notification: Performance of pre-optimization done (n=15): time 2.324e-06/1.612, allocations: 4 kB / 0.7518 GB, free: 85.64 MB / 490.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008902/1.613, allocations: 234.8 kB / 0.752 GB, free: 85.43 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.667e-05/1.613, allocations: 51.41 kB / 0.7521 GB, free: 85.37 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002/1.613, allocations: 208.6 kB / 0.7523 GB, free: 85.19 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/1.613, allocations: 25.7 kB / 0.7523 GB, free: 85.16 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/1.613, allocations: 280.2 kB / 0.7526 GB, free: 84.89 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.381e-05/1.613, allocations: 58.56 kB / 0.7526 GB, free: 84.84 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.857e-05/1.613, allocations: 7.438 kB / 0.7526 GB, free: 84.84 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.681e-05/1.613, allocations: 334.2 kB / 0.7529 GB, free: 84.52 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001243/1.614, allocations: 47.97 kB / 0.753 GB, free: 84.48 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002412/1.614, allocations: 315.4 kB / 0.7533 GB, free: 84.06 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002181/1.614, allocations: 105.1 kB / 0.7534 GB, free: 83.98 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/1.614, allocations: 3.938 kB / 0.7534 GB, free: 83.98 MB / 490.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007178/1.615, allocations: 382.9 kB / 0.7538 GB, free: 83.66 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/1.615, allocations: 8 kB / 0.7538 GB, free: 83.65 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/1.615, allocations: 12.06 kB / 0.7538 GB, free: 83.64 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.854e-05/1.615, allocations: 16 kB / 0.7538 GB, free: 83.62 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006055/1.616, allocations: 107.4 kB / 0.7539 GB, free: 83.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.02e-05/1.616, allocations: 19.92 kB / 0.7539 GB, free: 83.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003562/1.616, allocations: 18.94 kB / 0.7539 GB, free: 83.49 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.224e-05/1.616, allocations: 31.42 kB / 0.754 GB, free: 83.46 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (52): * Single equations (assignments): 51 * Array equations: 1 * 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.0001519/1.616, allocations: 156 kB / 0.7541 GB, free: 83.31 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.173e-05/1.616, allocations: 19.77 kB / 0.7541 GB, free: 83.29 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005147/1.617, allocations: 186.4 kB / 0.7543 GB, free: 83.12 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-05/1.617, allocations: 0 / 0.7543 GB, free: 83.12 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/1.617, allocations: 0 / 0.7543 GB, free: 83.12 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/1.617, allocations: 0 / 0.7543 GB, free: 83.12 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006854/1.617, allocations: 451.2 kB / 0.7547 GB, free: 82.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/1.617, allocations: 12.09 kB / 0.7548 GB, free: 82.65 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002568/1.618, allocations: 35.59 kB / 0.7548 GB, free: 82.62 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.623e-06/1.618, allocations: 4 kB / 0.7548 GB, free: 82.62 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/1.618, allocations: 3.984 kB / 0.7548 GB, free: 82.61 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/1.618, allocations: 4 kB / 0.7548 GB, free: 82.61 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/1.618, allocations: 0 / 0.7548 GB, free: 82.61 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002589/1.618, allocations: 228.2 kB / 0.755 GB, free: 82.38 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/1.618, allocations: 124.3 kB / 0.7551 GB, free: 82.25 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.594e-05/1.618, allocations: 0 / 0.7551 GB, free: 82.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003558/1.619, allocations: 15.67 kB / 0.7552 GB, free: 82.23 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.562e-05/1.619, allocations: 4 kB / 0.7552 GB, free: 82.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.977e-05/1.619, allocations: 15.67 kB / 0.7552 GB, free: 82.22 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001386/1.619, allocations: 146.8 kB / 0.7553 GB, free: 82.09 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.9e-07/1.619, allocations: 4 kB / 0.7553 GB, free: 82.09 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0006757/1.62, allocations: 94.25 kB / 0.7554 GB, free: 82 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (13): * Single equations (assignments): 12 * Array equations: 1 * 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.0003081/1.62, allocations: 186.1 kB / 0.7556 GB, free: 81.82 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004062/1.62, allocations: 167.6 kB / 0.7557 GB, free: 81.68 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/1.62, allocations: 8.062 kB / 0.7558 GB, free: 81.67 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.844e-05/1.62, allocations: 39.03 kB / 0.7558 GB, free: 81.64 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004951/1.621, allocations: 47.05 kB / 0.7558 GB, free: 81.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0186/1.64, allocations: 6.038 MB / 0.7617 GB, free: 76.66 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001792/1.64, allocations: 0.7323 MB / 0.7624 GB, free: 75.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/1.64, allocations: 31.42 kB / 0.7625 GB, free: 75.87 MB / 490.7 MB Notification: Performance of SimCode: time 1.222e-06/1.64, allocations: 4 kB / 0.7625 GB, free: 75.87 MB / 490.7 MB Notification: Performance of Templates: time 0.007572/1.647, allocations: 3.475 MB / 0.7659 GB, free: 72.41 MB / 490.7 MB