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.001485/0.001485, allocations: 185 kB / 16.41 MB, free: 5.723 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.877/1.877, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001098/0.001097, allocations: 92.06 kB / 270.9 MB, free: 8.379 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003838/0.0003836, allocations: 8 kB / 327 MB, free: 228 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3287, allocations: 47.56 MB / 374.5 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.11/1.439, allocations: 442.3 MB / 0.7977 GB, free: 6.758 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000237/1.439, allocations: 72.84 kB / 0.7977 GB, free: 6.719 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3464/1.786, allocations: 24.96 MB / 0.8221 GB, free: 158.3 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.435e-06/1.786, allocations: 0 / 0.8221 GB, free: 158.3 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.745e-06/1.786, allocations: 3.531 kB / 0.8221 GB, free: 158.3 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.001163/1.787, allocations: 434.8 kB / 0.8225 GB, free: 157.9 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/1.787, allocations: 10.84 kB / 0.8225 GB, free: 157.9 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01021/1.797, allocations: 459.2 kB / 0.823 GB, free: 157.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/1.798, allocations: 169.9 kB / 0.8231 GB, free: 157.5 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/1.798, allocations: 6.609 kB / 0.8231 GB, free: 157.5 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001231/1.798, allocations: 7.906 kB / 0.8232 GB, free: 157.5 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001273/1.799, allocations: 301.3 kB / 0.8234 GB, free: 157.3 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/1.799, allocations: 0 / 0.8234 GB, free: 157.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.006e-05/1.799, allocations: 11.66 kB / 0.8235 GB, free: 157.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/1.799, allocations: 0 / 0.8235 GB, free: 157.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001392/1.8, allocations: 271.7 kB / 0.8237 GB, free: 157.1 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001392/1.802, allocations: 426.6 kB / 0.8241 GB, free: 156.7 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001723/1.804, allocations: 222.5 kB / 0.8243 GB, free: 156.6 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.709e-05/1.804, allocations: 0 / 0.8243 GB, free: 156.6 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.813e-05/1.804, allocations: 38.39 kB / 0.8244 GB, free: 156.6 MB / 426.7 MB Notification: Performance of pre-optimization done (n=13): time 1.482e-06/1.804, allocations: 0 / 0.8244 GB, free: 156.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=17): time 0.002912/1.807, allocations: 418 kB / 0.8248 GB, free: 156.3 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/1.807, allocations: 55.41 kB / 0.8248 GB, free: 156.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.438e-05/1.807, allocations: 93 kB / 0.8249 GB, free: 156.1 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/1.807, allocations: 29.7 kB / 0.8249 GB, free: 156.1 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.385e-05/1.807, allocations: 170.3 kB / 0.8251 GB, free: 155.9 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.174e-05/1.807, allocations: 67.09 kB / 0.8252 GB, free: 155.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.481e-05/1.807, allocations: 3.938 kB / 0.8252 GB, free: 155.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.459e-05/1.807, allocations: 318.8 kB / 0.8255 GB, free: 155.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004541/1.808, allocations: 80.27 kB / 0.8255 GB, free: 155.4 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000469/1.808, allocations: 121.1 kB / 0.8257 GB, free: 155.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004649/1.809, allocations: 79.97 kB / 0.8257 GB, free: 155.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/1.809, allocations: 0 / 0.8257 GB, free: 155.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001075/1.81, allocations: 249.3 kB / 0.826 GB, free: 155 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/1.81, allocations: 4 kB / 0.826 GB, free: 155 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/1.81, allocations: 0 / 0.826 GB, free: 155 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/1.81, allocations: 4 kB / 0.826 GB, free: 155 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006613/1.81, allocations: 51.95 kB / 0.826 GB, free: 154.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/1.81, allocations: 16.02 kB / 0.826 GB, free: 154.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000422/1.811, allocations: 11.98 kB / 0.8261 GB, free: 154.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.138e-05/1.811, allocations: 15.98 kB / 0.8261 GB, free: 154.9 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 () * Number of clocked 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.0001154/1.811, allocations: 117.8 kB / 0.8262 GB, free: 154.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.493e-05/1.811, allocations: 7.906 kB / 0.8262 GB, free: 154.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001352/1.812, allocations: 276.6 kB / 0.8265 GB, free: 154.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/1.812, allocations: 4 kB / 0.8265 GB, free: 154.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/1.812, allocations: 0 / 0.8265 GB, free: 154.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.513e-06/1.812, allocations: 11.94 kB / 0.8265 GB, free: 154.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001779/1.814, allocations: 0.5677 MB / 0.827 GB, free: 153.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/1.814, allocations: 0 / 0.827 GB, free: 153.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005599/1.815, allocations: 51.89 kB / 0.8271 GB, free: 153.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/1.815, allocations: 4 kB / 0.8271 GB, free: 153.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.968e-05/1.815, allocations: 0 / 0.8271 GB, free: 153.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/1.815, allocations: 11.97 kB / 0.8271 GB, free: 153.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/1.815, allocations: 3.938 kB / 0.8271 GB, free: 153.8 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/1.816, allocations: 355.2 kB / 0.8274 GB, free: 153.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.07e-05/1.816, allocations: 81.11 kB / 0.8275 GB, free: 153.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.809e-05/1.816, allocations: 11.94 kB / 0.8275 GB, free: 153.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004348/1.817, allocations: 11.98 kB / 0.8275 GB, free: 153.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.615e-05/1.817, allocations: 15.98 kB / 0.8275 GB, free: 153.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.951e-05/1.817, allocations: 11.98 kB / 0.8276 GB, free: 153.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.771e-05/1.817, allocations: 83.28 kB / 0.8276 GB, free: 153.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.61e-07/1.817, allocations: 0 / 0.8276 GB, free: 153.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006082/1.817, allocations: 71.94 kB / 0.8277 GB, free: 153.1 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 () * Number of clocked 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.0008618/1.818, allocations: 0.5193 MB / 0.8282 GB, free: 152.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00113/1.819, allocations: 199.8 kB / 0.8284 GB, free: 152.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/1.819, allocations: 0 / 0.8284 GB, free: 152.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005008/1.82, allocations: 103.9 kB / 0.8285 GB, free: 152.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005072/1.82, allocations: 36.28 kB / 0.8285 GB, free: 152.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/1.822, allocations: 338.1 kB / 0.8289 GB, free: 151.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001621/1.822, allocations: 0.6974 MB / 0.8295 GB, free: 151.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003308/1.822, allocations: 35.41 kB / 0.8296 GB, free: 151.1 MB / 426.7 MB Notification: Performance of SimCode: time 9.82e-07/1.822, allocations: 0 / 0.8296 GB, free: 151.1 MB / 426.7 MB Notification: Performance of Templates: time 0.01034/1.833, allocations: 4.832 MB / 0.8343 GB, free: 146.3 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