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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.001847/0.001847, allocations: 181.6 kB / 17.01 MB, free: 5.125 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.584/1.584, allocations: 205.4 MB / 223.1 MB, free: 9.129 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.0008882/0.0008885, allocations: 104.9 kB / 271.5 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003236/0.0003236, allocations: 4 kB / 328.2 MB, free: 15.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2722, allocations: 47.56 MB / 375.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.402/1.674, allocations: 0.6443 GB / 1.011 GB, free: 100.8 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002327/1.675, allocations: 80.05 kB / 1.011 GB, free: 100.8 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3792/2.054, allocations: 117.2 MB / 1.126 GB, free: 136.7 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.595e-06/2.054, allocations: 0 / 1.126 GB, free: 136.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.173e-06/2.054, allocations: 1.656 kB / 1.126 GB, free: 136.7 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.001353/2.055, allocations: 0.5748 MB / 1.126 GB, free: 136.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/2.055, allocations: 7.938 kB / 1.126 GB, free: 136.3 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001278/2.055, allocations: 21.72 kB / 1.126 GB, free: 136.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/2.056, allocations: 169.4 kB / 1.127 GB, free: 136.1 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/2.056, allocations: 7.719 kB / 1.127 GB, free: 136.1 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/2.056, allocations: 3.953 kB / 1.127 GB, free: 136.1 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/2.056, allocations: 67.42 kB / 1.127 GB, free: 136 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/2.056, allocations: 0 / 1.127 GB, free: 136 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/2.056, allocations: 3.969 kB / 1.127 GB, free: 136 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/2.056, allocations: 0 / 1.127 GB, free: 136 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/2.056, allocations: 18.08 kB / 1.127 GB, free: 136 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001599/2.056, allocations: 176.1 kB / 1.127 GB, free: 135.8 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002406/2.056, allocations: 80.78 kB / 1.127 GB, free: 135.8 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07368/2.13, allocations: 35.42 MB / 1.162 GB, free: 117.6 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.748e-05/2.13, allocations: 40.48 kB / 1.162 GB, free: 117.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 4.428e-06/2.13, allocations: 0 / 1.162 GB, free: 117.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003925/2.131, allocations: 83.72 kB / 1.162 GB, free: 117.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/2.131, allocations: 77.11 kB / 1.162 GB, free: 117.4 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.875e-05/2.131, allocations: 109.6 kB / 1.162 GB, free: 117.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/2.131, allocations: 31.7 kB / 1.162 GB, free: 117.3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.027e-05/2.131, allocations: 83.64 kB / 1.162 GB, free: 117.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.344e-05/2.131, allocations: 23.8 kB / 1.162 GB, free: 117.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-06/2.131, allocations: 3.75 kB / 1.162 GB, free: 117.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.333e-05/2.131, allocations: 314.3 kB / 1.162 GB, free: 116.9 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.918e-05/2.131, allocations: 11.22 kB / 1.162 GB, free: 116.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.786e-05/2.131, allocations: 27.56 kB / 1.162 GB, free: 116.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.778e-05/2.131, allocations: 10.81 kB / 1.162 GB, free: 116.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/2.131, allocations: 0.5625 kB / 1.162 GB, free: 116.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001525/2.131, allocations: 70.81 kB / 1.162 GB, free: 116.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/2.131, allocations: 6 kB / 1.162 GB, free: 116.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/2.131, allocations: 4.188 kB / 1.162 GB, free: 116.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/2.131, allocations: 3.953 kB / 1.162 GB, free: 116.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.275e-05/2.131, allocations: 14.66 kB / 1.162 GB, free: 116.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/2.131, allocations: 0 / 1.162 GB, free: 116.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.859e-05/2.131, allocations: 4 kB / 1.162 GB, free: 116.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/2.132, allocations: 9.25 kB / 1.162 GB, free: 116.8 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.863e-05/2.132, allocations: 111.7 kB / 1.163 GB, free: 116.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.963e-05/2.132, allocations: 7.469 kB / 1.163 GB, free: 116.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002762/2.132, allocations: 110.3 kB / 1.163 GB, free: 116.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/2.132, allocations: 3.953 kB / 1.163 GB, free: 116.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/2.132, allocations: 2.719 kB / 1.163 GB, free: 116.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/2.132, allocations: 0 / 1.163 GB, free: 116.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001188/2.132, allocations: 173.6 kB / 1.163 GB, free: 116.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/2.132, allocations: 0 / 1.163 GB, free: 116.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.692e-05/2.132, allocations: 12.47 kB / 1.163 GB, free: 116.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/2.132, allocations: 3.125 kB / 1.163 GB, free: 116.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/2.132, allocations: 0 / 1.163 GB, free: 116.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/2.132, allocations: 0 / 1.163 GB, free: 116.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/2.132, allocations: 7.703 kB / 1.163 GB, free: 116.4 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001657/2.132, allocations: 112.4 kB / 1.163 GB, free: 116.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.503e-05/2.132, allocations: 96.98 kB / 1.163 GB, free: 116.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/2.132, allocations: 10.7 kB / 1.163 GB, free: 116.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.077e-05/2.132, allocations: 3.953 kB / 1.163 GB, free: 116.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.689e-05/2.133, allocations: 11.52 kB / 1.163 GB, free: 116.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/2.133, allocations: 3.344 kB / 1.163 GB, free: 116.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.223e-05/2.133, allocations: 97.75 kB / 1.163 GB, free: 116.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/2.133, allocations: 3.938 kB / 1.163 GB, free: 116.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001231/2.134, allocations: 332.6 kB / 1.163 GB, free: 116.1 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.002079/2.136, allocations: 0.7068 MB / 1.164 GB, free: 115.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001641/2.136, allocations: 38.75 kB / 1.164 GB, free: 115.9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/2.136, allocations: 7.094 kB / 1.164 GB, free: 115.9 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.624e-05/2.136, allocations: 20.91 kB / 1.164 GB, free: 115.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001568/2.136, allocations: 13.66 kB / 1.164 GB, free: 115.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003772/2.137, allocations: 194.5 kB / 1.164 GB, free: 115.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001422/2.137, allocations: 0.6863 MB / 1.165 GB, free: 115.1 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001235/2.137, allocations: 53.88 kB / 1.165 GB, free: 115.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.221e-05/2.137, allocations: 18.27 kB / 1.165 GB, free: 115.1 MB / 426.7 MB Notification: Performance of SimCode: time 5.01e-07/2.137, allocations: 0 / 1.165 GB, free: 115.1 MB / 426.7 MB Notification: Performance of Templates: time 0.01258/2.15, allocations: 9.229 MB / 1.174 GB, free: 112.9 MB / 426.7 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