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.001049/0.001055, allocations: 181.4 kB / 17.41 MB, free: 4.387 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.552/1.552, allocations: 205.4 MB / 223.6 MB, free: 9.008 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.0007712/0.0007714, allocations: 92.86 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003272/0.0003273, allocations: 8 kB / 328.2 MB, free: 15.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/0.2451, allocations: 47.56 MB / 375.7 MB, free: 45.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.329/1.574, allocations: 0.6447 GB / 1.012 GB, free: 140.6 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002622/1.574, allocations: 79.77 kB / 1.012 GB, free: 140.5 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1471/1.721, allocations: 113.4 MB / 1.122 GB, free: 28.4 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.054e-06/1.721, allocations: 0 / 1.122 GB, free: 28.4 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.422e-06/1.721, allocations: 7.938 kB / 1.122 GB, free: 28.39 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.001136/1.723, allocations: 0.5768 MB / 1.123 GB, free: 27.77 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/1.723, allocations: 8.031 kB / 1.123 GB, free: 27.76 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/1.723, allocations: 8.844 kB / 1.123 GB, free: 27.75 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/1.723, allocations: 192.2 kB / 1.123 GB, free: 27.52 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/1.723, allocations: 384 / 1.123 GB, free: 27.52 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/1.723, allocations: 8.312 kB / 1.123 GB, free: 27.52 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/1.723, allocations: 67.95 kB / 1.123 GB, free: 27.44 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/1.723, allocations: 192 / 1.123 GB, free: 27.44 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/1.723, allocations: 3.938 kB / 1.123 GB, free: 27.43 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/1.723, allocations: 0 / 1.123 GB, free: 27.43 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.64e-05/1.723, allocations: 31.91 kB / 1.123 GB, free: 27.4 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001571/1.723, allocations: 174.5 kB / 1.123 GB, free: 27.18 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002396/1.724, allocations: 81.25 kB / 1.123 GB, free: 27.08 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.751e-05/1.724, allocations: 25.7 kB / 1.123 GB, free: 27.05 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2472/1.971, allocations: 35.4 MB / 1.158 GB, free: 127.1 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.333e-05/1.971, allocations: 37.81 kB / 1.158 GB, free: 127.1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.695e-06/1.971, allocations: 0 / 1.158 GB, free: 127.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004129/1.972, allocations: 84.25 kB / 1.158 GB, free: 127 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/1.972, allocations: 83.14 kB / 1.158 GB, free: 126.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/1.972, allocations: 115.8 kB / 1.158 GB, free: 126.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/1.972, allocations: 25.7 kB / 1.158 GB, free: 126.8 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.136e-05/1.972, allocations: 86.03 kB / 1.158 GB, free: 126.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.537e-05/1.972, allocations: 18.7 kB / 1.158 GB, free: 126.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-06/1.972, allocations: 1.031 kB / 1.158 GB, free: 126.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.246e-05/1.972, allocations: 315.9 kB / 1.159 GB, free: 126.4 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.318e-05/1.972, allocations: 10.84 kB / 1.159 GB, free: 126.4 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.723e-05/1.972, allocations: 29.08 kB / 1.159 GB, free: 126.4 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000103/1.972, allocations: 39.53 kB / 1.159 GB, free: 126.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/1.972, allocations: 0.9375 kB / 1.159 GB, free: 126.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001502/1.972, allocations: 70.84 kB / 1.159 GB, free: 126.4 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/1.972, allocations: 11.78 kB / 1.159 GB, free: 126.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/1.972, allocations: 5.578 kB / 1.159 GB, free: 126.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/1.972, allocations: 0.7969 kB / 1.159 GB, free: 126.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.15e-05/1.972, allocations: 17.23 kB / 1.159 GB, free: 126.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/1.972, allocations: 2.188 kB / 1.159 GB, free: 126.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.927e-05/1.972, allocations: 5.25 kB / 1.159 GB, free: 126.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/1.972, allocations: 1.438 kB / 1.159 GB, free: 126.3 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.738e-05/1.973, allocations: 118.5 kB / 1.159 GB, free: 126.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.704e-05/1.973, allocations: 8.109 kB / 1.159 GB, free: 126.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002792/1.973, allocations: 107.5 kB / 1.159 GB, free: 126.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/1.973, allocations: 0.9688 kB / 1.159 GB, free: 126.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/1.973, allocations: 0.9688 kB / 1.159 GB, free: 126.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/1.973, allocations: 0 / 1.159 GB, free: 126.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001164/1.973, allocations: 175 kB / 1.159 GB, free: 126 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/1.973, allocations: 0 / 1.159 GB, free: 126 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.881e-05/1.973, allocations: 13.88 kB / 1.159 GB, free: 126 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/1.973, allocations: 0 / 1.159 GB, free: 126 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/1.973, allocations: 2.438 kB / 1.159 GB, free: 126 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/1.973, allocations: 8.469 kB / 1.159 GB, free: 126 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/1.973, allocations: 1.5 kB / 1.159 GB, free: 126 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001656/1.973, allocations: 97.95 kB / 1.159 GB, free: 125.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.656e-05/1.973, allocations: 96.95 kB / 1.16 GB, free: 125.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/1.973, allocations: 2.938 kB / 1.16 GB, free: 125.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.746e-05/1.973, allocations: 10 kB / 1.16 GB, free: 125.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.332e-05/1.974, allocations: 10.97 kB / 1.16 GB, free: 125.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/1.974, allocations: 2.062 kB / 1.16 GB, free: 125.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.382e-05/1.974, allocations: 94.83 kB / 1.16 GB, free: 125.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.21e-07/1.974, allocations: 0.6562 kB / 1.16 GB, free: 125.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001244/1.975, allocations: 334.4 kB / 1.16 GB, free: 125.7 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.001735/1.977, allocations: 0.7119 MB / 1.161 GB, free: 125.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001756/1.977, allocations: 32.56 kB / 1.161 GB, free: 125.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/1.977, allocations: 4 kB / 1.161 GB, free: 125.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.124e-05/1.977, allocations: 21.27 kB / 1.161 GB, free: 125.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002177/1.977, allocations: 18.64 kB / 1.161 GB, free: 125.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000449/1.978, allocations: 221.5 kB / 1.161 GB, free: 125.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000125/1.978, allocations: 0.6818 MB / 1.162 GB, free: 124.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.775e-05/1.978, allocations: 27.94 kB / 1.162 GB, free: 124.7 MB / 426.7 MB Notification: Performance of SimCode: time 4.2e-07/1.978, allocations: 0 / 1.162 GB, free: 124.7 MB / 426.7 MB Notification: Performance of Templates: time 0.01107/1.989, allocations: 6.207 MB / 1.168 GB, free: 124 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