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.001524/0.001524, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.058/2.058, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001162/0.001162, allocations: 93.67 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.726e-05/2.717e-05, allocations: 4 kB / 314.8 MB, free: 9.156 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.3558, allocations: 47.56 MB / 362.3 MB, free: 45.86 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.964/2.32, allocations: 0.6436 GB / 0.9974 GB, free: 114.2 MB / 427.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/2.32, allocations: 74.06 kB / 0.9975 GB, free: 114.2 MB / 427.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.2882/2.608, allocations: 113.6 MB / 1.108 GB, free: 45.61 MB / 427.1 MB Notification: Performance of FrontEnd: time 1.473e-06/2.608, allocations: 0 / 1.108 GB, free: 45.61 MB / 427.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/2.608, allocations: 0 / 1.108 GB, free: 45.61 MB / 427.1 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.001463/2.61, allocations: 0.5669 MB / 1.109 GB, free: 45 MB / 427.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/2.61, allocations: 12.02 kB / 1.109 GB, free: 44.99 MB / 427.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001458/2.61, allocations: 12 kB / 1.109 GB, free: 44.98 MB / 427.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/2.61, allocations: 171 kB / 1.109 GB, free: 44.77 MB / 427.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/2.61, allocations: 4 kB / 1.109 GB, free: 44.77 MB / 427.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.572e-05/2.61, allocations: 7.938 kB / 1.109 GB, free: 44.76 MB / 427.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.2e-05/2.61, allocations: 19.98 kB / 1.109 GB, free: 44.74 MB / 427.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/2.611, allocations: 63.34 kB / 1.109 GB, free: 44.66 MB / 427.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/2.611, allocations: 0 / 1.109 GB, free: 44.66 MB / 427.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/2.611, allocations: 0 / 1.109 GB, free: 44.66 MB / 427.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/2.611, allocations: 0 / 1.109 GB, free: 44.66 MB / 427.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001758/2.611, allocations: 157.8 kB / 1.109 GB, free: 44.47 MB / 427.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002737/2.611, allocations: 73.14 kB / 1.109 GB, free: 44.38 MB / 427.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.798e-05/2.611, allocations: 21.97 kB / 1.11 GB, free: 44.36 MB / 427.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1271/2.738, allocations: 35.87 MB / 1.145 GB, free: 5.043 MB / 427.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.699e-05/2.738, allocations: 38.56 kB / 1.145 GB, free: 4.996 MB / 427.1 MB Notification: Performance of pre-optimization done (n=6): time 2.926e-06/2.738, allocations: 0 / 1.145 GB, free: 4.996 MB / 427.1 MB Notification: Performance of matching and sorting (n=6): time 0.001369/2.74, allocations: 153.5 kB / 1.145 GB, free: 4.84 MB / 427.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.472e-05/2.74, allocations: 81.09 kB / 1.145 GB, free: 4.742 MB / 427.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.597e-05/2.74, allocations: 101 kB / 1.145 GB, free: 4.637 MB / 427.1 MB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/2.74, allocations: 29.64 kB / 1.145 GB, free: 4.602 MB / 427.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.577e-05/2.74, allocations: 154.6 kB / 1.145 GB, free: 4.449 MB / 427.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.476e-05/2.74, allocations: 19.7 kB / 1.145 GB, free: 4.43 MB / 427.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.683e-06/2.74, allocations: 0 / 1.145 GB, free: 4.43 MB / 427.1 MB Notification: Performance of setup shared object (initialization): time 5.655e-05/2.74, allocations: 318.8 kB / 1.145 GB, free: 4.109 MB / 427.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.386e-05/2.74, allocations: 8 kB / 1.145 GB, free: 4.102 MB / 427.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.179e-05/2.74, allocations: 21.72 kB / 1.145 GB, free: 4.074 MB / 427.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000997/2.741, allocations: 107.8 kB / 1.146 GB, free: 3.969 MB / 427.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/2.741, allocations: 0 / 1.146 GB, free: 3.969 MB / 427.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0011/2.742, allocations: 149.7 kB / 1.146 GB, free: 3.816 MB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/2.742, allocations: 4 kB / 1.146 GB, free: 3.812 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/2.742, allocations: 0 / 1.146 GB, free: 3.812 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/2.742, allocations: 8 kB / 1.146 GB, free: 3.805 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/2.743, allocations: 15.94 kB / 1.146 GB, free: 3.789 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/2.743, allocations: 0 / 1.146 GB, free: 3.789 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.347e-05/2.743, allocations: 11.88 kB / 1.146 GB, free: 3.777 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/2.743, allocations: 0 / 1.146 GB, free: 3.777 MB / 427.1 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.849e-05/2.743, allocations: 101 kB / 1.146 GB, free: 3.672 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.13e-05/2.743, allocations: 7.906 kB / 1.146 GB, free: 3.664 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001212/2.744, allocations: 189.8 kB / 1.146 GB, free: 3.469 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/2.744, allocations: 0 / 1.146 GB, free: 3.469 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/2.744, allocations: 7.953 kB / 1.146 GB, free: 3.461 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/2.744, allocations: 0 / 1.146 GB, free: 3.461 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001132/2.744, allocations: 150.1 kB / 1.146 GB, free: 3.277 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/2.744, allocations: 0 / 1.146 GB, free: 3.277 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.938e-05/2.744, allocations: 8 kB / 1.146 GB, free: 3.27 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/2.744, allocations: 0 / 1.146 GB, free: 3.27 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/2.744, allocations: 8 kB / 1.146 GB, free: 3.262 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/2.744, allocations: 7.938 kB / 1.146 GB, free: 3.254 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/2.744, allocations: 0 / 1.146 GB, free: 3.254 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001103/2.745, allocations: 195.5 kB / 1.146 GB, free: 3.035 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.697e-05/2.746, allocations: 96.94 kB / 1.146 GB, free: 2.922 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.285e-05/2.746, allocations: 0 / 1.146 GB, free: 2.922 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/2.746, allocations: 4 kB / 1.146 GB, free: 2.918 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.493e-05/2.746, allocations: 11.94 kB / 1.146 GB, free: 2.906 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/2.746, allocations: 4 kB / 1.146 GB, free: 2.902 MB / 427.1 MB Notification: Performance of sorting global known variables: time 4.577e-05/2.746, allocations: 99.5 kB / 1.147 GB, free: 2.805 MB / 427.1 MB Notification: Performance of sort global known variables: time 4.51e-07/2.746, allocations: 0 / 1.147 GB, free: 2.805 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.001281/2.747, allocations: 331.5 kB / 1.147 GB, free: 2.48 MB / 427.1 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.002238/2.749, allocations: 0.7328 MB / 1.148 GB, free: 1.742 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.0001538/2.75, allocations: 27.98 kB / 1.148 GB, free: 1.715 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/2.75, allocations: 4 kB / 1.148 GB, free: 1.711 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 5.136e-05/2.75, allocations: 19.94 kB / 1.148 GB, free: 1.691 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002052/2.75, allocations: 4 kB / 1.148 GB, free: 1.688 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003585/2.75, allocations: 114.6 kB / 1.148 GB, free: 1.547 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000127/2.75, allocations: 0.6885 MB / 1.148 GB, free: 0.832 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.745e-05/2.75, allocations: 23.42 kB / 1.148 GB, free: 0.8086 MB / 427.1 MB Notification: Performance of SimCode: time 8.02e-07/2.75, allocations: 0 / 1.148 GB, free: 0.8086 MB / 427.1 MB Notification: Performance of Templates: time 0.291/3.041, allocations: 6.859 MB / 1.155 GB, free: 129.8 MB / 427.1 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