Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.00108, allocations: 89.98 kB / 16.31 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 187 kB / 17.21 MB, free: 5.902 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 223.2 MB / 241.2 MB, free: 5.355 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002817/0.0002818, allocations: 5.75 kB / 300.8 MB, free: 6.078 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1027, allocations: 50.42 MB / 351.2 MB, free: 11.66 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.001552/0.1043, allocations: 1.058 MB / 352.3 MB, free: 10.6 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01306/0.1174, allocations: 11.12 MB / 363.4 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.769e-05/0.1175, allocations: 0 / 363.4 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.459e-05/0.1176, allocations: 0 / 363.4 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002798/0.1204, allocations: 0.805 MB / 364.2 MB, free: 14.62 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001459/0.1219, allocations: 473.7 kB / 364.7 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.046e-05/0.122, allocations: 55.66 kB / 364.7 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.957e-05/0.122, allocations: 4 kB / 364.7 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.931e-05/0.1221, allocations: 27.92 kB / 364.8 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.752e-05/0.1221, allocations: 35.89 kB / 364.8 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.1222, allocations: 4 kB / 364.8 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003357/0.1255, allocations: 1.374 MB / 366.2 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.906e-05/0.1256, allocations: 11.94 kB / 366.2 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.274e-05/0.1256, allocations: 29.7 kB / 366.2 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001473/0.1271, allocations: 0.6824 MB / 366.9 MB, free: 11.93 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1271, allocations: 4 kB / 366.9 MB, free: 11.92 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1271, allocations: 0 / 366.9 MB, free: 11.92 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.1271, allocations: 0 / 366.9 MB, free: 11.92 MB / 302.1 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.0009865/0.1281, allocations: 0.5378 MB / 367.4 MB, free: 11.34 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.1282, allocations: 8.031 kB / 367.4 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001452/0.1283, allocations: 7.984 kB / 367.5 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/0.1285, allocations: 182.9 kB / 367.6 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.464e-05/0.1286, allocations: 0 / 367.6 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.729e-05/0.1286, allocations: 8 kB / 367.6 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.1288, allocations: 67.33 kB / 367.7 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.1288, allocations: 0 / 367.7 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.1288, allocations: 3.953 kB / 367.7 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.1288, allocations: 0 / 367.7 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.1289, allocations: 27.97 kB / 367.7 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002076/0.1291, allocations: 174.5 kB / 367.9 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002841/0.1294, allocations: 85.19 kB / 368 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.348e-05/0.1295, allocations: 29.7 kB / 368 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006166/0.1357, allocations: 3.29 MB / 371.3 MB, free: 6.891 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.088e-05/0.1358, allocations: 34.5 kB / 371.3 MB, free: 6.848 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 2.014e-06/0.1358, allocations: 4 kB / 371.3 MB, free: 6.844 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003188/0.1361, allocations: 77.61 kB / 371.4 MB, free: 6.762 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/0.1362, allocations: 85.05 kB / 371.5 MB, free: 6.66 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.1363, allocations: 121.8 kB / 371.6 MB, free: 6.531 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.1363, allocations: 25.7 kB / 371.7 MB, free: 6.5 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.652e-05/0.1363, allocations: 84.14 kB / 371.7 MB, free: 6.414 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.806e-05/0.1364, allocations: 23.64 kB / 371.8 MB, free: 6.391 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.501e-06/0.1364, allocations: 7.938 kB / 371.8 MB, free: 6.383 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.1365, allocations: 310.8 kB / 372.1 MB, free: 6.07 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.222e-05/0.1366, allocations: 15.98 kB / 372.1 MB, free: 6.055 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.294e-05/0.1366, allocations: 25.7 kB / 372.1 MB, free: 6.023 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.548e-05/0.1367, allocations: 12 kB / 372.1 MB, free: 6.012 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1367, allocations: 0 / 372.1 MB, free: 6.012 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001683/0.1369, allocations: 69.61 kB / 372.2 MB, free: 5.938 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.1369, allocations: 8 kB / 372.2 MB, free: 5.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1369, allocations: 0 / 372.2 MB, free: 5.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.1369, allocations: 0 / 372.2 MB, free: 5.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.831e-05/0.137, allocations: 11.98 kB / 372.2 MB, free: 5.918 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.137, allocations: 3.953 kB / 372.2 MB, free: 5.914 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.397e-05/0.1371, allocations: 11.91 kB / 372.2 MB, free: 5.902 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.1371, allocations: 0 / 372.2 MB, free: 5.902 MB / 302.1 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.766e-05/0.1372, allocations: 113.8 kB / 372.3 MB, free: 5.781 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.865e-05/0.1372, allocations: 7.938 kB / 372.3 MB, free: 5.773 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000292/0.1375, allocations: 105.8 kB / 372.4 MB, free: 5.668 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.1376, allocations: 4.094 kB / 372.4 MB, free: 5.664 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/0.1376, allocations: 3.984 kB / 372.5 MB, free: 5.66 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.1376, allocations: 3.953 kB / 372.5 MB, free: 5.656 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001283/0.1377, allocations: 161.7 kB / 372.6 MB, free: 5.449 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.1377, allocations: 7.984 kB / 372.6 MB, free: 5.441 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.633e-05/0.1378, allocations: 11.94 kB / 372.6 MB, free: 5.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.1378, allocations: 0 / 372.6 MB, free: 5.43 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.1378, allocations: 0 / 372.6 MB, free: 5.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.1378, allocations: 4 kB / 372.6 MB, free: 5.426 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.1378, allocations: 0 / 372.6 MB, free: 5.426 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001841/0.138, allocations: 105.9 kB / 372.7 MB, free: 5.301 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.447e-05/0.1381, allocations: 96.94 kB / 372.8 MB, free: 5.188 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.124e-05/0.1381, allocations: 7.984 kB / 372.8 MB, free: 5.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.139e-05/0.1382, allocations: 0 / 372.8 MB, free: 5.18 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.526e-05/0.1383, allocations: 11.98 kB / 372.9 MB, free: 5.168 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.1383, allocations: 8.188 kB / 372.9 MB, free: 5.16 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.877e-05/0.1384, allocations: 91.27 kB / 373 MB, free: 5.07 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1384, allocations: 0 / 373 MB, free: 5.07 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008579/0.1392, allocations: 323.6 kB / 373.3 MB, free: 4.754 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 0.001348/0.1406, allocations: 0.5675 MB / 373.8 MB, free: 4.18 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001673/0.1408, allocations: 35.98 kB / 373.9 MB, free: 4.145 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1408, allocations: 0 / 373.9 MB, free: 4.145 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.174e-05/0.1408, allocations: 19.92 kB / 373.9 MB, free: 4.125 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/0.1411, allocations: 12 kB / 373.9 MB, free: 4.113 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004379/0.1415, allocations: 185.4 kB / 374.1 MB, free: 3.898 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002374/0.1418, allocations: 0.6887 MB / 374.8 MB, free: 3.184 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001245/0.1419, allocations: 48.06 kB / 374.8 MB, free: 3.137 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.366e-05/0.1419, allocations: 15.42 kB / 374.8 MB, free: 3.121 MB / 302.1 MB Notification: Performance of SimCode: time 4.4e-07/0.1419, allocations: 4 kB / 374.8 MB, free: 3.117 MB / 302.1 MB Notification: Performance of Templates: time 0.01393/0.1559, allocations: 8.785 MB / 383.6 MB, free: 10.32 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches