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.Inverse_sh_TX.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.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") Notification: Performance of loadModel(Modelica): time 1.599/1.599, allocations: 171.1 MB / 186.7 MB, free: 1.145 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003578/0.0003579, allocations: 8 kB / 233.9 MB, free: 2.402 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07629/0.07667, allocations: 38.77 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.001657/0.07838, allocations: 1.042 MB / 273.7 MB, free: 10.5 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0375/0.1159, allocations: 20.41 MB / 294.1 MB, free: 6.039 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.199e-05/0.116, allocations: 4 kB / 294.1 MB, free: 6.035 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001313/0.1162, allocations: 7.984 kB / 294.1 MB, free: 6.027 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0167/0.1329, allocations: 4.192 MB / 298.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007912/0.1337, allocations: 219.4 kB / 298.5 MB, free: 1.609 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.1338, allocations: 47.91 kB / 298.5 MB, free: 1.562 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.761e-05/0.1339, allocations: 0 / 298.5 MB, free: 1.562 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.208e-05/0.134, allocations: 31.91 kB / 298.6 MB, free: 1.531 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.165e-05/0.1341, allocations: 35.84 kB / 298.6 MB, free: 1.496 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.057e-05/0.1341, allocations: 8 kB / 298.6 MB, free: 1.488 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2364/0.3705, allocations: 7.742 MB / 306.4 MB, free: 11.14 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.003e-05/0.3706, allocations: 15.66 kB / 306.4 MB, free: 11.14 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.758e-05/0.3707, allocations: 36.98 kB / 306.4 MB, free: 11.11 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008876/0.3795, allocations: 2.749 MB / 309.2 MB, free: 11 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.3796, allocations: 0 / 309.2 MB, free: 11 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.396e-06/0.3796, allocations: 1.344 kB / 309.2 MB, free: 11 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.3796, allocations: 0 / 309.2 MB, free: 11 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.003638/0.3833, allocations: 0.8949 MB / 310.1 MB, free: 10.37 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.3833, allocations: 8.562 kB / 310.1 MB, free: 10.37 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.733e-05/0.3834, allocations: 8.578 kB / 310.1 MB, free: 10.36 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001648/0.3836, allocations: 198 kB / 310.3 MB, free: 10.16 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.3836, allocations: 8.203 kB / 310.3 MB, free: 10.16 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/0.3836, allocations: 1.562 kB / 310.3 MB, free: 10.16 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002425/0.3839, allocations: 74.38 kB / 310.3 MB, free: 10.11 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.3839, allocations: 2.297 kB / 310.4 MB, free: 10.11 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.3839, allocations: 1.625 kB / 310.4 MB, free: 10.11 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.3839, allocations: 0 / 310.4 MB, free: 10.11 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002748/0.3842, allocations: 43.23 kB / 310.4 MB, free: 10.11 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002099/0.3845, allocations: 193.8 kB / 310.6 MB, free: 9.902 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004185/0.3849, allocations: 99.06 kB / 310.7 MB, free: 9.855 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.787e-05/0.385, allocations: 14.45 kB / 310.7 MB, free: 9.852 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.385, allocations: 38.3 kB / 310.7 MB, free: 9.812 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 2.174e-06/0.385, allocations: 0 / 310.7 MB, free: 9.812 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005225/0.3855, allocations: 105.9 kB / 310.8 MB, free: 9.781 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.515e-05/0.3856, allocations: 78.33 kB / 310.9 MB, free: 9.688 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.3857, allocations: 139.5 kB / 311 MB, free: 9.586 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.3858, allocations: 33.17 kB / 311.1 MB, free: 9.555 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.008e-05/0.3858, allocations: 85.47 kB / 311.2 MB, free: 9.473 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.3858, allocations: 21.44 kB / 311.2 MB, free: 9.461 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-06/0.3859, allocations: 0 / 311.2 MB, free: 9.461 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 5.566e-05/0.3859, allocations: 318.6 kB / 311.5 MB, free: 9.148 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.3861, allocations: 19.12 kB / 311.5 MB, free: 9.148 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.3862, allocations: 36.05 kB / 311.6 MB, free: 9.129 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.3864, allocations: 23.88 kB / 311.6 MB, free: 9.129 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.3864, allocations: 6.359 kB / 311.6 MB, free: 9.125 MB / 250.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000351/0.3867, allocations: 85.03 kB / 311.7 MB, free: 9.094 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.3868, allocations: 5.5 kB / 311.7 MB, free: 9.094 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.3868, allocations: 0 / 311.7 MB, free: 9.094 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.3868, allocations: 1.25 kB / 311.7 MB, free: 9.094 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.3869, allocations: 13.39 kB / 311.7 MB, free: 9.094 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.387, allocations: 5.156 kB / 311.7 MB, free: 9.09 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.048e-05/0.3871, allocations: 20.12 kB / 311.7 MB, free: 9.082 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.3871, allocations: 2.5 kB / 311.7 MB, free: 9.082 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (6): * Single equations (assignments): 6 * 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 7.199e-05/0.3872, allocations: 113.2 kB / 311.8 MB, free: 8.969 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.333e-05/0.3872, allocations: 6.297 kB / 311.8 MB, free: 8.965 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000411/0.3876, allocations: 110 kB / 311.9 MB, free: 8.93 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.3876, allocations: 9.219 kB / 311.9 MB, free: 8.926 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.3877, allocations: 0 / 311.9 MB, free: 8.926 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.075e-05/0.3877, allocations: 88.02 kB / 312 MB, free: 8.832 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/0.3878, allocations: 4.594 kB / 312 MB, free: 8.832 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001406/0.3879, allocations: 3.531 kB / 312 MB, free: 8.832 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.349e-05/0.388, allocations: 6.156 kB / 312 MB, free: 8.832 MB / 250.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004341/0.3884, allocations: 249.5 kB / 312.3 MB, free: 8.648 MB / 250.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003759/0.3888, allocations: 335.2 kB / 312.6 MB, free: 8.363 MB / 250.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001454/0.389, allocations: 27.3 kB / 312.6 MB, free: 8.363 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.468e-05/0.3891, allocations: 108.7 kB / 312.7 MB, free: 8.289 MB / 250.7 MB Notification: Performance of Backend: time 7.41e-07/0.3891, allocations: 6.594 kB / 312.8 MB, free: 8.289 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.01048/0.3996, allocations: 1.554 MB / 314.3 MB, free: 8.008 MB / 250.7 MB Notification: Performance of SimCode: time 0.0005917/0.4002, allocations: 0.6419 MB / 314.9 MB, free: 7.387 MB / 250.7 MB Notification: Performance of Templates: time 0.07759/0.4778, allocations: 36.91 MB / 351.9 MB, free: 6.508 MB / 282.7 MB "" Variables in the reference:time,Th,Ts,h2,s2 Variables in the result:T_max,T_min,Th,Ts,X[1],X[2],h2,h_max,h_min,p,s2,s_max,s_min,time