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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.544/1.544, allocations: 221.5 MB / 230.3 MB, free: 7.523 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 97.41 kB / 281.2 MB, free: 5.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.293e-05/1.285e-05, allocations: 4 kB / 337 MB, free: 10.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.113, allocations: 50.42 MB / 387.5 MB, free: 7.562 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.854/1.967, allocations: 0.5416 GB / 0.92 GB, free: 124 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002109/1.968, allocations: 73.84 kB / 0.9201 GB, free: 124 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1622/2.13, allocations: 114 MB / 1.031 GB, free: 22.7 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.533e-06/2.13, allocations: 4 kB / 1.031 GB, free: 22.7 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.846e-06/2.13, allocations: 4 kB / 1.031 GB, free: 22.7 MB / 442.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.001323/2.131, allocations: 0.5668 MB / 1.032 GB, free: 22.09 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/2.131, allocations: 11.97 kB / 1.032 GB, free: 22.07 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001525/2.131, allocations: 15.97 kB / 1.032 GB, free: 22.06 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/2.131, allocations: 175 kB / 1.032 GB, free: 21.85 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/2.132, allocations: 0 / 1.032 GB, free: 21.85 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/2.132, allocations: 4 kB / 1.032 GB, free: 21.84 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.087e-05/2.132, allocations: 12 kB / 1.032 GB, free: 21.83 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001017/2.132, allocations: 71.33 kB / 1.032 GB, free: 21.75 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/2.132, allocations: 0 / 1.032 GB, free: 21.75 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/2.132, allocations: 3.953 kB / 1.032 GB, free: 21.75 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/2.132, allocations: 4 kB / 1.032 GB, free: 21.74 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001772/2.132, allocations: 155 kB / 1.032 GB, free: 21.55 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002174/2.132, allocations: 73.23 kB / 1.032 GB, free: 21.46 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.218e-05/2.132, allocations: 17.78 kB / 1.032 GB, free: 21.44 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3778/2.51, allocations: 35.87 MB / 1.067 GB, free: 126.3 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/2.51, allocations: 37.48 kB / 1.068 GB, free: 126.2 MB / 442.7 MB Notification: Performance of pre-optimization done (n=6): time 2.064e-06/2.51, allocations: 1.031 kB / 1.068 GB, free: 126.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.001078/2.511, allocations: 149.8 kB / 1.068 GB, free: 126.2 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.409e-05/2.511, allocations: 77.95 kB / 1.068 GB, free: 126.1 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.354e-05/2.511, allocations: 101 kB / 1.068 GB, free: 126 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/2.511, allocations: 30.67 kB / 1.068 GB, free: 126 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.418e-05/2.511, allocations: 88.7 kB / 1.068 GB, free: 125.9 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.346e-05/2.511, allocations: 15.69 kB / 1.068 GB, free: 125.9 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-06/2.511, allocations: 3.844 kB / 1.068 GB, free: 125.9 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.879e-05/2.511, allocations: 321.5 kB / 1.068 GB, free: 125.6 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.202e-05/2.512, allocations: 5.594 kB / 1.068 GB, free: 125.6 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.752e-05/2.512, allocations: 18.84 kB / 1.068 GB, free: 125.6 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006817/2.512, allocations: 101.9 kB / 1.068 GB, free: 125.6 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/2.512, allocations: 0 / 1.068 GB, free: 125.6 MB / 442.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0007318/2.513, allocations: 163.5 kB / 1.069 GB, free: 125.5 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/2.513, allocations: 5.156 kB / 1.069 GB, free: 125.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/2.513, allocations: 0 / 1.069 GB, free: 125.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/2.513, allocations: 1.188 kB / 1.069 GB, free: 125.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/2.513, allocations: 12.58 kB / 1.069 GB, free: 125.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/2.513, allocations: 4.375 kB / 1.069 GB, free: 125.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.651e-05/2.513, allocations: 3.547 kB / 1.069 GB, free: 125.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/2.513, allocations: 2.594 kB / 1.069 GB, free: 125.5 MB / 442.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 () * 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 5.616e-05/2.513, allocations: 108.4 kB / 1.069 GB, free: 125.4 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.794e-05/2.513, allocations: 13.03 kB / 1.069 GB, free: 125.4 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008591/2.514, allocations: 184.7 kB / 1.069 GB, free: 125.4 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/2.514, allocations: 1.125 kB / 1.069 GB, free: 125.4 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/2.514, allocations: 5.016 kB / 1.069 GB, free: 125.4 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/2.514, allocations: 0 / 1.069 GB, free: 125.4 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.408e-05/2.514, allocations: 145.2 kB / 1.069 GB, free: 125.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/2.514, allocations: 5.281 kB / 1.069 GB, free: 125.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.8e-05/2.514, allocations: 8.969 kB / 1.069 GB, free: 125.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/2.514, allocations: 2.5 kB / 1.069 GB, free: 125.2 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/2.514, allocations: 0.9375 kB / 1.069 GB, free: 125.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/2.514, allocations: 4.578 kB / 1.069 GB, free: 125.2 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/2.514, allocations: 5.016 kB / 1.069 GB, free: 125.2 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007569/2.515, allocations: 198.6 kB / 1.069 GB, free: 125.1 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.086e-05/2.515, allocations: 86.55 kB / 1.069 GB, free: 125 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/2.515, allocations: 6.25 kB / 1.069 GB, free: 125 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.279e-05/2.515, allocations: 5.078 kB / 1.069 GB, free: 125 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.181e-05/2.515, allocations: 12.41 kB / 1.069 GB, free: 125 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/2.515, allocations: 3.062 kB / 1.069 GB, free: 125 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.476e-05/2.516, allocations: 90.7 kB / 1.069 GB, free: 124.9 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.61e-07/2.516, allocations: 0 / 1.069 GB, free: 124.9 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001193/2.517, allocations: 335.5 kB / 1.07 GB, free: 124.9 MB / 442.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 () * 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.001724/2.518, allocations: 0.7289 MB / 1.07 GB, free: 124.8 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001124/2.519, allocations: 25.03 kB / 1.07 GB, free: 124.8 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/2.519, allocations: 1.188 kB / 1.07 GB, free: 124.8 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.716e-05/2.519, allocations: 16.5 kB / 1.07 GB, free: 124.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001768/2.519, allocations: 10.91 kB / 1.07 GB, free: 124.8 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002989/2.519, allocations: 97.41 kB / 1.071 GB, free: 124.7 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000116/2.519, allocations: 0.6849 MB / 1.071 GB, free: 124 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001219/2.519, allocations: 55.17 kB / 1.071 GB, free: 124 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.903e-05/2.519, allocations: 17.97 kB / 1.071 GB, free: 124 MB / 442.7 MB Notification: Performance of SimCode: time 2.5e-07/2.519, allocations: 0 / 1.071 GB, free: 124 MB / 442.7 MB Notification: Performance of Templates: time 0.01474/2.534, allocations: 8.282 MB / 1.079 GB, free: 123.3 MB / 442.7 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","../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