Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.IdealGasH2O.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.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.IdealGasH2O") Notification: Performance of loadModel(Modelica): time 1.952/1.952, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003384/0.0003384, allocations: 8 kB / 264.5 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08816/0.08852, allocations: 44.5 MB / 309 MB, free: 388 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.4424/0.5309, allocations: 125.4 MB / 434.4 MB, free: 11.57 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003445/0.5344, allocations: 2.126 MB / 436.6 MB, free: 9.891 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.222e-05/0.5345, allocations: 0 / 436.6 MB, free: 9.891 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001423/0.5347, allocations: 18.33 kB / 436.6 MB, free: 9.875 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001077/0.5358, allocations: 273.7 kB / 436.9 MB, free: 9.66 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002279/0.536, allocations: 55.05 kB / 436.9 MB, free: 9.621 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.5361, allocations: 51.03 kB / 437 MB, free: 9.594 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.985e-05/0.5362, allocations: 6.453 kB / 437 MB, free: 9.59 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001611/0.5364, allocations: 46.28 kB / 437 MB, free: 9.562 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.959e-05/0.5364, allocations: 29.08 kB / 437 MB, free: 9.547 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.153e-05/0.5365, allocations: 1.938 kB / 437 MB, free: 9.547 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001016/0.5375, allocations: 379.9 kB / 437.4 MB, free: 9.398 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.984e-05/0.5375, allocations: 15.48 kB / 437.4 MB, free: 9.387 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.572e-05/0.5376, allocations: 30.08 kB / 437.5 MB, free: 9.355 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004795/0.5381, allocations: 210.4 kB / 437.7 MB, free: 9.25 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.5381, allocations: 0 / 437.7 MB, free: 9.25 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5381, allocations: 0 / 437.7 MB, free: 9.25 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.5381, allocations: 2.469 kB / 437.7 MB, free: 9.25 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001099/0.5392, allocations: 427.1 kB / 438.1 MB, free: 8.828 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.5393, allocations: 7.312 kB / 438.1 MB, free: 8.828 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01029/0.5496, allocations: 453.6 kB / 438.5 MB, free: 8.613 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.5497, allocations: 169.5 kB / 438.7 MB, free: 8.41 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.5497, allocations: 6.5 kB / 438.7 MB, free: 8.406 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.926e-05/0.5498, allocations: 9.312 kB / 438.7 MB, free: 8.402 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001223/0.5511, allocations: 301.9 kB / 439 MB, free: 8.195 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.5511, allocations: 0 / 439 MB, free: 8.195 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.666e-05/0.5512, allocations: 0 / 439 MB, free: 8.195 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.5512, allocations: 2.781 kB / 439 MB, free: 8.195 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001401/0.5526, allocations: 281 kB / 439.3 MB, free: 8.055 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001385/0.554, allocations: 417.6 kB / 439.7 MB, free: 7.66 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001641/0.5557, allocations: 209.6 kB / 439.9 MB, free: 7.543 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.708e-05/0.5557, allocations: 2.625 kB / 439.9 MB, free: 7.543 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.5557, allocations: 30.56 kB / 439.9 MB, free: 7.504 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.834e-06/0.5557, allocations: 0 / 439.9 MB, free: 7.504 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.002835/0.5586, allocations: 425.6 kB / 440.3 MB, free: 7.273 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.5586, allocations: 53.94 kB / 440.4 MB, free: 7.211 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.355e-05/0.5587, allocations: 102.7 kB / 440.5 MB, free: 7.105 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.314e-05/0.5588, allocations: 29.7 kB / 440.5 MB, free: 7.07 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.99e-05/0.5588, allocations: 98.52 kB / 440.6 MB, free: 6.973 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.555e-05/0.5589, allocations: 58.61 kB / 440.7 MB, free: 6.922 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.898e-05/0.559, allocations: 4 kB / 440.7 MB, free: 6.918 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.5591, allocations: 317.8 kB / 441 MB, free: 6.602 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004554/0.5596, allocations: 78.91 kB / 441.1 MB, free: 6.562 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004904/0.5601, allocations: 113 kB / 441.2 MB, free: 6.48 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004771/0.5606, allocations: 89.02 kB / 441.3 MB, free: 6.434 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.5606, allocations: 10.77 kB / 441.3 MB, free: 6.426 MB / 330.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00109/0.5617, allocations: 238.6 kB / 441.5 MB, free: 6.297 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.5617, allocations: 4.031 kB / 441.5 MB, free: 6.293 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.5617, allocations: 4 kB / 441.5 MB, free: 6.289 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.5617, allocations: 4.125 kB / 441.5 MB, free: 6.285 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006465/0.5624, allocations: 52.64 kB / 441.6 MB, free: 6.234 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/0.5624, allocations: 4 kB / 441.6 MB, free: 6.23 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004344/0.5629, allocations: 15.98 kB / 441.6 MB, free: 6.215 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.887e-05/0.5629, allocations: 15.92 kB / 441.6 MB, free: 6.199 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (21): * Single equations (assignments): 21 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001349/0.5631, allocations: 117.8 kB / 441.7 MB, free: 6.074 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.964e-05/0.5631, allocations: 11.86 kB / 441.7 MB, free: 6.062 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001391/0.5646, allocations: 279.8 kB / 442 MB, free: 5.785 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.5646, allocations: 3.984 kB / 442 MB, free: 5.781 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.5646, allocations: 4 kB / 442 MB, free: 5.777 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.756e-05/0.5646, allocations: 81.02 kB / 442.1 MB, free: 5.68 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.063e-05/0.5647, allocations: 7.938 kB / 442.1 MB, free: 5.672 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004496/0.5652, allocations: 11.98 kB / 442.1 MB, free: 5.66 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.909e-05/0.5652, allocations: 11.98 kB / 442.1 MB, free: 5.648 MB / 330.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001506/0.5668, allocations: 330 kB / 442.4 MB, free: 5.32 MB / 330.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001145/0.5679, allocations: 402.2 kB / 442.8 MB, free: 4.914 MB / 330.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00049/0.5684, allocations: 91.92 kB / 442.9 MB, free: 4.824 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.38e-05/0.5685, allocations: 83.28 kB / 443 MB, free: 4.742 MB / 330.7 MB Notification: Performance of Backend: time 5.91e-07/0.5685, allocations: 0 / 443 MB, free: 4.742 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00136/0.5699, allocations: 323.1 kB / 443.3 MB, free: 4.418 MB / 330.7 MB Notification: Performance of SimCode: time 0.0006776/0.5706, allocations: 0.6762 MB / 444 MB, free: 3.695 MB / 330.7 MB Notification: Performance of Templates: time 0.01272/0.5833, allocations: 4.895 MB / 448.9 MB, free: 14.8 MB / 346.7 MB "" Variables in the reference:time,smoothState.p,der_p,der_T Variables in the result:der_T,der_p,smoothState.p,time