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.MoistAir1.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.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1") Notification: Performance of loadModel(Modelica): time 1.891/1.891, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003539/0.000354, allocations: 12 kB / 264.6 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09117/0.09155, allocations: 44.51 MB / 309.1 MB, free: 376 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.06689/0.1585, allocations: 39.11 MB / 348.2 MB, free: 9.16 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007511/0.166, allocations: 3.81 MB / 352 MB, free: 5.344 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003759/0.1665, allocations: 7.938 kB / 352 MB, free: 5.336 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008937/0.1674, allocations: 195.1 kB / 352.2 MB, free: 5.145 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007172/0.1681, allocations: 255.3 kB / 352.4 MB, free: 4.895 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01917/0.1873, allocations: 4.652 MB / 357.1 MB, free: 236 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001272/0.1886, allocations: 0.6248 MB / 357.7 MB, free: 15.6 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000275/0.1889, allocations: 101.6 kB / 357.8 MB, free: 15.5 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01481/0.2037, allocations: 5.957 MB / 363.8 MB, free: 9.539 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005774/0.2043, allocations: 271.1 kB / 364 MB, free: 9.273 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001108/0.2045, allocations: 28 kB / 364.1 MB, free: 9.246 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02271/0.2272, allocations: 8.283 MB / 372.3 MB, free: 0.9531 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003801/0.2276, allocations: 183.6 kB / 372.5 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002516/0.2279, allocations: 129.5 kB / 372.6 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2663/0.4942, allocations: 3.425 MB / 376.1 MB, free: 21.8 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.4942, allocations: 0 / 376.1 MB, free: 21.8 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.4942, allocations: 1.75 kB / 376.1 MB, free: 21.8 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.4943, allocations: 1.062 kB / 376.1 MB, free: 21.8 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.005882/0.5001, allocations: 1.209 MB / 377.3 MB, free: 21.05 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.5002, allocations: 10.59 kB / 377.3 MB, free: 21.05 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004667/0.5007, allocations: 59.66 kB / 377.3 MB, free: 21.03 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007161/0.5014, allocations: 351 kB / 377.7 MB, free: 20.81 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.615e-05/0.5015, allocations: 33.86 kB / 377.7 MB, free: 20.81 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/0.5016, allocations: 43 kB / 377.8 MB, free: 20.81 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002171/0.5038, allocations: 0.5248 MB / 378.3 MB, free: 20.77 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.723e-05/0.5039, allocations: 3.906 kB / 378.3 MB, free: 20.77 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001329/0.504, allocations: 19.75 kB / 378.3 MB, free: 20.77 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.377e-05/0.5041, allocations: 13.52 kB / 378.3 MB, free: 20.77 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002756/0.5068, allocations: 0.6454 MB / 379 MB, free: 20.77 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02247/0.5293, allocations: 12.23 MB / 391.2 MB, free: 9.723 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001643/0.531, allocations: 0.643 MB / 391.8 MB, free: 9.508 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01975/0.5508, allocations: 10.76 MB / 402.6 MB, free: 14.91 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.26e-05/0.5509, allocations: 42.16 kB / 402.7 MB, free: 14.87 MB / 330.7 MB Notification: Performance of pre-optimization done (n=50): time 3.146e-06/0.5509, allocations: 3.562 kB / 402.7 MB, free: 14.87 MB / 330.7 MB Notification: Performance of matching and sorting (n=55): time 0.0082/0.5591, allocations: 2.048 MB / 404.7 MB, free: 14.27 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.5592, allocations: 58.38 kB / 404.8 MB, free: 14.21 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004747/0.5597, allocations: 323.5 kB / 405.1 MB, free: 14.1 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.08e-05/0.5598, allocations: 33.95 kB / 405.1 MB, free: 14.07 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/0.5599, allocations: 203 kB / 405.3 MB, free: 13.94 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001568/0.5601, allocations: 190.3 kB / 405.5 MB, free: 13.82 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.81e-05/0.5601, allocations: 11.12 kB / 405.5 MB, free: 13.82 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.5603, allocations: 345.7 kB / 405.8 MB, free: 13.51 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005474/0.5609, allocations: 222 kB / 406.1 MB, free: 13.5 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008345/0.5617, allocations: 317.8 kB / 406.4 MB, free: 13.42 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008989/0.5626, allocations: 270.7 kB / 406.6 MB, free: 13.41 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.5626, allocations: 2 kB / 406.6 MB, free: 13.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002482/0.5651, allocations: 0.7042 MB / 407.3 MB, free: 13.32 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.5652, allocations: 8.969 kB / 407.3 MB, free: 13.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.5652, allocations: 6.797 kB / 407.4 MB, free: 13.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007057/0.5659, allocations: 107.4 kB / 407.5 MB, free: 13.29 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009372/0.5669, allocations: 120.8 kB / 407.6 MB, free: 13.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003067/0.5699, allocations: 3.285 MB / 410.9 MB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007791/0.5708, allocations: 43.58 kB / 410.9 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.771e-05/0.5708, allocations: 27.03 kB / 410.9 MB, free: 10.18 MB / 330.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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {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.0004061/0.5713, allocations: 191.3 kB / 411.1 MB, free: 10.06 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003731/0.5716, allocations: 42.62 kB / 411.2 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001962/0.5736, allocations: 0.6967 MB / 411.9 MB, free: 9.953 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001572/0.5752, allocations: 0.7811 MB / 412.6 MB, free: 9.582 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.5752, allocations: 6.734 kB / 412.6 MB, free: 9.582 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002364/0.5755, allocations: 118.7 kB / 412.8 MB, free: 9.469 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001301/0.5756, allocations: 18.11 kB / 412.8 MB, free: 9.465 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008023/0.5764, allocations: 35.69 kB / 412.8 MB, free: 9.461 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.485e-05/0.5765, allocations: 37.95 kB / 412.9 MB, free: 9.457 MB / 330.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002064/0.5786, allocations: 0.6699 MB / 413.5 MB, free: 9.316 MB / 330.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002334/0.581, allocations: 0.9533 MB / 414.5 MB, free: 9.078 MB / 330.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006226/0.5816, allocations: 249.8 kB / 414.7 MB, free: 9.07 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003811/0.582, allocations: 234.1 kB / 414.9 MB, free: 8.992 MB / 330.7 MB Notification: Performance of Backend: time 9.71e-07/0.582, allocations: 0 / 414.9 MB, free: 8.992 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.01343/0.5954, allocations: 2.177 MB / 417.1 MB, free: 8.473 MB / 330.7 MB Notification: Performance of SimCode: time 0.003143/0.5986, allocations: 1.719 MB / 418.8 MB, free: 7.355 MB / 330.7 MB Notification: Performance of Templates: time 0.1021/0.7008, allocations: 46.72 MB / 465.6 MB, free: 13.62 MB / 378.7 MB