Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.IdealGasH2O.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.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.IdealGasH2O") translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.IdealGasH2O") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001517/0.001521, allocations: 181 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.051/2.051, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001089/0.001088, allocations: 78.72 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.073e-05/3.095e-05, allocations: 4 kB / 321.5 MB, free: 17.85 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09554/0.0956, allocations: 47.57 MB / 369.1 MB, free: 2.215 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.482/1.578, allocations: 442.2 MB / 0.7923 GB, free: 63.12 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002392/1.578, allocations: 65.22 kB / 0.7923 GB, free: 63.09 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08821/1.667, allocations: 24.87 MB / 0.8166 GB, free: 41.1 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.703e-06/1.667, allocations: 4 kB / 0.8166 GB, free: 41.1 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.652e-06/1.667, allocations: 4 kB / 0.8166 GB, free: 41.09 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001056/1.668, allocations: 430.8 kB / 0.817 GB, free: 40.63 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/1.668, allocations: 8.031 kB / 0.817 GB, free: 40.62 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00992/1.678, allocations: 467.3 kB / 0.8175 GB, free: 40.16 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.445e-05/1.678, allocations: 167 kB / 0.8176 GB, free: 39.96 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.336e-05/1.678, allocations: 8 kB / 0.8177 GB, free: 39.95 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001203/1.678, allocations: 4 kB / 0.8177 GB, free: 39.95 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007506/1.679, allocations: 269.6 kB / 0.8179 GB, free: 39.68 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/1.679, allocations: 4 kB / 0.8179 GB, free: 39.68 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.051e-05/1.679, allocations: 4 kB / 0.8179 GB, free: 39.67 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/1.679, allocations: 3.984 kB / 0.8179 GB, free: 39.67 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007625/1.68, allocations: 231.9 kB / 0.8181 GB, free: 39.44 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001473/1.681, allocations: 436.5 kB / 0.8186 GB, free: 38.96 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001334/1.683, allocations: 187.8 kB / 0.8187 GB, free: 38.77 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001708/1.683, allocations: 60.84 kB / 0.8188 GB, free: 38.71 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.999e-05/1.683, allocations: 4 kB / 0.8188 GB, free: 38.71 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.776e-05/1.683, allocations: 30.56 kB / 0.8188 GB, free: 38.67 MB / 426.7 MB Notification: Performance of pre-optimization done (n=13): time 4.037e-06/1.683, allocations: 0 / 0.8188 GB, free: 38.67 MB / 426.7 MB Notification: Performance of matching and sorting (n=17): time 0.001849/1.685, allocations: 310.2 kB / 0.8191 GB, free: 38.36 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/1.685, allocations: 59.34 kB / 0.8192 GB, free: 38.29 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.101e-05/1.685, allocations: 89 kB / 0.8193 GB, free: 38.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.227e-05/1.685, allocations: 33.64 kB / 0.8193 GB, free: 38.16 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.845e-05/1.685, allocations: 166.3 kB / 0.8195 GB, free: 37.99 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.95e-05/1.685, allocations: 59.09 kB / 0.8195 GB, free: 37.93 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.852e-05/1.685, allocations: 8 kB / 0.8195 GB, free: 37.93 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.033e-05/1.685, allocations: 326.8 kB / 0.8198 GB, free: 37.6 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001866/1.685, allocations: 60.36 kB / 0.8199 GB, free: 37.54 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002089/1.686, allocations: 96.97 kB / 0.82 GB, free: 37.43 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002063/1.686, allocations: 71.09 kB / 0.8201 GB, free: 37.36 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/1.686, allocations: 0 / 0.8201 GB, free: 37.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000566/1.686, allocations: 201.4 kB / 0.8202 GB, free: 37.16 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/1.686, allocations: 7.984 kB / 0.8203 GB, free: 37.15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/1.686, allocations: 4 kB / 0.8203 GB, free: 37.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/1.686, allocations: 0 / 0.8203 GB, free: 37.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000655/1.687, allocations: 51.89 kB / 0.8203 GB, free: 37.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/1.687, allocations: 4 kB / 0.8203 GB, free: 37.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004185/1.688, allocations: 16.11 kB / 0.8203 GB, free: 37.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.985e-05/1.688, allocations: 12 kB / 0.8203 GB, free: 37.06 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 0.0001042/1.688, allocations: 116.9 kB / 0.8204 GB, free: 36.94 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.973e-05/1.688, allocations: 11.89 kB / 0.8205 GB, free: 36.93 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008431/1.689, allocations: 237.9 kB / 0.8207 GB, free: 36.69 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/1.689, allocations: 0 / 0.8207 GB, free: 36.69 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/1.689, allocations: 3.938 kB / 0.8207 GB, free: 36.69 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/1.689, allocations: 3.984 kB / 0.8207 GB, free: 36.68 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00131/1.69, allocations: 0.5329 MB / 0.8212 GB, free: 36.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/1.69, allocations: 3.938 kB / 0.8212 GB, free: 36.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005828/1.691, allocations: 47.95 kB / 0.8213 GB, free: 36.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.446e-06/1.691, allocations: 0 / 0.8213 GB, free: 36.04 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.391e-05/1.691, allocations: 7.984 kB / 0.8213 GB, free: 36.03 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.873e-06/1.691, allocations: 7.953 kB / 0.8213 GB, free: 36.02 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/1.691, allocations: 0 / 0.8213 GB, free: 36.02 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005368/1.691, allocations: 315 kB / 0.8216 GB, free: 35.68 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.818e-05/1.691, allocations: 93.05 kB / 0.8217 GB, free: 35.57 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.746e-05/1.691, allocations: 4 kB / 0.8217 GB, free: 35.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004286/1.692, allocations: 15.98 kB / 0.8217 GB, free: 35.55 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.14e-05/1.692, allocations: 11.98 kB / 0.8217 GB, free: 35.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.945e-05/1.692, allocations: 8 kB / 0.8217 GB, free: 35.54 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.848e-05/1.692, allocations: 87.27 kB / 0.8218 GB, free: 35.45 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-07/1.692, allocations: 0 / 0.8218 GB, free: 35.45 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005879/1.693, allocations: 75.98 kB / 0.8219 GB, free: 35.38 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.0008089/1.693, allocations: 0.5264 MB / 0.8224 GB, free: 34.84 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00051/1.694, allocations: 159.8 kB / 0.8225 GB, free: 34.69 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/1.694, allocations: 0 / 0.8225 GB, free: 34.69 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002203/1.694, allocations: 80.3 kB / 0.8226 GB, free: 34.61 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004976/1.695, allocations: 41.33 kB / 0.8226 GB, free: 34.57 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007812/1.695, allocations: 204.5 kB / 0.8228 GB, free: 34.33 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001414/1.696, allocations: 0.6935 MB / 0.8235 GB, free: 33.61 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000343/1.696, allocations: 35.41 kB / 0.8235 GB, free: 33.58 MB / 426.7 MB Notification: Performance of SimCode: time 1.052e-06/1.696, allocations: 4 kB / 0.8236 GB, free: 33.57 MB / 426.7 MB Notification: Performance of Templates: time 0.009852/1.706, allocations: 4.828 MB / 0.8283 GB, free: 28.73 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.IdealGasH2O.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.IdealGasH2O --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.IdealGasH2O_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.IdealGasH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches