Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001354/0.001354, allocations: 104.3 kB / 17.16 MB, free: 6.316 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.001525/0.001525, allocations: 190 kB / 18.07 MB, free: 5.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.308/1.308, allocations: 205.1 MB / 223.9 MB, free: 12.48 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 47.94 kB / 280 MB, free: 3.59 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07466/0.07603, allocations: 46.62 MB / 326.6 MB, free: 4.91 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002237/0.07831, allocations: 1.416 MB / 328 MB, free: 3.477 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0119/0.09023, allocations: 12.37 MB / 340.4 MB, free: 7.055 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.33e-05/0.09031, allocations: 7.938 kB / 340.4 MB, free: 7.047 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3e-05/0.0904, allocations: 3.984 kB / 340.4 MB, free: 7.043 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002665/0.09307, allocations: 0.8559 MB / 341.2 MB, free: 6.184 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00141/0.09449, allocations: 0.5249 MB / 341.8 MB, free: 5.656 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.092e-05/0.0946, allocations: 75.64 kB / 341.8 MB, free: 5.582 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.33e-05/0.09465, allocations: 4 kB / 341.8 MB, free: 5.578 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.502e-05/0.0947, allocations: 19.98 kB / 341.9 MB, free: 5.559 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.986e-05/0.0948, allocations: 39.83 kB / 341.9 MB, free: 5.52 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.09482, allocations: 4 kB / 341.9 MB, free: 5.516 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002596/0.09742, allocations: 1.557 MB / 343.5 MB, free: 3.957 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.672e-05/0.09745, allocations: 7.984 kB / 343.5 MB, free: 3.949 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.762e-05/0.0975, allocations: 31.86 kB / 343.5 MB, free: 3.918 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001568/0.09907, allocations: 1.068 MB / 344.6 MB, free: 2.848 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.09909, allocations: 4 kB / 344.6 MB, free: 2.844 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.0991, allocations: 0 / 344.6 MB, free: 2.844 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.09911, allocations: 0 / 344.6 MB, free: 2.844 MB / 286.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.0006609/0.09978, allocations: 0.5418 MB / 345.1 MB, free: 2.254 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.09982, allocations: 12.03 kB / 345.1 MB, free: 2.242 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001193/0.09994, allocations: 4.938 kB / 345.1 MB, free: 2.238 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.1001, allocations: 188.2 kB / 345.3 MB, free: 2.016 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.1001, allocations: 4.375 kB / 345.3 MB, free: 2.012 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/0.1001, allocations: 4.375 kB / 345.3 MB, free: 2.008 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.1003, allocations: 67.52 kB / 345.4 MB, free: 1.93 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.1003, allocations: 0 / 345.4 MB, free: 1.93 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.1003, allocations: 0 / 345.4 MB, free: 1.93 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1003, allocations: 0 / 345.4 MB, free: 1.93 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001167/0.1005, allocations: 35.89 kB / 345.4 MB, free: 1.895 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000179/0.1007, allocations: 174.6 kB / 345.6 MB, free: 1.672 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002707/0.1009, allocations: 77.19 kB / 345.7 MB, free: 1.578 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.592e-05/0.101, allocations: 25.72 kB / 345.7 MB, free: 1.547 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006586/0.1076, allocations: 3.293 MB / 349 MB, free: 13.81 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.1077, allocations: 50.44 kB / 349 MB, free: 13.75 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 3.466e-06/0.1077, allocations: 4 kB / 349 MB, free: 13.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003412/0.108, allocations: 89.44 kB / 349.1 MB, free: 13.65 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.445e-05/0.1081, allocations: 77.11 kB / 349.2 MB, free: 13.56 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.902e-05/0.1082, allocations: 109.8 kB / 349.3 MB, free: 13.44 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.1082, allocations: 29.7 kB / 349.3 MB, free: 13.41 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.031e-05/0.1082, allocations: 84.14 kB / 349.4 MB, free: 13.32 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.123e-05/0.1083, allocations: 19.73 kB / 349.4 MB, free: 13.3 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.07e-05/0.1083, allocations: 25.72 kB / 349.5 MB, free: 13.27 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.972e-05/0.1084, allocations: 314.8 kB / 349.8 MB, free: 12.95 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.153e-05/0.1085, allocations: 12 kB / 349.8 MB, free: 12.94 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.853e-05/0.1085, allocations: 21.7 kB / 349.8 MB, free: 12.91 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001105/0.1087, allocations: 41.64 kB / 349.8 MB, free: 12.87 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1087, allocations: 0 / 349.8 MB, free: 12.87 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001691/0.1088, allocations: 81.83 kB / 349.9 MB, free: 12.78 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.1089, allocations: 8 kB / 349.9 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.1089, allocations: 0 / 349.9 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.1089, allocations: 96 / 349.9 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.148e-05/0.109, allocations: 15.97 kB / 349.9 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.109, allocations: 4 kB / 350 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.372e-05/0.109, allocations: 0 / 350 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.109, allocations: 4.312 kB / 350 MB, free: 12.75 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.092e-05/0.1091, allocations: 109.8 kB / 350.1 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.528e-05/0.1092, allocations: 15.84 kB / 350.1 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002576/0.1094, allocations: 109.4 kB / 350.2 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.1094, allocations: 0 / 350.2 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1094, allocations: 0 / 350.2 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.1095, allocations: 0 / 350.2 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001235/0.1096, allocations: 173.6 kB / 350.4 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1096, allocations: 0 / 350.4 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.492e-05/0.1097, allocations: 15.92 kB / 350.4 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1097, allocations: 0 / 350.4 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.1097, allocations: 8 kB / 350.4 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1097, allocations: 0 / 350.4 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1097, allocations: 0 / 350.4 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001897/0.1099, allocations: 105.8 kB / 350.5 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.42e-05/0.11, allocations: 89.03 kB / 350.6 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.068e-05/0.11, allocations: 4.188 kB / 350.6 MB, free: 12.03 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.688e-05/0.1101, allocations: 7.938 kB / 350.6 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.554e-05/0.1101, allocations: 7.984 kB / 350.6 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.1101, allocations: 8 kB / 350.6 MB, free: 12.01 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.855e-05/0.1102, allocations: 91.27 kB / 350.7 MB, free: 11.92 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1102, allocations: 3.938 kB / 350.7 MB, free: 11.91 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007559/0.111, allocations: 323.6 kB / 351 MB, free: 11.6 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001109/0.1121, allocations: 0.5689 MB / 351.6 MB, free: 11.02 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001757/0.1123, allocations: 39.91 kB / 351.6 MB, free: 10.98 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1123, allocations: 0 / 351.6 MB, free: 10.98 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.613e-05/0.1123, allocations: 19.98 kB / 351.6 MB, free: 10.96 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001965/0.1126, allocations: 19.94 kB / 351.7 MB, free: 10.94 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003878/0.1129, allocations: 185.5 kB / 351.8 MB, free: 10.73 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002013/0.1132, allocations: 0.6809 MB / 352.5 MB, free: 10.02 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001101/0.1133, allocations: 52.09 kB / 352.6 MB, free: 9.973 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.148e-05/0.1133, allocations: 19.44 kB / 352.6 MB, free: 9.953 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1133, allocations: 0 / 352.6 MB, free: 9.953 MB / 302.1 MB Notification: Performance of Templates: time 0.01302/0.1264, allocations: 8.889 MB / 361.5 MB, free: 1.051 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/Inverse_sh_T/Inverse_sh_T.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches