Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Media.Examples.IdealGasH2O") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001102/0.001102, allocations: 197.5 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.206/1.206, allocations: 227.2 MB / 245 MB, free: 7.547 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008381/0.000838, allocations: 105.2 kB / 297.3 MB, free: 6.188 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000203/0.0002031, allocations: 4 kB / 357.9 MB, free: 9.547 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.196/0.1962, allocations: 51.48 MB / 409.4 MB, free: 26.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6835/0.8797, allocations: 444.1 MB / 0.8335 GB, free: 8.703 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001938/0.88, allocations: 68.41 kB / 0.8336 GB, free: 8.668 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.213/1.093, allocations: 25.52 MB / 0.8585 GB, free: 171.3 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.244e-06/1.093, allocations: 3.906 kB / 0.8585 GB, free: 171.3 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.42e-06/1.093, allocations: 0 / 0.8585 GB, free: 171.3 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.00082/1.094, allocations: 451.7 kB / 0.8589 GB, free: 170.9 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/1.094, allocations: 10.94 kB / 0.8589 GB, free: 170.9 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005758/1.1, allocations: 457.8 kB / 0.8594 GB, free: 170.9 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.609e-05/1.1, allocations: 173 kB / 0.8595 GB, free: 170.7 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/1.1, allocations: 3.312 kB / 0.8595 GB, free: 170.7 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.6e-05/1.1, allocations: 7.312 kB / 0.8595 GB, free: 170.7 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006688/1.101, allocations: 301.9 kB / 0.8598 GB, free: 170.6 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/1.101, allocations: 0 / 0.8598 GB, free: 170.6 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.362e-05/1.101, allocations: 3.906 kB / 0.8598 GB, free: 170.6 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/1.101, allocations: 0 / 0.8598 GB, free: 170.6 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006955/1.101, allocations: 273.8 kB / 0.8601 GB, free: 170.5 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008587/1.102, allocations: 430.9 kB / 0.8605 GB, free: 170.1 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009531/1.103, allocations: 230.3 kB / 0.8607 GB, free: 170.1 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/1.103, allocations: 0 / 0.8607 GB, free: 170.1 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.54e-05/1.103, allocations: 34.44 kB / 0.8608 GB, free: 170 MB / 458.7 MB Notification: Performance of pre-optimization done (n=13): time 1.092e-06/1.103, allocations: 0 / 0.8608 GB, free: 170 MB / 458.7 MB Notification: Performance of matching and sorting (n=17): time 0.001597/1.105, allocations: 411.3 kB / 0.8611 GB, free: 169.9 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.865e-05/1.105, allocations: 51.41 kB / 0.8612 GB, free: 169.8 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.263e-05/1.105, allocations: 109 kB / 0.8613 GB, free: 169.7 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/1.105, allocations: 29.7 kB / 0.8613 GB, free: 169.7 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.086e-05/1.105, allocations: 91.89 kB / 0.8614 GB, free: 169.6 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.554e-05/1.105, allocations: 66.52 kB / 0.8615 GB, free: 169.5 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.696e-05/1.105, allocations: 4 kB / 0.8615 GB, free: 169.5 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 3.616e-05/1.105, allocations: 314.7 kB / 0.8618 GB, free: 169.2 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002313/1.105, allocations: 84.59 kB / 0.8619 GB, free: 169.1 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002354/1.106, allocations: 116.2 kB / 0.862 GB, free: 169 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002286/1.106, allocations: 86.78 kB / 0.8621 GB, free: 168.9 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/1.106, allocations: 0 / 0.8621 GB, free: 168.9 MB / 458.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005598/1.106, allocations: 241.3 kB / 0.8623 GB, free: 168.7 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/1.106, allocations: 8 kB / 0.8623 GB, free: 168.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/1.106, allocations: 8.109 kB / 0.8623 GB, free: 168.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/1.106, allocations: 8.031 kB / 0.8623 GB, free: 168.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003464/1.107, allocations: 55.89 kB / 0.8624 GB, free: 168.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/1.107, allocations: 0 / 0.8624 GB, free: 168.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002414/1.107, allocations: 15.98 kB / 0.8624 GB, free: 168.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.116e-05/1.107, allocations: 8 kB / 0.8624 GB, free: 168.6 MB / 458.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 7.896e-05/1.107, allocations: 121.8 kB / 0.8625 GB, free: 168.5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.958e-05/1.107, allocations: 15.86 kB / 0.8625 GB, free: 168.4 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007174/1.108, allocations: 277.8 kB / 0.8628 GB, free: 168.2 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/1.108, allocations: 0 / 0.8628 GB, free: 168.2 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/1.108, allocations: 0 / 0.8628 GB, free: 168.2 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/1.108, allocations: 0 / 0.8628 GB, free: 168.2 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/1.109, allocations: 0.575 MB / 0.8633 GB, free: 167.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/1.109, allocations: 4 kB / 0.8634 GB, free: 167.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003251/1.109, allocations: 51.89 kB / 0.8634 GB, free: 167.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/1.109, allocations: 0 / 0.8634 GB, free: 167.5 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.171e-05/1.109, allocations: 4 kB / 0.8634 GB, free: 167.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/1.109, allocations: 0 / 0.8634 GB, free: 167.5 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/1.109, allocations: 8.062 kB / 0.8634 GB, free: 167.5 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005554/1.11, allocations: 358.6 kB / 0.8638 GB, free: 167.1 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.377e-05/1.11, allocations: 81.11 kB / 0.8638 GB, free: 167 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.952e-05/1.11, allocations: 7.953 kB / 0.8638 GB, free: 167 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000259/1.11, allocations: 15.98 kB / 0.8639 GB, free: 167 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.582e-05/1.11, allocations: 7.984 kB / 0.8639 GB, free: 167 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-05/1.11, allocations: 15.97 kB / 0.8639 GB, free: 166.9 MB / 458.7 MB Notification: Performance of sorting global known variables: time 1.965e-05/1.11, allocations: 83.28 kB / 0.864 GB, free: 166.9 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.11e-07/1.11, allocations: 4 kB / 0.864 GB, free: 166.9 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004275/1.111, allocations: 80.23 kB / 0.864 GB, free: 166.8 MB / 458.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.0005597/1.111, allocations: 0.5205 MB / 0.8645 GB, free: 166.3 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0005391/1.112, allocations: 191.8 kB / 0.8647 GB, free: 166.1 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.112, allocations: 3.938 kB / 0.8647 GB, free: 166.1 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002483/1.112, allocations: 104.2 kB / 0.8648 GB, free: 166 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/1.112, allocations: 33.05 kB / 0.8649 GB, free: 166 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006569/1.113, allocations: 316.5 kB / 0.8652 GB, free: 165.6 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.328e-05/1.113, allocations: 0.6974 MB / 0.8658 GB, free: 164.9 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003735/1.114, allocations: 48.61 kB / 0.8659 GB, free: 164.9 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001411/1.114, allocations: 39.41 kB / 0.8659 GB, free: 164.8 MB / 458.7 MB Notification: Performance of SimCode: time 3.21e-07/1.114, allocations: 0 / 0.8659 GB, free: 164.8 MB / 458.7 MB Notification: Performance of Templates: time 0.009875/1.124, allocations: 9.052 MB / 0.8748 GB, free: 155.8 MB / 458.7 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_trunk_Modelica.Media.Examples.IdealGasH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.IdealGasH2O_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","../files/Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches