Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") Notification: Performance of loadModel(Modelica): time 1.797/1.797, allocations: 194.8 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003438/0.0003439, allocations: 11.98 kB / 263.9 MB, free: 13.59 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07631/0.07668, allocations: 44.5 MB / 308.4 MB, free: 1.023 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.368/0.4448, allocations: 121.8 MB / 430.1 MB, free: 14.23 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002476/0.4473, allocations: 1.493 MB / 431.6 MB, free: 13.02 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001602/0.4475, allocations: 6.5 kB / 431.6 MB, free: 13.02 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005544/0.448, allocations: 135.8 kB / 431.8 MB, free: 12.91 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004703/0.4485, allocations: 213 kB / 432 MB, free: 12.72 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001104/0.4496, allocations: 355.7 kB / 432.3 MB, free: 12.48 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006301/0.4503, allocations: 476.5 kB / 432.8 MB, free: 12.19 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001919/0.4505, allocations: 64.95 kB / 432.9 MB, free: 12.16 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006066/0.4511, allocations: 311.2 kB / 433.2 MB, free: 11.99 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003792/0.4515, allocations: 228.8 kB / 433.4 MB, free: 11.87 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.88e-05/0.4516, allocations: 16.06 kB / 433.4 MB, free: 11.87 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002963/0.4519, allocations: 82.02 kB / 433.5 MB, free: 11.84 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.452, allocations: 72.97 kB / 433.5 MB, free: 11.79 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.4521, allocations: 90.98 kB / 433.6 MB, free: 11.74 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005307/0.4527, allocations: 387.8 kB / 434 MB, free: 11.46 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.586e-06/0.4527, allocations: 4 kB / 434 MB, free: 11.46 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.801e-06/0.4527, allocations: 0 / 434 MB, free: 11.46 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.071e-06/0.4527, allocations: 0 / 434 MB, free: 11.46 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008269/0.4536, allocations: 0.521 MB / 434.5 MB, free: 10.98 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.4536, allocations: 11.66 kB / 434.6 MB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003401/0.454, allocations: 43.05 kB / 434.6 MB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000438/0.4544, allocations: 285.1 kB / 434.9 MB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.005e-05/0.4545, allocations: 15.97 kB / 434.9 MB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.063e-05/0.4545, allocations: 24.03 kB / 434.9 MB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006032/0.4551, allocations: 303.1 kB / 435.2 MB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.4552, allocations: 6.406 kB / 435.2 MB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.869e-05/0.4552, allocations: 10.75 kB / 435.2 MB, free: 10.44 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.084e-06/0.4553, allocations: 7.531 kB / 435.2 MB, free: 10.44 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00044/0.4557, allocations: 208.6 kB / 435.4 MB, free: 10.34 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002101/0.4578, allocations: 1.281 MB / 436.7 MB, free: 9.133 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004549/0.4583, allocations: 189.4 kB / 436.9 MB, free: 9.027 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002006/0.4585, allocations: 172.7 kB / 437.1 MB, free: 8.832 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.4586, allocations: 37.81 kB / 437.1 MB, free: 8.789 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 2.42e-06/0.4586, allocations: 0 / 437.1 MB, free: 8.789 MB / 330.7 MB Notification: Performance of matching and sorting (n=26): time 0.002951/0.4616, allocations: 1.052 MB / 438.2 MB, free: 7.988 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.993e-05/0.4616, allocations: 53.91 kB / 438.2 MB, free: 7.926 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003333/0.462, allocations: 253.9 kB / 438.5 MB, free: 7.754 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.713e-05/0.462, allocations: 29.7 kB / 438.5 MB, free: 7.719 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001661/0.4622, allocations: 240.7 kB / 438.7 MB, free: 7.492 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.603e-05/0.4623, allocations: 93.03 kB / 438.8 MB, free: 7.41 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.1e-05/0.4624, allocations: 6.812 kB / 438.8 MB, free: 7.406 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.4625, allocations: 329.7 kB / 439.1 MB, free: 7.078 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001912/0.4627, allocations: 76.75 kB / 439.2 MB, free: 7.043 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002748/0.463, allocations: 172.5 kB / 439.4 MB, free: 6.883 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002467/0.4633, allocations: 114 kB / 439.5 MB, free: 6.824 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.518e-06/0.4633, allocations: 3.953 kB / 439.5 MB, free: 6.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008299/0.4641, allocations: 425.1 kB / 439.9 MB, free: 6.531 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.4642, allocations: 11.56 kB / 439.9 MB, free: 6.527 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.218e-06/0.4642, allocations: 2.812 kB / 439.9 MB, free: 6.527 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001739/0.4644, allocations: 43.53 kB / 440 MB, free: 6.496 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003771/0.4648, allocations: 79.62 kB / 440.1 MB, free: 6.477 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002604/0.4674, allocations: 2.57 MB / 442.6 MB, free: 3.789 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003008/0.4677, allocations: 27.41 kB / 442.6 MB, free: 3.773 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.763e-05/0.4678, allocations: 17.12 kB / 442.7 MB, free: 3.77 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002231/0.468, allocations: 153.2 kB / 442.8 MB, free: 3.625 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.028e-05/0.4681, allocations: 30.91 kB / 442.8 MB, free: 3.609 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006996/0.4688, allocations: 356.3 kB / 443.2 MB, free: 3.336 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.309e-06/0.4688, allocations: 2.562 kB / 443.2 MB, free: 3.336 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.181e-06/0.4689, allocations: 3.953 kB / 443.2 MB, free: 3.332 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007674/0.4696, allocations: 0.6239 MB / 443.8 MB, free: 2.605 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001362/0.471, allocations: 0.7547 MB / 444.6 MB, free: 1.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.471, allocations: 0 / 444.6 MB, free: 1.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003591/0.4714, allocations: 55.91 kB / 444.6 MB, free: 1.715 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.432e-05/0.4715, allocations: 25.75 kB / 444.7 MB, free: 1.688 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.787e-05/0.4716, allocations: 7.984 kB / 444.7 MB, free: 1.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001219/0.4728, allocations: 1.292 MB / 446 MB, free: 264 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.618e-06/0.4728, allocations: 0 / 446 MB, free: 264 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008983/0.4737, allocations: 0.5106 MB / 446.5 MB, free: 15.71 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.4739, allocations: 105.1 kB / 446.6 MB, free: 15.59 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.434e-05/0.4739, allocations: 8 kB / 446.6 MB, free: 15.58 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003248/0.4743, allocations: 15.98 kB / 446.6 MB, free: 15.56 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.296e-05/0.4743, allocations: 15.92 kB / 446.6 MB, free: 15.55 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.301e-05/0.4744, allocations: 19.92 kB / 446.6 MB, free: 15.53 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002518/0.4747, allocations: 185.9 kB / 446.8 MB, free: 15.34 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.15e-07/0.4747, allocations: 0 / 446.8 MB, free: 15.34 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006247/0.4753, allocations: 111.9 kB / 446.9 MB, free: 15.23 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (25): * Single equations (assignments): 24 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002295/0.4756, allocations: 131.2 kB / 447 MB, free: 15.1 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008403/0.4764, allocations: 449.7 kB / 447.5 MB, free: 14.63 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.965e-06/0.4764, allocations: 8.125 kB / 447.5 MB, free: 14.62 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00037/0.4768, allocations: 218.5 kB / 447.7 MB, free: 14.4 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000995/0.4778, allocations: 148.5 kB / 447.9 MB, free: 14.25 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.4793, allocations: 0.8252 MB / 448.7 MB, free: 13.39 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004875/0.4798, allocations: 0.7762 MB / 449.5 MB, free: 12.59 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.48, allocations: 31.44 kB / 449.5 MB, free: 12.56 MB / 346.7 MB Notification: Performance of SimCode: time 1.303e-06/0.48, allocations: 0 / 449.5 MB, free: 12.56 MB / 346.7 MB Notification: Performance of Templates: time 0.01136/0.4914, allocations: 6.153 MB / 455.6 MB, free: 6.418 MB / 346.7 MB