Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir2.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) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir2") Notification: Performance of loadModel(Modelica): time 2.069/2.069, allocations: 194.9 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003792/0.0003793, allocations: 11.94 kB / 264.5 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08952/0.08992, allocations: 44.51 MB / 309.1 MB, free: 372 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.08525/0.1752, allocations: 49.77 MB / 358.8 MB, free: 14.47 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00839/0.1837, allocations: 4.091 MB / 362.9 MB, free: 10.37 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006062/0.1843, allocations: 4 kB / 362.9 MB, free: 10.36 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001198/0.1855, allocations: 278.7 kB / 363.2 MB, free: 10.09 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001057/0.1866, allocations: 355.1 kB / 363.5 MB, free: 9.742 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01945/0.2061, allocations: 4.84 MB / 368.4 MB, free: 4.891 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001814/0.2079, allocations: 0.8749 MB / 369.3 MB, free: 4.012 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003757/0.2083, allocations: 152 kB / 369.4 MB, free: 3.863 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001416/0.2097, allocations: 0.5336 MB / 369.9 MB, free: 3.328 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008291/0.2106, allocations: 390.7 kB / 370.3 MB, free: 2.945 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001482/0.2108, allocations: 36 kB / 370.4 MB, free: 2.91 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2851/0.4958, allocations: 8.38 MB / 378.7 MB, free: 13.96 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000481/0.4964, allocations: 259.8 kB / 379 MB, free: 13.96 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003186/0.4967, allocations: 170.9 kB / 379.2 MB, free: 13.93 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009868/0.5066, allocations: 3.703 MB / 382.9 MB, free: 13.77 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.5066, allocations: 0.5312 kB / 382.9 MB, free: 13.77 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.5066, allocations: 0 / 382.9 MB, free: 13.77 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.268e-05/0.5067, allocations: 3.375 kB / 382.9 MB, free: 13.77 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.005456/0.5121, allocations: 1.374 MB / 384.2 MB, free: 12.96 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.5122, allocations: 12.38 kB / 384.3 MB, free: 12.96 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006306/0.5128, allocations: 81.05 kB / 384.3 MB, free: 12.93 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009083/0.5138, allocations: 428.8 kB / 384.8 MB, free: 12.7 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.17e-05/0.5138, allocations: 47.16 kB / 384.8 MB, free: 12.7 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001668/0.514, allocations: 60.97 kB / 384.9 MB, free: 12.7 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002553/0.5166, allocations: 0.728 MB / 385.6 MB, free: 12.64 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.615e-05/0.5166, allocations: 1.906 kB / 385.6 MB, free: 12.64 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001226/0.5168, allocations: 28.33 kB / 385.6 MB, free: 12.64 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.182e-05/0.5168, allocations: 18.03 kB / 385.6 MB, free: 12.64 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002566/0.5194, allocations: 0.895 MB / 386.5 MB, free: 12.64 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0243/0.5437, allocations: 13.02 MB / 399.5 MB, free: 17.18 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002172/0.5459, allocations: 0.8725 MB / 400.4 MB, free: 16.96 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0208/0.5668, allocations: 11.12 MB / 411.5 MB, free: 5.574 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.537e-05/0.5669, allocations: 44.53 kB / 411.6 MB, free: 5.535 MB / 330.7 MB Notification: Performance of pre-optimization done (n=78): time 3.156e-06/0.5669, allocations: 0 / 411.6 MB, free: 5.535 MB / 330.7 MB Notification: Performance of matching and sorting (n=88): time 0.0145/0.5814, allocations: 3.292 MB / 414.9 MB, free: 4.52 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.5815, allocations: 61.09 kB / 414.9 MB, free: 4.457 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005395/0.582, allocations: 348.5 kB / 415.3 MB, free: 4.309 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001318/0.5822, allocations: 43.42 kB / 415.3 MB, free: 4.277 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/0.5823, allocations: 238.6 kB / 415.6 MB, free: 4.113 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002697/0.5826, allocations: 311.5 kB / 415.9 MB, free: 3.887 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.991e-05/0.5827, allocations: 18.09 kB / 415.9 MB, free: 3.887 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.5829, allocations: 361.2 kB / 416.2 MB, free: 3.559 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008337/0.5837, allocations: 350.1 kB / 416.6 MB, free: 3.512 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001228/0.5849, allocations: 457.2 kB / 417 MB, free: 3.375 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001302/0.5863, allocations: 416.6 kB / 417.4 MB, free: 3.336 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.5863, allocations: 3.656 kB / 417.4 MB, free: 3.336 MB / 330.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.003539/0.5898, allocations: 1.057 MB / 418.5 MB, free: 3.125 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.796e-05/0.5899, allocations: 7.625 kB / 418.5 MB, free: 3.125 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.5899, allocations: 0 / 418.5 MB, free: 3.125 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00118/0.5911, allocations: 171.1 kB / 418.7 MB, free: 3.059 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001425/0.5926, allocations: 187.6 kB / 418.8 MB, free: 3.031 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003554/0.5961, allocations: 3.924 MB / 422.8 MB, free: 15.26 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001063/0.5972, allocations: 61.48 kB / 422.8 MB, free: 15.24 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/0.5974, allocations: 48.23 kB / 422.9 MB, free: 15.23 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005017/0.5979, allocations: 218.5 kB / 423.1 MB, free: 15.11 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00048/0.5984, allocations: 61.22 kB / 423.1 MB, free: 15.08 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003052/0.6014, allocations: 1.097 MB / 424.2 MB, free: 14.82 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002522/0.604, allocations: 1.326 MB / 425.6 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.604, allocations: 3.531 kB / 425.6 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003031/0.6043, allocations: 144.5 kB / 425.7 MB, free: 13.94 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001814/0.6045, allocations: 27.42 kB / 425.7 MB, free: 13.94 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001087/0.6056, allocations: 50.72 kB / 425.8 MB, free: 13.92 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/0.6057, allocations: 58.48 kB / 425.8 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003369/0.6091, allocations: 1.035 MB / 426.9 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003599/0.6128, allocations: 1.432 MB / 428.3 MB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009919/0.6138, allocations: 402.7 kB / 428.7 MB, free: 13.14 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004456/0.6142, allocations: 268.9 kB / 429 MB, free: 12.95 MB / 346.7 MB Notification: Performance of Backend: time 6.11e-07/0.6143, allocations: 0 / 429 MB, free: 12.95 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01314/0.6274, allocations: 2.423 MB / 431.4 MB, free: 10.87 MB / 346.7 MB Notification: Performance of SimCode: time 0.00476/0.6322, allocations: 2.252 MB / 433.6 MB, free: 8.688 MB / 346.7 MB Notification: Performance of Templates: time 0.1177/0.7499, allocations: 50.6 MB / 484.2 MB, free: 6.258 MB / 394.7 MB