Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2.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.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2") Notification: Performance of loadModel(Modelica): time 1.578/1.578, allocations: 171.1 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005357/0.0005358, allocations: 8 kB / 233.9 MB, free: 308 kB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09617/0.09673, allocations: 38.78 MB / 272.6 MB, free: 9.441 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.2678/0.3646, allocations: 22.16 MB / 294.8 MB, free: 5.043 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.008685/0.3733, allocations: 5.285 MB / 300.1 MB, free: 1.285 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006818/0.374, allocations: 12.06 kB / 300.1 MB, free: 1.277 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001097/0.3751, allocations: 251.7 kB / 300.3 MB, free: 1.137 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001047/0.3762, allocations: 313.8 kB / 300.6 MB, free: 0.918 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005459/0.3817, allocations: 1.349 MB / 302 MB, free: 188 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.00162/0.3833, allocations: 0.7332 MB / 302.7 MB, free: 15.8 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003174/0.3837, allocations: 116 kB / 302.8 MB, free: 15.74 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008467/0.3845, allocations: 348.2 kB / 303.2 MB, free: 15.61 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004739/0.385, allocations: 252 kB / 303.4 MB, free: 15.5 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.903e-05/0.3851, allocations: 21.28 kB / 303.4 MB, free: 15.5 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002394/0.3875, allocations: 0.7548 MB / 304.2 MB, free: 15.21 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002061/0.3878, allocations: 99.34 kB / 304.3 MB, free: 15.14 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002673/0.388, allocations: 124.8 kB / 304.4 MB, free: 15.07 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001651/0.3897, allocations: 0.7763 MB / 305.2 MB, free: 14.55 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3897, allocations: 5.031 kB / 305.2 MB, free: 14.54 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.3897, allocations: 4 kB / 305.2 MB, free: 14.54 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.256e-06/0.3898, allocations: 0 / 305.2 MB, free: 14.54 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001443/0.3912, allocations: 0.6765 MB / 305.9 MB, free: 13.96 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.3913, allocations: 8.5 kB / 305.9 MB, free: 13.96 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007879/0.3921, allocations: 73.62 kB / 306 MB, free: 13.93 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006193/0.3927, allocations: 339 kB / 306.3 MB, free: 13.61 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.902e-05/0.3928, allocations: 33.5 kB / 306.3 MB, free: 13.59 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.324e-05/0.3929, allocations: 40.66 kB / 306.4 MB, free: 13.57 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/0.3939, allocations: 460.5 kB / 306.8 MB, free: 13.24 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.727e-05/0.3939, allocations: 5.344 kB / 306.8 MB, free: 13.23 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.433e-05/0.394, allocations: 17.25 kB / 306.8 MB, free: 13.22 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.807e-05/0.394, allocations: 10.84 kB / 306.8 MB, free: 13.22 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007597/0.3948, allocations: 307.1 kB / 307.1 MB, free: 13.07 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02206/0.4169, allocations: 6.735 MB / 313.9 MB, free: 7.5 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000656/0.4176, allocations: 260.5 kB / 314.1 MB, free: 7.363 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01817/0.4358, allocations: 3.886 MB / 318 MB, free: 4.422 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.517e-05/0.4359, allocations: 38.5 kB / 318.1 MB, free: 4.375 MB / 250.7 MB Notification: Performance of pre-optimization done (n=35): time 3.045e-06/0.4359, allocations: 0 / 318.1 MB, free: 4.375 MB / 250.7 MB Notification: Performance of matching and sorting (n=45): time 0.01861/0.4545, allocations: 2.48 MB / 320.5 MB, free: 1.824 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.597e-05/0.4546, allocations: 55.41 kB / 320.6 MB, free: 1.758 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004758/0.4551, allocations: 303.2 kB / 320.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 7.82e-05/0.4552, allocations: 37.7 kB / 320.9 MB, free: 1.414 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001912/0.4554, allocations: 224.1 kB / 321.1 MB, free: 1.191 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001692/0.4555, allocations: 157.6 kB / 321.3 MB, free: 1.035 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.765e-05/0.4556, allocations: 16 kB / 321.3 MB, free: 1.02 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.4558, allocations: 342.8 kB / 321.6 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004239/0.4562, allocations: 153.1 kB / 321.8 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005233/0.4567, allocations: 279.7 kB / 322.1 MB, free: 208 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005223/0.4573, allocations: 196.7 kB / 322.3 MB, free: 12 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.4573, allocations: 0 / 322.3 MB, free: 12 kB / 250.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001765/0.4591, allocations: 0.5916 MB / 322.9 MB, free: 15.39 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.596e-05/0.4591, allocations: 12.58 kB / 322.9 MB, free: 15.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.4591, allocations: 4 kB / 322.9 MB, free: 15.38 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01183/0.471, allocations: 0.7677 MB / 323.6 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008076/0.4718, allocations: 111.8 kB / 323.7 MB, free: 14.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002636/0.4745, allocations: 2.475 MB / 326.2 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006572/0.4752, allocations: 40.02 kB / 326.3 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.699e-05/0.4752, allocations: 23.98 kB / 326.3 MB, free: 11.77 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (61): * Single equations (assignments): 58 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 1,2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003217/0.4756, allocations: 177.7 kB / 326.5 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.4757, allocations: 35.62 kB / 326.5 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001879/0.4776, allocations: 0.8512 MB / 327.3 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001532/0.4791, allocations: 0.9613 MB / 328.3 MB, free: 9.645 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.543e-06/0.4792, allocations: 0 / 328.3 MB, free: 9.645 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002034/0.4794, allocations: 120.5 kB / 328.4 MB, free: 9.508 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/0.4795, allocations: 12 kB / 328.4 MB, free: 9.496 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004865/0.48, allocations: 35.77 kB / 328.5 MB, free: 9.461 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.286e-05/0.4801, allocations: 28.39 kB / 328.5 MB, free: 9.434 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002359/0.4825, allocations: 0.8432 MB / 329.3 MB, free: 8.578 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002131/0.4846, allocations: 1.18 MB / 330.5 MB, free: 7.379 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000606/0.4852, allocations: 323.6 kB / 330.8 MB, free: 7.066 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003169/0.4856, allocations: 205.9 kB / 331 MB, free: 6.867 MB / 266.7 MB Notification: Performance of Backend: time 7.61e-07/0.4856, allocations: 0 / 331 MB, free: 6.867 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0026/0.4882, allocations: 0.7025 MB / 331.7 MB, free: 6.145 MB / 266.7 MB Notification: Performance of SimCode: time 0.003409/0.4916, allocations: 1.766 MB / 333.5 MB, free: 4.336 MB / 266.7 MB Notification: Performance of Templates: time 0.02972/0.5214, allocations: 11.51 MB / 345 MB, free: 8.832 MB / 282.7 MB