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.002079/0.002079, allocations: 200.8 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.509/1.509, allocations: 225.6 MB / 234.8 MB, free: 3.312 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000842/0.0008419, allocations: 87.67 kB / 286.7 MB, free: 5.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.901e-05/1.921e-05, allocations: 4 kB / 343.7 MB, free: 8.328 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09803/0.09806, allocations: 51.49 MB / 395.2 MB, free: 4.797 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.091/1.19, allocations: 443.4 MB / 0.8189 GB, free: 78.56 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003113/1.19, allocations: 64.78 kB / 0.8189 GB, free: 78.53 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04998/1.24, allocations: 24.95 MB / 0.8433 GB, free: 58.19 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.713e-06/1.24, allocations: 0 / 0.8433 GB, free: 58.19 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.284e-06/1.24, allocations: 4 kB / 0.8433 GB, free: 58.18 MB / 442.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.0008239/1.241, allocations: 448.6 kB / 0.8437 GB, free: 57.71 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/1.241, allocations: 8.031 kB / 0.8437 GB, free: 57.71 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005631/1.247, allocations: 460.8 kB / 0.8442 GB, free: 57.29 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.153e-05/1.247, allocations: 171 kB / 0.8443 GB, free: 57.09 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/1.247, allocations: 0 / 0.8443 GB, free: 57.09 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.067e-05/1.247, allocations: 8 kB / 0.8444 GB, free: 57.08 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004167/1.247, allocations: 228.5 kB / 0.8446 GB, free: 56.93 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/1.247, allocations: 112.9 kB / 0.8447 GB, free: 56.84 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/1.247, allocations: 4 kB / 0.8447 GB, free: 56.83 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.134e-05/1.247, allocations: 0 / 0.8447 GB, free: 56.83 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/1.247, allocations: 0 / 0.8447 GB, free: 56.83 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009103/1.248, allocations: 396.2 kB / 0.8451 GB, free: 56.46 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007629/1.249, allocations: 174.3 kB / 0.8452 GB, free: 56.33 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.035e-05/1.249, allocations: 60.34 kB / 0.8453 GB, free: 56.29 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.486e-05/1.249, allocations: 4 kB / 0.8453 GB, free: 56.28 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/1.249, allocations: 37.69 kB / 0.8453 GB, free: 56.24 MB / 442.7 MB Notification: Performance of pre-optimization done (n=13): time 1.653e-06/1.249, allocations: 3.938 kB / 0.8453 GB, free: 56.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=17): time 0.00105/1.25, allocations: 285.2 kB / 0.8456 GB, free: 56.01 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.411e-05/1.25, allocations: 53.56 kB / 0.8456 GB, free: 55.95 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.232e-05/1.25, allocations: 100.7 kB / 0.8457 GB, free: 55.85 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/1.251, allocations: 25.7 kB / 0.8458 GB, free: 55.82 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.259e-05/1.251, allocations: 103.5 kB / 0.8459 GB, free: 55.71 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.821e-05/1.251, allocations: 55.02 kB / 0.8459 GB, free: 55.67 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.991e-05/1.251, allocations: 0 / 0.8459 GB, free: 55.67 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.902e-05/1.251, allocations: 318.8 kB / 0.8462 GB, free: 55.35 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.346e-05/1.251, allocations: 58.36 kB / 0.8463 GB, free: 55.31 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.956e-05/1.251, allocations: 101.3 kB / 0.8464 GB, free: 55.22 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.082e-05/1.251, allocations: 65.58 kB / 0.8464 GB, free: 55.18 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/1.251, allocations: 4 kB / 0.8464 GB, free: 55.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002609/1.251, allocations: 181.2 kB / 0.8466 GB, free: 55.04 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/1.251, allocations: 8.125 kB / 0.8466 GB, free: 55.03 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/1.251, allocations: 7.938 kB / 0.8466 GB, free: 55.02 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/1.251, allocations: 4 kB / 0.8466 GB, free: 55.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003352/1.252, allocations: 51.52 kB / 0.8467 GB, free: 54.97 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/1.252, allocations: 0 / 0.8467 GB, free: 54.97 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002242/1.252, allocations: 11.98 kB / 0.8467 GB, free: 54.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.411e-05/1.252, allocations: 11.98 kB / 0.8467 GB, free: 54.95 MB / 442.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 8.084e-05/1.252, allocations: 108.9 kB / 0.8468 GB, free: 54.83 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.657e-05/1.252, allocations: 11.91 kB / 0.8468 GB, free: 54.82 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004268/1.252, allocations: 225.1 kB / 0.847 GB, free: 54.65 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/1.253, allocations: 0 / 0.847 GB, free: 54.65 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/1.253, allocations: 9.875 kB / 0.847 GB, free: 54.64 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/1.253, allocations: 3.938 kB / 0.847 GB, free: 54.64 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006739/1.253, allocations: 0.4974 MB / 0.8475 GB, free: 54.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/1.253, allocations: 0 / 0.8475 GB, free: 54.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003039/1.254, allocations: 44.02 kB / 0.8476 GB, free: 54.12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/1.254, allocations: 4 kB / 0.8476 GB, free: 54.12 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.766e-05/1.254, allocations: 7.984 kB / 0.8476 GB, free: 54.11 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/1.254, allocations: 4 kB / 0.8476 GB, free: 54.11 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/1.254, allocations: 0 / 0.8476 GB, free: 54.11 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002661/1.254, allocations: 303 kB / 0.8479 GB, free: 53.82 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.433e-05/1.254, allocations: 89 kB / 0.848 GB, free: 53.71 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.316e-05/1.254, allocations: 3.953 kB / 0.848 GB, free: 53.71 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002461/1.254, allocations: 15.92 kB / 0.848 GB, free: 53.7 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.568e-05/1.254, allocations: 7.984 kB / 0.848 GB, free: 53.69 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.157e-05/1.254, allocations: 11.62 kB / 0.848 GB, free: 53.68 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.263e-05/1.254, allocations: 83.27 kB / 0.8481 GB, free: 53.6 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.254, allocations: 0 / 0.8481 GB, free: 53.6 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004181/1.255, allocations: 77.86 kB / 0.8482 GB, free: 53.54 MB / 442.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.0006471/1.255, allocations: 0.5917 MB / 0.8487 GB, free: 52.97 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002487/1.256, allocations: 153.6 kB / 0.8489 GB, free: 52.86 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/1.256, allocations: 4 kB / 0.8489 GB, free: 52.86 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 9.69e-05/1.256, allocations: 73.55 kB / 0.849 GB, free: 52.81 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003095/1.256, allocations: 37.2 kB / 0.849 GB, free: 52.78 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004592/1.257, allocations: 161 kB / 0.8491 GB, free: 52.61 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001085/1.257, allocations: 0.6932 MB / 0.8498 GB, free: 51.88 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003715/1.257, allocations: 60.72 kB / 0.8499 GB, free: 51.82 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/1.257, allocations: 35.41 kB / 0.8499 GB, free: 51.79 MB / 442.7 MB Notification: Performance of SimCode: time 3.3e-07/1.257, allocations: 4 kB / 0.8499 GB, free: 51.79 MB / 442.7 MB Notification: Performance of Templates: time 0.007825/1.265, allocations: 5.422 MB / 0.8552 GB, free: 46.42 MB / 442.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