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.001277/0.001277, allocations: 184.1 kB / 18.04 MB, free: 3.754 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.416/1.416, allocations: 205.4 MB / 224.2 MB, free: 8.961 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.0008278/0.0008279, allocations: 85.03 kB / 272.5 MB, free: 8.266 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003614/0.000362, allocations: 16 kB / 329.5 MB, free: 15.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2231, allocations: 47.57 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.198/1.421, allocations: 0.6447 GB / 1.013 GB, free: 140.6 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002423/1.421, allocations: 75.69 kB / 1.013 GB, free: 140.6 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.154/1.575, allocations: 113.4 MB / 1.124 GB, free: 28.5 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.767e-06/1.575, allocations: 3.984 kB / 1.124 GB, free: 28.5 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.585e-06/1.575, allocations: 3.938 kB / 1.124 GB, free: 28.5 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.001217/1.577, allocations: 0.573 MB / 1.124 GB, free: 27.87 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/1.577, allocations: 8.031 kB / 1.124 GB, free: 27.86 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001349/1.577, allocations: 20.83 kB / 1.124 GB, free: 27.84 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/1.577, allocations: 184.1 kB / 1.124 GB, free: 27.62 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/1.577, allocations: 8.375 kB / 1.124 GB, free: 27.62 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.339e-05/1.577, allocations: 384 / 1.124 GB, free: 27.62 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/1.577, allocations: 59.95 kB / 1.124 GB, free: 27.55 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/1.577, allocations: 4.125 kB / 1.124 GB, free: 27.54 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/1.577, allocations: 11.94 kB / 1.124 GB, free: 27.53 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/1.577, allocations: 0 / 1.124 GB, free: 27.53 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001037/1.577, allocations: 23.92 kB / 1.124 GB, free: 27.51 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000172/1.578, allocations: 170.5 kB / 1.125 GB, free: 27.29 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002537/1.578, allocations: 77.28 kB / 1.125 GB, free: 27.2 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.302e-05/1.578, allocations: 37.69 kB / 1.125 GB, free: 27.15 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2949/1.873, allocations: 35.4 MB / 1.159 GB, free: 127.4 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.748e-05/1.873, allocations: 40.22 kB / 1.159 GB, free: 127.4 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 3.176e-06/1.873, allocations: 0 / 1.159 GB, free: 127.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004106/1.873, allocations: 83.11 kB / 1.159 GB, free: 127.4 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/1.873, allocations: 78.05 kB / 1.16 GB, free: 127.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.293e-05/1.873, allocations: 113.5 kB / 1.16 GB, free: 127.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/1.874, allocations: 27.02 kB / 1.16 GB, free: 127.1 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.464e-05/1.874, allocations: 88.42 kB / 1.16 GB, free: 127.1 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.105e-05/1.874, allocations: 21.72 kB / 1.16 GB, free: 127.1 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-06/1.874, allocations: 3.062 kB / 1.16 GB, free: 127.1 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.569e-05/1.874, allocations: 317.2 kB / 1.16 GB, free: 126.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.024e-05/1.874, allocations: 9.625 kB / 1.16 GB, free: 126.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.136e-05/1.874, allocations: 26.2 kB / 1.16 GB, free: 126.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/1.874, allocations: 42.5 kB / 1.16 GB, free: 126.7 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/1.874, allocations: 4 kB / 1.16 GB, free: 126.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001526/1.874, allocations: 71.62 kB / 1.16 GB, free: 126.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/1.874, allocations: 10.72 kB / 1.16 GB, free: 126.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/1.874, allocations: 2.109 kB / 1.16 GB, free: 126.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.814e-05/1.874, allocations: 4.594 kB / 1.16 GB, free: 126.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.568e-05/1.874, allocations: 9.156 kB / 1.16 GB, free: 126.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/1.874, allocations: 0 / 1.16 GB, free: 126.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.786e-05/1.874, allocations: 2.656 kB / 1.16 GB, free: 126.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/1.874, allocations: 5.484 kB / 1.16 GB, free: 126.7 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.031e-05/1.874, allocations: 120.9 kB / 1.16 GB, free: 126.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.57e-05/1.874, allocations: 4.125 kB / 1.16 GB, free: 126.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000248/1.875, allocations: 101.1 kB / 1.16 GB, free: 126.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/1.875, allocations: 1.25 kB / 1.16 GB, free: 126.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/1.875, allocations: 7.375 kB / 1.16 GB, free: 126.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/1.875, allocations: 1.094 kB / 1.16 GB, free: 126.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001006/1.875, allocations: 171.5 kB / 1.161 GB, free: 126.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/1.875, allocations: 2.5 kB / 1.161 GB, free: 126.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.817e-05/1.875, allocations: 8.938 kB / 1.161 GB, free: 126.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/1.875, allocations: 11.7 kB / 1.161 GB, free: 126.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/1.875, allocations: 1.031 kB / 1.161 GB, free: 126.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/1.875, allocations: 4.359 kB / 1.161 GB, free: 126.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/1.875, allocations: 2.812 kB / 1.161 GB, free: 126.3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/1.875, allocations: 103.5 kB / 1.161 GB, free: 126.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.937e-05/1.875, allocations: 90.41 kB / 1.161 GB, free: 126.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/1.875, allocations: 3.562 kB / 1.161 GB, free: 126.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.749e-05/1.875, allocations: 9.641 kB / 1.161 GB, free: 126.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.584e-05/1.875, allocations: 7.25 kB / 1.161 GB, free: 126.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/1.875, allocations: 7.078 kB / 1.161 GB, free: 126.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.983e-05/1.875, allocations: 89.69 kB / 1.161 GB, free: 126.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.875, allocations: 4 kB / 1.161 GB, free: 126.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001127/1.876, allocations: 337.5 kB / 1.161 GB, free: 126.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.00174/1.878, allocations: 0.7045 MB / 1.162 GB, free: 125.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001705/1.878, allocations: 35.17 kB / 1.162 GB, free: 125.9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/1.878, allocations: 1 kB / 1.162 GB, free: 125.9 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.843e-05/1.878, allocations: 27.25 kB / 1.162 GB, free: 125.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002027/1.879, allocations: 23.05 kB / 1.162 GB, free: 125.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003781/1.879, allocations: 183 kB / 1.162 GB, free: 125.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001068/1.879, allocations: 0.6815 MB / 1.163 GB, free: 125.1 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001153/1.879, allocations: 51.39 kB / 1.163 GB, free: 125.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.994e-05/1.879, allocations: 21.84 kB / 1.163 GB, free: 125.1 MB / 426.7 MB Notification: Performance of SimCode: time 2.2e-07/1.879, allocations: 4 kB / 1.163 GB, free: 125.1 MB / 426.7 MB Notification: Performance of Templates: time 0.0128/1.892, allocations: 9.531 MB / 1.172 GB, free: 124.3 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/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_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches