Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001421/0.001421, allocations: 185.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.86/1.86, allocations: 205.4 MB / 222.5 MB, free: 9.148 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001114/0.001114, allocations: 101.6 kB / 270.9 MB, free: 8.395 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003765/0.0003766, allocations: 8 kB / 327 MB, free: 236 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3223, allocations: 47.56 MB / 374.5 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.873/2.195, allocations: 0.6443 GB / 1.01 GB, free: 100.6 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/2.196, allocations: 77.39 kB / 1.01 GB, free: 100.6 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.553/2.749, allocations: 117.2 MB / 1.125 GB, free: 137.1 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.587e-06/2.749, allocations: 0 / 1.125 GB, free: 137.1 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.434e-05/2.749, allocations: 1.281 kB / 1.125 GB, free: 137.1 MB / 426.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.001416/2.75, allocations: 0.5776 MB / 1.125 GB, free: 136.7 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/2.75, allocations: 7.938 kB / 1.125 GB, free: 136.7 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001494/2.751, allocations: 16.77 kB / 1.125 GB, free: 136.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/2.751, allocations: 171.9 kB / 1.125 GB, free: 136.5 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/2.751, allocations: 5.594 kB / 1.125 GB, free: 136.5 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.774e-05/2.751, allocations: 3.953 kB / 1.125 GB, free: 136.5 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/2.751, allocations: 65.23 kB / 1.125 GB, free: 136.4 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/2.751, allocations: 0 / 1.125 GB, free: 136.4 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/2.751, allocations: 7.438 kB / 1.125 GB, free: 136.4 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/2.751, allocations: 0.6094 kB / 1.125 GB, free: 136.4 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001967/2.751, allocations: 20.48 kB / 1.125 GB, free: 136.4 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001847/2.751, allocations: 176.8 kB / 1.126 GB, free: 136.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000336/2.752, allocations: 81.91 kB / 1.126 GB, free: 136.2 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.128/2.88, allocations: 35.42 MB / 1.16 GB, free: 118 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/2.88, allocations: 42.11 kB / 1.16 GB, free: 117.9 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.595e-06/2.88, allocations: 0 / 1.16 GB, free: 117.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004784/2.88, allocations: 85.03 kB / 1.16 GB, free: 117.9 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/2.88, allocations: 80.72 kB / 1.16 GB, free: 117.8 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.34e-05/2.881, allocations: 104 kB / 1.161 GB, free: 117.7 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/2.881, allocations: 33.39 kB / 1.161 GB, free: 117.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.486e-05/2.881, allocations: 154.6 kB / 1.161 GB, free: 117.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.664e-05/2.881, allocations: 20.16 kB / 1.161 GB, free: 117.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.875e-06/2.881, allocations: 5.094 kB / 1.161 GB, free: 117.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.721e-05/2.881, allocations: 310.8 kB / 1.161 GB, free: 117.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.559e-05/2.881, allocations: 16.39 kB / 1.161 GB, free: 117.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.112e-05/2.881, allocations: 24.62 kB / 1.161 GB, free: 117.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.92e-05/2.881, allocations: 10.19 kB / 1.161 GB, free: 117.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/2.881, allocations: 4 kB / 1.161 GB, free: 117.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002356/2.881, allocations: 74.25 kB / 1.161 GB, free: 117.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/2.881, allocations: 7 kB / 1.161 GB, free: 117.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/2.881, allocations: 0 / 1.161 GB, free: 117.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/2.881, allocations: 6.906 kB / 1.161 GB, free: 117.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/2.882, allocations: 10.72 kB / 1.161 GB, free: 117.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/2.882, allocations: 8.203 kB / 1.161 GB, free: 117.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.059e-05/2.882, allocations: 3.656 kB / 1.161 GB, free: 117.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/2.882, allocations: 0 / 1.161 GB, free: 117.2 MB / 426.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 6.858e-05/2.882, allocations: 118.3 kB / 1.161 GB, free: 117 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.126e-05/2.882, allocations: 7.656 kB / 1.161 GB, free: 117 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003672/2.882, allocations: 101.8 kB / 1.161 GB, free: 117 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/2.882, allocations: 7.891 kB / 1.161 GB, free: 117 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/2.882, allocations: 0 / 1.161 GB, free: 117 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/2.882, allocations: 6.438 kB / 1.161 GB, free: 117 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001231/2.882, allocations: 170 kB / 1.162 GB, free: 116.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/2.882, allocations: 3.438 kB / 1.162 GB, free: 116.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.94e-05/2.882, allocations: 12.97 kB / 1.162 GB, free: 116.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/2.882, allocations: 6.812 kB / 1.162 GB, free: 116.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/2.882, allocations: 2.5 kB / 1.162 GB, free: 116.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/2.882, allocations: 3.812 kB / 1.162 GB, free: 116.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/2.882, allocations: 3.953 kB / 1.162 GB, free: 116.8 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002539/2.883, allocations: 113.3 kB / 1.162 GB, free: 116.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.756e-05/2.883, allocations: 86.52 kB / 1.162 GB, free: 116.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.328e-05/2.883, allocations: 3.688 kB / 1.162 GB, free: 116.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/2.883, allocations: 11.53 kB / 1.162 GB, free: 116.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.83e-05/2.883, allocations: 4.781 kB / 1.162 GB, free: 116.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/2.883, allocations: 3.938 kB / 1.162 GB, free: 116.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.957e-05/2.883, allocations: 95.91 kB / 1.162 GB, free: 116.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.71e-07/2.883, allocations: 0 / 1.162 GB, free: 116.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001306/2.884, allocations: 333.5 kB / 1.162 GB, free: 116.5 MB / 426.7 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.002217/2.887, allocations: 0.7117 MB / 1.163 GB, free: 116.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002479/2.887, allocations: 34.33 kB / 1.163 GB, free: 116.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/2.887, allocations: 0 / 1.163 GB, free: 116.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001042/2.887, allocations: 19.45 kB / 1.163 GB, free: 116.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001964/2.887, allocations: 17.58 kB / 1.163 GB, free: 116.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004615/2.888, allocations: 215.2 kB / 1.163 GB, free: 116.1 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001237/2.888, allocations: 0.6862 MB / 1.164 GB, free: 115.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.873e-05/2.888, allocations: 29.84 kB / 1.164 GB, free: 115.4 MB / 426.7 MB Notification: Performance of SimCode: time 6.12e-07/2.888, allocations: 0 / 1.164 GB, free: 115.4 MB / 426.7 MB Notification: Performance of Templates: time 0.01326/2.901, allocations: 6.744 MB / 1.171 GB, free: 114.4 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches