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_T.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_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") Notification: Performance of loadModel(Modelica): time 1.589/1.589, allocations: 171.2 MB / 186.7 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003427/0.000343, allocations: 8 kB / 233.9 MB, free: 2.395 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07866/0.07903, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.00168/0.08076, allocations: 1.03 MB / 273.7 MB, free: 10.5 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01739/0.09817, allocations: 10.1 MB / 283.8 MB, free: 380 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.643e-05/0.09827, allocations: 0 / 283.8 MB, free: 380 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 3.175e-05/0.09832, allocations: 7.922 kB / 283.8 MB, free: 372 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003731/0.1021, allocations: 0.8451 MB / 284.6 MB, free: 15.52 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002034/0.1041, allocations: 498.5 kB / 285.1 MB, free: 15.03 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.1042, allocations: 47.91 kB / 285.1 MB, free: 14.98 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.284e-05/0.1043, allocations: 0 / 285.1 MB, free: 14.98 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.098e-05/0.1044, allocations: 23.92 kB / 285.2 MB, free: 14.96 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.5e-05/0.1045, allocations: 35.89 kB / 285.2 MB, free: 14.92 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/0.1045, allocations: 4 kB / 285.2 MB, free: 14.92 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004593/0.1091, allocations: 1.502 MB / 286.7 MB, free: 13.41 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.795e-05/0.1092, allocations: 11.98 kB / 286.7 MB, free: 13.4 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.924e-05/0.1092, allocations: 37.64 kB / 286.8 MB, free: 13.36 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002032/0.1113, allocations: 0.663 MB / 287.4 MB, free: 12.7 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1113, allocations: 0 / 287.4 MB, free: 12.7 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1113, allocations: 0 / 287.4 MB, free: 12.7 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.1113, allocations: 0 / 287.4 MB, free: 12.7 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.0009494/0.1123, allocations: 0.5416 MB / 288 MB, free: 12.11 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.1123, allocations: 8.031 kB / 288 MB, free: 12.1 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001497/0.1125, allocations: 15.98 kB / 288 MB, free: 12.08 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/0.1127, allocations: 174.9 kB / 288.2 MB, free: 11.87 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.1127, allocations: 7.938 kB / 288.2 MB, free: 11.86 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.1128, allocations: 4 kB / 288.2 MB, free: 11.86 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002365/0.113, allocations: 63.33 kB / 288.2 MB, free: 11.79 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.113, allocations: 4 kB / 288.2 MB, free: 11.78 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.937e-05/0.1131, allocations: 8 kB / 288.2 MB, free: 11.77 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.1131, allocations: 0 / 288.2 MB, free: 11.77 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002425/0.1133, allocations: 23.97 kB / 288.3 MB, free: 11.75 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002313/0.1136, allocations: 174.5 kB / 288.4 MB, free: 11.53 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004197/0.114, allocations: 89.3 kB / 288.5 MB, free: 11.42 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01056/0.1246, allocations: 3.262 MB / 291.8 MB, free: 7.715 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.209e-05/0.1247, allocations: 42.55 kB / 291.8 MB, free: 7.664 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 5.25e-06/0.1247, allocations: 0 / 291.8 MB, free: 7.664 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005602/0.1252, allocations: 85.92 kB / 291.9 MB, free: 7.574 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.34e-05/0.1253, allocations: 81.09 kB / 292 MB, free: 7.477 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.1254, allocations: 121.7 kB / 292.1 MB, free: 7.348 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.1255, allocations: 29.7 kB / 292.1 MB, free: 7.312 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.762e-05/0.1255, allocations: 80.14 kB / 292.2 MB, free: 7.23 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.974e-05/0.1256, allocations: 23.75 kB / 292.2 MB, free: 7.207 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.572e-06/0.1256, allocations: 0 / 292.2 MB, free: 7.207 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.1258, allocations: 318.8 kB / 292.5 MB, free: 6.887 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.1259, allocations: 11.98 kB / 292.6 MB, free: 6.875 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001352/0.126, allocations: 29.7 kB / 292.6 MB, free: 6.84 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.1262, allocations: 24.02 kB / 292.6 MB, free: 6.816 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1262, allocations: 7.938 kB / 292.6 MB, free: 6.809 MB / 250.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003364/0.1265, allocations: 77.45 kB / 292.7 MB, free: 6.727 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.1266, allocations: 8 kB / 292.7 MB, free: 6.719 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.1266, allocations: 0 / 292.7 MB, free: 6.719 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.1266, allocations: 0 / 292.7 MB, free: 6.719 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.1268, allocations: 15.98 kB / 292.7 MB, free: 6.703 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.1268, allocations: 4.312 kB / 292.7 MB, free: 6.699 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.256e-05/0.1269, allocations: 0 / 292.7 MB, free: 6.699 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.873e-05/0.1269, allocations: 8 kB / 292.7 MB, free: 6.691 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 0.0001028/0.127, allocations: 105.8 kB / 292.8 MB, free: 6.578 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.795e-05/0.1271, allocations: 11.95 kB / 292.8 MB, free: 6.566 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004789/0.1275, allocations: 117.2 kB / 293 MB, free: 6.445 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.1276, allocations: 4 kB / 293 MB, free: 6.441 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1276, allocations: 4 kB / 293 MB, free: 6.438 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.778e-05/0.1277, allocations: 93.08 kB / 293.1 MB, free: 6.328 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.333e-05/0.1277, allocations: 0 / 293.1 MB, free: 6.328 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000141/0.1279, allocations: 8 kB / 293.1 MB, free: 6.32 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.842e-05/0.1279, allocations: 3.984 kB / 293.1 MB, free: 6.316 MB / 250.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004451/0.1284, allocations: 240.1 kB / 293.3 MB, free: 6.074 MB / 250.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004329/0.1288, allocations: 325.9 kB / 293.6 MB, free: 5.738 MB / 250.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001416/0.129, allocations: 24.2 kB / 293.6 MB, free: 5.715 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.551e-05/0.1291, allocations: 91.27 kB / 293.7 MB, free: 5.625 MB / 250.7 MB Notification: Performance of Backend: time 6.31e-07/0.1291, allocations: 0 / 293.7 MB, free: 5.625 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.002364/0.1315, allocations: 0.6159 MB / 294.4 MB, free: 5.004 MB / 250.7 MB Notification: Performance of SimCode: time 0.0006379/0.1321, allocations: 0.6188 MB / 295 MB, free: 4.332 MB / 250.7 MB Notification: Performance of Templates: time 0.2244/0.3566, allocations: 9.673 MB / 304.6 MB, free: 30.09 MB / 250.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