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.002804/0.002804, allocations: 180.6 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 223.2 MB / 240.3 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008389/0.0008388, allocations: 102 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002447/0.0002447, allocations: 11.94 kB / 351.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2335, allocations: 50.4 MB / 401.5 MB, free: 32.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.143/1.376, allocations: 0.5424 GB / 0.9344 GB, free: 90.57 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/1.377, allocations: 82.69 kB / 0.9345 GB, free: 90.53 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4334/1.81, allocations: 117.6 MB / 1.049 GB, free: 157.5 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.583e-06/1.81, allocations: 0 / 1.049 GB, free: 157.5 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.133e-05/1.81, allocations: 3.938 kB / 1.049 GB, free: 157.5 MB / 458.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.00132/1.811, allocations: 0.5772 MB / 1.05 GB, free: 157 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/1.811, allocations: 7.781 kB / 1.05 GB, free: 157 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001339/1.812, allocations: 11.59 kB / 1.05 GB, free: 157 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/1.812, allocations: 174.4 kB / 1.05 GB, free: 156.8 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/1.812, allocations: 3.938 kB / 1.05 GB, free: 156.8 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/1.812, allocations: 0 / 1.05 GB, free: 156.8 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/1.812, allocations: 68.3 kB / 1.05 GB, free: 156.8 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/1.812, allocations: 3.891 kB / 1.05 GB, free: 156.8 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/1.812, allocations: 3.969 kB / 1.05 GB, free: 156.8 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/1.812, allocations: 3.953 kB / 1.05 GB, free: 156.8 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/1.812, allocations: 25.89 kB / 1.05 GB, free: 156.8 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000185/1.812, allocations: 179.1 kB / 1.05 GB, free: 156.6 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002564/1.813, allocations: 75.33 kB / 1.05 GB, free: 156.5 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07357/1.886, allocations: 35.42 MB / 1.085 GB, free: 130.9 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.334e-05/1.886, allocations: 39.31 kB / 1.085 GB, free: 130.9 MB / 458.7 MB Notification: Performance of pre-optimization done (n=6): time 3.286e-06/1.886, allocations: 3.844 kB / 1.085 GB, free: 130.9 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003952/1.887, allocations: 80.3 kB / 1.085 GB, free: 130.8 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.729e-05/1.887, allocations: 85.61 kB / 1.085 GB, free: 130.7 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.923e-05/1.887, allocations: 104.5 kB / 1.085 GB, free: 130.6 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/1.887, allocations: 29.7 kB / 1.085 GB, free: 130.6 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.268e-05/1.887, allocations: 87.23 kB / 1.085 GB, free: 130.5 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.862e-05/1.887, allocations: 27.66 kB / 1.085 GB, free: 130.5 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-06/1.887, allocations: 0 / 1.085 GB, free: 130.5 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.351e-05/1.887, allocations: 314.5 kB / 1.086 GB, free: 130.2 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.96e-05/1.887, allocations: 15.94 kB / 1.086 GB, free: 130.2 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.397e-05/1.887, allocations: 21.23 kB / 1.086 GB, free: 130.1 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.448e-05/1.887, allocations: 22.45 kB / 1.086 GB, free: 130.1 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/1.887, allocations: 0 / 1.086 GB, free: 130.1 MB / 458.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001576/1.887, allocations: 73.2 kB / 1.086 GB, free: 130 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/1.887, allocations: 4 kB / 1.086 GB, free: 130 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/1.887, allocations: 3.75 kB / 1.086 GB, free: 130 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/1.887, allocations: 4 kB / 1.086 GB, free: 130 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.923e-05/1.887, allocations: 8 kB / 1.086 GB, free: 130 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/1.887, allocations: 0 / 1.086 GB, free: 130 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.962e-05/1.888, allocations: 7.203 kB / 1.086 GB, free: 130 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.65e-05/1.888, allocations: 7.953 kB / 1.086 GB, free: 130 MB / 458.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 7.654e-05/1.888, allocations: 117.8 kB / 1.086 GB, free: 129.9 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.996e-05/1.888, allocations: 3.906 kB / 1.086 GB, free: 129.9 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002771/1.888, allocations: 102.7 kB / 1.086 GB, free: 129.8 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/1.888, allocations: 0 / 1.086 GB, free: 129.8 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/1.888, allocations: 7.359 kB / 1.086 GB, free: 129.8 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/1.888, allocations: 4 kB / 1.086 GB, free: 129.8 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000119/1.888, allocations: 173.3 kB / 1.086 GB, free: 129.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/1.888, allocations: 0 / 1.086 GB, free: 129.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.855e-05/1.888, allocations: 8 kB / 1.086 GB, free: 129.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/1.888, allocations: 6.484 kB / 1.086 GB, free: 129.6 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/1.888, allocations: 4 kB / 1.086 GB, free: 129.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/1.888, allocations: 0 / 1.086 GB, free: 129.6 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/1.888, allocations: 0 / 1.086 GB, free: 129.6 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001691/1.888, allocations: 120.9 kB / 1.086 GB, free: 129.4 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.739e-05/1.888, allocations: 88.66 kB / 1.087 GB, free: 129.3 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.037e-05/1.889, allocations: 4 kB / 1.087 GB, free: 129.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.241e-05/1.889, allocations: 4 kB / 1.087 GB, free: 129.3 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.954e-05/1.889, allocations: 7.703 kB / 1.087 GB, free: 129.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/1.889, allocations: 0 / 1.087 GB, free: 129.3 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.92e-05/1.889, allocations: 91.34 kB / 1.087 GB, free: 129.2 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.263e-06/1.889, allocations: 4 kB / 1.087 GB, free: 129.2 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00137/1.89, allocations: 345.9 kB / 1.087 GB, free: 128.9 MB / 458.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.002169/1.892, allocations: 0.7173 MB / 1.088 GB, free: 128.4 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001961/1.893, allocations: 34.98 kB / 1.088 GB, free: 128.3 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/1.893, allocations: 0 / 1.088 GB, free: 128.3 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 5.718e-05/1.893, allocations: 20.5 kB / 1.088 GB, free: 128.3 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000168/1.893, allocations: 7.891 kB / 1.088 GB, free: 128.3 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004585/1.893, allocations: 193.3 kB / 1.088 GB, free: 128.1 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001423/1.893, allocations: 0.6879 MB / 1.089 GB, free: 127.4 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001229/1.894, allocations: 53.08 kB / 1.089 GB, free: 127.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.428e-05/1.894, allocations: 19.09 kB / 1.089 GB, free: 127.4 MB / 458.7 MB Notification: Performance of SimCode: time 2.3e-07/1.894, allocations: 0 / 1.089 GB, free: 127.4 MB / 458.7 MB Notification: Performance of Templates: time 0.01279/1.906, allocations: 9.236 MB / 1.098 GB, free: 118.6 MB / 458.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