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.Inverse_sh_T.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.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") Notification: Performance of loadModel(Modelica): time 1.917/1.917, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000361/0.0003611, allocations: 12 kB / 264.6 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08758/0.08796, allocations: 44.51 MB / 309.1 MB, free: 372 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.001603/0.0896, allocations: 1.023 MB / 310.1 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01642/0.106, allocations: 10.11 MB / 320.2 MB, free: 5.188 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.449e-05/0.1061, allocations: 4 kB / 320.2 MB, free: 5.184 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.949e-05/0.1062, allocations: 0 / 320.2 MB, free: 5.184 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003607/0.1098, allocations: 0.8412 MB / 321 MB, free: 4.34 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001972/0.1118, allocations: 0.4945 MB / 321.5 MB, free: 3.844 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001044/0.1119, allocations: 43.94 kB / 321.6 MB, free: 3.801 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.737e-05/0.112, allocations: 3.984 kB / 321.6 MB, free: 3.797 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.173e-05/0.112, allocations: 27.91 kB / 321.6 MB, free: 3.77 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.241e-05/0.1121, allocations: 31.91 kB / 321.6 MB, free: 3.738 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.1122, allocations: 7.938 kB / 321.6 MB, free: 3.73 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004542/0.1167, allocations: 1.502 MB / 323.1 MB, free: 2.227 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.387e-05/0.1168, allocations: 7.984 kB / 323.2 MB, free: 2.219 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.351e-05/0.1168, allocations: 37.7 kB / 323.2 MB, free: 2.176 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002021/0.1189, allocations: 0.6668 MB / 323.9 MB, free: 1.508 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.1189, allocations: 0 / 323.9 MB, free: 1.508 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1189, allocations: 0 / 323.9 MB, free: 1.508 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.1189, allocations: 0 / 323.9 MB, free: 1.508 MB / 266.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.0008824/0.1198, allocations: 0.5339 MB / 324.4 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.1199, allocations: 8.031 kB / 324.4 MB, free: 0.918 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001451/0.12, allocations: 19.86 kB / 324.4 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.1202, allocations: 171 kB / 324.6 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/0.1202, allocations: 16 kB / 324.6 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.1203, allocations: 0 / 324.6 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000236/0.1205, allocations: 67.38 kB / 324.7 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.1205, allocations: 0 / 324.7 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.1206, allocations: 4 kB / 324.7 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.1206, allocations: 3.984 kB / 324.7 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000241/0.1208, allocations: 27.91 kB / 324.7 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002234/0.1211, allocations: 186.5 kB / 324.9 MB, free: 336 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000393/0.1215, allocations: 81.22 kB / 325 MB, free: 236 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01031/0.1318, allocations: 3.263 MB / 328.2 MB, free: 12.52 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/0.1319, allocations: 34.56 kB / 328.3 MB, free: 12.48 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 2.855e-06/0.1319, allocations: 4 kB / 328.3 MB, free: 12.48 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005861/0.1325, allocations: 89.48 kB / 328.3 MB, free: 12.38 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/0.1326, allocations: 81.11 kB / 328.4 MB, free: 12.29 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.1327, allocations: 117.8 kB / 328.5 MB, free: 12.16 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.1327, allocations: 25.7 kB / 328.6 MB, free: 12.13 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.724e-05/0.1328, allocations: 84.12 kB / 328.6 MB, free: 12.04 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.197e-05/0.1328, allocations: 23.66 kB / 328.7 MB, free: 12.02 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.161e-06/0.1329, allocations: 0 / 328.7 MB, free: 12.02 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.133, allocations: 318.8 kB / 329 MB, free: 11.7 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.1331, allocations: 15.98 kB / 329 MB, free: 11.68 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/0.1333, allocations: 33.69 kB / 329 MB, free: 11.64 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001295/0.1334, allocations: 15.98 kB / 329 MB, free: 11.63 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1334, allocations: 3.938 kB / 329.1 MB, free: 11.62 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003202/0.1338, allocations: 61.67 kB / 329.1 MB, free: 11.56 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.1338, allocations: 8 kB / 329.1 MB, free: 11.55 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1338, allocations: 0 / 329.1 MB, free: 11.55 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.1338, allocations: 4 kB / 329.1 MB, free: 11.55 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/0.134, allocations: 19.98 kB / 329.1 MB, free: 11.53 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.134, allocations: 3.938 kB / 329.1 MB, free: 11.52 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.519e-05/0.1341, allocations: 7.922 kB / 329.2 MB, free: 11.52 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.844e-05/0.1341, allocations: 4 kB / 329.2 MB, free: 11.51 MB / 282.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 9.57e-05/0.1342, allocations: 113.8 kB / 329.3 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.622e-05/0.1343, allocations: 7.906 kB / 329.3 MB, free: 11.38 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000456/0.1347, allocations: 114.1 kB / 329.4 MB, free: 11.27 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.1348, allocations: 4.094 kB / 329.4 MB, free: 11.26 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.1348, allocations: 3.984 kB / 329.4 MB, free: 11.26 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.378e-05/0.1349, allocations: 93 kB / 329.5 MB, free: 11.15 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.338e-05/0.1349, allocations: 0 / 329.5 MB, free: 11.15 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.1351, allocations: 15.98 kB / 329.5 MB, free: 11.13 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.894e-05/0.1351, allocations: 15.88 kB / 329.5 MB, free: 11.12 MB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004214/0.1356, allocations: 220.2 kB / 329.7 MB, free: 10.89 MB / 282.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004179/0.136, allocations: 326 kB / 330.1 MB, free: 10.56 MB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001406/0.1361, allocations: 23.97 kB / 330.1 MB, free: 10.54 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.81e-05/0.1362, allocations: 91.27 kB / 330.2 MB, free: 10.45 MB / 282.7 MB Notification: Performance of Backend: time 7.51e-07/0.1363, allocations: 0 / 330.2 MB, free: 10.45 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002311/0.1386, allocations: 0.6071 MB / 330.8 MB, free: 9.828 MB / 282.7 MB Notification: Performance of SimCode: time 0.0005971/0.1392, allocations: 0.6227 MB / 331.4 MB, free: 9.164 MB / 282.7 MB Notification: Performance of Templates: time 0.02247/0.1617, allocations: 9.682 MB / 341.1 MB, free: 15.46 MB / 298.7 MB "" Variables in the reference:time,Th,Ts,h2,s2 Variables in the result:T_max,T_min,Th,Ts,h2,h_max,h_min,p,s2,s_max,s_min,time