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.001583/0.001584, allocations: 200.7 kB / 18.11 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 226.5 MB / 245.4 MB, free: 6.336 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009682/0.0009681, allocations: 95.11 kB / 297.5 MB, free: 6.652 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002373/0.0002374, allocations: 4 kB / 358.1 MB, free: 10.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.2562, allocations: 51.3 MB / 409.4 MB, free: 27.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.834/1.09, allocations: 444.1 MB / 0.8334 GB, free: 11.23 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002675/1.091, allocations: 69.47 kB / 0.8335 GB, free: 11.2 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2812/1.372, allocations: 25.51 MB / 0.8584 GB, free: 170 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.743e-06/1.372, allocations: 4 kB / 0.8584 GB, free: 170 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.09e-06/1.372, allocations: 0 / 0.8584 GB, free: 170 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.000736/1.373, allocations: 443.7 kB / 0.8588 GB, free: 169.6 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/1.373, allocations: 9.281 kB / 0.8588 GB, free: 169.6 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005341/1.378, allocations: 464.7 kB / 0.8593 GB, free: 169.6 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.462e-05/1.378, allocations: 165.3 kB / 0.8595 GB, free: 169.4 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/1.378, allocations: 6.875 kB / 0.8595 GB, free: 169.4 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.483e-05/1.378, allocations: 10.31 kB / 0.8595 GB, free: 169.4 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006603/1.379, allocations: 296.5 kB / 0.8597 GB, free: 169.4 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/1.379, allocations: 192 / 0.8597 GB, free: 169.4 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.192e-05/1.379, allocations: 18.52 kB / 0.8598 GB, free: 169.4 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/1.379, allocations: 0 / 0.8598 GB, free: 169.4 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007063/1.38, allocations: 274.6 kB / 0.86 GB, free: 169.4 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008787/1.381, allocations: 436.3 kB / 0.8604 GB, free: 169.1 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009142/1.381, allocations: 224.4 kB / 0.8607 GB, free: 169 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000166/1.382, allocations: 71 kB / 0.8607 GB, free: 169 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/1.382, allocations: 5.266 kB / 0.8607 GB, free: 169 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.539e-05/1.382, allocations: 40.53 kB / 0.8608 GB, free: 169 MB / 458.7 MB Notification: Performance of pre-optimization done (n=13): time 1.453e-06/1.382, allocations: 0 / 0.8608 GB, free: 169 MB / 458.7 MB Notification: Performance of matching and sorting (n=17): time 0.001573/1.383, allocations: 413.9 kB / 0.8612 GB, free: 168.9 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.115e-05/1.383, allocations: 58.41 kB / 0.8612 GB, free: 168.9 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.797e-05/1.383, allocations: 102.7 kB / 0.8613 GB, free: 168.8 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/1.383, allocations: 28.2 kB / 0.8613 GB, free: 168.7 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.351e-05/1.384, allocations: 98.2 kB / 0.8614 GB, free: 168.6 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.719e-05/1.384, allocations: 57.05 kB / 0.8615 GB, free: 168.6 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.641e-05/1.384, allocations: 6.906 kB / 0.8615 GB, free: 168.6 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 5.157e-05/1.384, allocations: 321.2 kB / 0.8618 GB, free: 168.3 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000228/1.384, allocations: 76.38 kB / 0.8619 GB, free: 168.3 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002329/1.384, allocations: 122.7 kB / 0.862 GB, free: 168.2 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000493/1.385, allocations: 202.5 kB / 0.8622 GB, free: 168.2 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/1.385, allocations: 0 / 0.8622 GB, free: 168.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005635/1.385, allocations: 235.8 kB / 0.8624 GB, free: 168.1 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/1.385, allocations: 10.97 kB / 0.8624 GB, free: 168.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.872e-06/1.385, allocations: 0 / 0.8624 GB, free: 168.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/1.385, allocations: 10.81 kB / 0.8624 GB, free: 168.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003433/1.386, allocations: 54.12 kB / 0.8625 GB, free: 168.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/1.386, allocations: 0 / 0.8625 GB, free: 168.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002333/1.386, allocations: 12.58 kB / 0.8625 GB, free: 168.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.394e-05/1.386, allocations: 14.06 kB / 0.8625 GB, free: 168.1 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 8.358e-05/1.386, allocations: 123.7 kB / 0.8626 GB, free: 167.9 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.851e-05/1.386, allocations: 7.844 kB / 0.8626 GB, free: 167.9 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007323/1.387, allocations: 274.2 kB / 0.8629 GB, free: 167.8 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/1.387, allocations: 11.81 kB / 0.8629 GB, free: 167.8 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/1.387, allocations: 4 kB / 0.8629 GB, free: 167.8 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/1.387, allocations: 7.078 kB / 0.8629 GB, free: 167.8 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001034/1.388, allocations: 0.5757 MB / 0.8635 GB, free: 167.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/1.388, allocations: 3.25 kB / 0.8635 GB, free: 167.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000303/1.388, allocations: 45.02 kB / 0.8635 GB, free: 167.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/1.388, allocations: 0 / 0.8635 GB, free: 167.4 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.257e-05/1.388, allocations: 11.56 kB / 0.8635 GB, free: 167.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/1.388, allocations: 4.062 kB / 0.8635 GB, free: 167.4 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.388, allocations: 3.156 kB / 0.8635 GB, free: 167.4 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005473/1.389, allocations: 335.8 kB / 0.8639 GB, free: 167.1 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.19e-05/1.389, allocations: 86.61 kB / 0.864 GB, free: 167 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.118e-05/1.389, allocations: 4 kB / 0.864 GB, free: 167 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002397/1.389, allocations: 13.06 kB / 0.864 GB, free: 167 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/1.389, allocations: 17.33 kB / 0.864 GB, free: 167 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.252e-05/1.389, allocations: 13.06 kB / 0.864 GB, free: 167 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.388e-05/1.389, allocations: 78.72 kB / 0.8641 GB, free: 167 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/1.389, allocations: 0 / 0.8641 GB, free: 167 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004457/1.39, allocations: 86.11 kB / 0.8642 GB, free: 166.9 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.0006268/1.39, allocations: 0.5079 MB / 0.8646 GB, free: 166.7 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0005517/1.391, allocations: 201.4 kB / 0.8648 GB, free: 166.7 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/1.391, allocations: 2.938 kB / 0.8648 GB, free: 166.7 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002406/1.391, allocations: 98.64 kB / 0.8649 GB, free: 166.6 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004113/1.392, allocations: 42.33 kB / 0.865 GB, free: 166.6 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007191/1.392, allocations: 317.8 kB / 0.8653 GB, free: 166.4 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001236/1.392, allocations: 0.6928 MB / 0.866 GB, free: 165.7 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004117/1.393, allocations: 56.09 kB / 0.866 GB, free: 165.7 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000143/1.393, allocations: 32.92 kB / 0.866 GB, free: 165.7 MB / 458.7 MB Notification: Performance of SimCode: time 2.7e-07/1.393, allocations: 0 / 0.866 GB, free: 165.7 MB / 458.7 MB Notification: Performance of Templates: time 0.01146/1.404, allocations: 9.163 MB / 0.875 GB, free: 158.2 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/jenkins1/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