Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.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.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") Notification: Performance of loadModel(ModelicaTest): time 2.397/2.397, allocations: 234.9 MB / 251.1 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000433/0.0004333, allocations: 16 kB / 315 MB, free: 9.605 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3523/0.3528, allocations: 54.87 MB / 369.8 MB, free: 10.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.224/1.577, allocations: 424.6 MB / 0.7758 GB, free: 60.05 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003402/1.578, allocations: 101.4 kB / 0.7759 GB, free: 59.99 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7959/2.374, allocations: 132.6 MB / 0.9054 GB, free: 133.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.204e-06/2.374, allocations: 0 / 0.9054 GB, free: 133.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.152e-05/2.374, allocations: 18.64 kB / 0.9054 GB, free: 133.1 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.003199/2.377, allocations: 0.9775 MB / 0.9064 GB, free: 132.1 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/2.377, allocations: 8.031 kB / 0.9064 GB, free: 132.1 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006851/2.378, allocations: 83.16 kB / 0.9064 GB, free: 132 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001765/2.379, allocations: 0.5612 MB / 0.907 GB, free: 131.4 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001447/2.38, allocations: 100.4 kB / 0.9071 GB, free: 131.3 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002207/2.38, allocations: 50.89 kB / 0.9071 GB, free: 131.3 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002059/2.382, allocations: 0.8036 MB / 0.9079 GB, free: 130.4 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.576e-05/2.382, allocations: 7.938 kB / 0.9079 GB, free: 130.4 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001373/2.382, allocations: 30.89 kB / 0.908 GB, free: 130.4 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.344e-05/2.382, allocations: 40.97 kB / 0.908 GB, free: 130.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001936/2.384, allocations: 0.6322 MB / 0.9086 GB, free: 129.7 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00707/2.391, allocations: 3.65 MB / 0.9122 GB, free: 125.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001177/2.393, allocations: 390.9 kB / 0.9125 GB, free: 125.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00288/2.395, allocations: 1.629 MB / 0.9141 GB, free: 123.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/2.396, allocations: 38.56 kB / 0.9142 GB, free: 123.6 MB / 490.7 MB Notification: Performance of pre-optimization done (n=37): time 3.306e-06/2.396, allocations: 3.984 kB / 0.9142 GB, free: 123.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=42): time 0.00483/2.4, allocations: 1.441 MB / 0.9156 GB, free: 122.1 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.129e-05/2.401, allocations: 132.5 kB / 0.9157 GB, free: 122 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009488/2.401, allocations: 0.5615 MB / 0.9163 GB, free: 121.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001313/2.402, allocations: 29.7 kB / 0.9163 GB, free: 121.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002444/2.402, allocations: 414.7 kB / 0.9167 GB, free: 120.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001653/2.402, allocations: 154.5 kB / 0.9168 GB, free: 120.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.835e-05/2.402, allocations: 16 kB / 0.9168 GB, free: 120.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.164e-05/2.402, allocations: 342.8 kB / 0.9172 GB, free: 120.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000547/2.403, allocations: 209.8 kB / 0.9174 GB, free: 120.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000688/2.403, allocations: 0.5354 MB / 0.9179 GB, free: 119.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000775/2.404, allocations: 309.3 kB / 0.9182 GB, free: 119.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/2.404, allocations: 4 kB / 0.9182 GB, free: 119.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002268/2.407, allocations: 0.8605 MB / 0.919 GB, free: 118.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.801e-05/2.407, allocations: 8 kB / 0.919 GB, free: 118.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.877e-05/2.407, allocations: 12.88 kB / 0.9191 GB, free: 118.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002235/2.409, allocations: 264.6 kB / 0.9193 GB, free: 118.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008275/2.41, allocations: 131.8 kB / 0.9194 GB, free: 118 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001304/2.411, allocations: 0.841 MB / 0.9203 GB, free: 117.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001127/2.412, allocations: 55.97 kB / 0.9203 GB, free: 117 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001313/2.412, allocations: 39.98 kB / 0.9203 GB, free: 117 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.0005919/2.413, allocations: 245.8 kB / 0.9206 GB, free: 116.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002017/2.413, allocations: 71.11 kB / 0.9206 GB, free: 116.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001786/2.415, allocations: 0.7208 MB / 0.9214 GB, free: 115.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-05/2.415, allocations: 8 kB / 0.9214 GB, free: 115.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/2.415, allocations: 0 / 0.9214 GB, free: 115.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.859e-06/2.415, allocations: 3.984 kB / 0.9214 GB, free: 115.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003008/2.418, allocations: 1.332 MB / 0.9227 GB, free: 114.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.628e-06/2.418, allocations: 4 kB / 0.9227 GB, free: 114.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001936/2.42, allocations: 195.8 kB / 0.9229 GB, free: 114.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001438/2.42, allocations: 20.84 kB / 0.9229 GB, free: 114.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.958e-05/2.421, allocations: 20.17 kB / 0.9229 GB, free: 114.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002153/2.423, allocations: 2.687 MB / 0.9255 GB, free: 111.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/2.423, allocations: 4.281 kB / 0.9255 GB, free: 111.3 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00203/2.425, allocations: 0.9419 MB / 0.9264 GB, free: 110.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005004/2.425, allocations: 208.1 kB / 0.9266 GB, free: 110.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001787/2.426, allocations: 8 kB / 0.9266 GB, free: 110.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008048/2.426, allocations: 27.98 kB / 0.9267 GB, free: 110 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/2.426, allocations: 39.95 kB / 0.9267 GB, free: 110 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.699e-05/2.427, allocations: 19.98 kB / 0.9267 GB, free: 110 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007086/2.427, allocations: 399 kB / 0.9271 GB, free: 109.6 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.104e-06/2.427, allocations: 0 / 0.9271 GB, free: 109.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001465/2.429, allocations: 243.9 kB / 0.9273 GB, free: 109.3 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (44): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009021/2.43, allocations: 349.5 kB / 0.9277 GB, free: 109 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002012/2.432, allocations: 0.5774 MB / 0.9282 GB, free: 108.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.707e-06/2.432, allocations: 0 / 0.9282 GB, free: 108.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001624/2.433, allocations: 422.6 kB / 0.9286 GB, free: 108 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002535/2.436, allocations: 303.8 kB / 0.9289 GB, free: 107.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00329/2.439, allocations: 1.659 MB / 0.9306 GB, free: 106 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000519/2.44, allocations: 0.9502 MB / 0.9315 GB, free: 105 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003403/2.44, allocations: 63.42 kB / 0.9315 GB, free: 105 MB / 490.7 MB Notification: Performance of SimCode: time 9.52e-07/2.44, allocations: 0 / 0.9315 GB, free: 105 MB / 490.7 MB Notification: Performance of Templates: time 0.02874/2.469, allocations: 15.32 MB / 0.9465 GB, free: 89.68 MB / 490.7 MB