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/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001983/0.001983, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002311/0.002311, allocations: 210.5 kB / 24.48 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.529/1.529, allocations: 230.5 MB / 258.1 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.IdealGasH2O") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 63.89 kB / 379 MB, free: 2.438 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2593/0.2613, allocations: 53.41 MB / 432.4 MB, free: 6.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.4096/0.6709, allocations: 131.3 MB / 0.5504 GB, free: 1.242 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002285/0.6732, allocations: 2.258 MB / 0.5526 GB, free: 1.234 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.945e-05/0.6732, allocations: 3.188 kB / 0.5527 GB, free: 1.234 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001587/0.6734, allocations: 20.73 kB / 0.5527 GB, free: 1.234 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009853/0.6744, allocations: 337.4 kB / 0.553 GB, free: 1.23 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002204/0.6746, allocations: 67.06 kB / 0.5531 GB, free: 1.227 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.6747, allocations: 97.47 kB / 0.5531 GB, free: 1.227 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.937e-05/0.6748, allocations: 5.188 kB / 0.5532 GB, free: 1.227 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.6749, allocations: 51.44 kB / 0.5532 GB, free: 1.227 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.393e-05/0.6749, allocations: 34.92 kB / 0.5532 GB, free: 1.227 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.675, allocations: 3.562 kB / 0.5532 GB, free: 1.227 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006789/0.6756, allocations: 344.2 kB / 0.5536 GB, free: 1.223 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.897e-05/0.6757, allocations: 16.08 kB / 0.5536 GB, free: 1.223 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.427e-05/0.6757, allocations: 33.42 kB / 0.5536 GB, free: 1.223 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004588/0.6762, allocations: 312.8 kB / 0.5539 GB, free: 1.207 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.6762, allocations: 4.344 kB / 0.5539 GB, free: 1.207 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.6762, allocations: 3.656 kB / 0.5539 GB, free: 1.207 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.6762, allocations: 0.8125 kB / 0.5539 GB, free: 1.207 MB / 446.1 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.0009593/0.6771, allocations: 386.6 kB / 0.5543 GB, free: 16.91 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.6772, allocations: 13.14 kB / 0.5543 GB, free: 16.9 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006101/0.6833, allocations: 463.2 kB / 0.5547 GB, free: 16.89 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.6834, allocations: 129.6 kB / 0.5549 GB, free: 16.76 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.6834, allocations: 4.062 kB / 0.5549 GB, free: 16.76 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/0.6835, allocations: 9.531 kB / 0.5549 GB, free: 16.76 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007206/0.6843, allocations: 296 kB / 0.5552 GB, free: 16.73 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.6843, allocations: 5.812 kB / 0.5552 GB, free: 16.73 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.378e-05/0.6843, allocations: 0.875 kB / 0.5552 GB, free: 16.73 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.6843, allocations: 2.656 kB / 0.5552 GB, free: 16.73 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007415/0.6851, allocations: 273.2 kB / 0.5554 GB, free: 16.73 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002595/0.6853, allocations: 179.1 kB / 0.5556 GB, free: 16.58 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003732/0.6857, allocations: 149.6 kB / 0.5557 GB, free: 16.55 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001938/0.6859, allocations: 82.52 kB / 0.5558 GB, free: 16.55 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.509e-05/0.6859, allocations: 3.969 kB / 0.5558 GB, free: 16.55 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.686, allocations: 33.19 kB / 0.5559 GB, free: 16.51 MB / 462.1 MB Notification: Performance of pre-optimization done (n=17): time 2.625e-06/0.686, allocations: 0.6562 kB / 0.5559 GB, free: 16.51 MB / 462.1 MB Notification: Performance of matching and sorting (n=24): time 0.002027/0.688, allocations: 0.5824 MB / 0.5564 GB, free: 16.45 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/0.688, allocations: 56.81 kB / 0.5565 GB, free: 16.39 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.4e-05/0.6881, allocations: 118.2 kB / 0.5566 GB, free: 16.29 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.58e-05/0.6882, allocations: 29.33 kB / 0.5566 GB, free: 16.25 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.902e-05/0.6882, allocations: 86.23 kB / 0.5567 GB, free: 16.17 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.505e-05/0.6883, allocations: 84.14 kB / 0.5568 GB, free: 16.12 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.886e-05/0.6884, allocations: 45.91 kB / 0.5568 GB, free: 16.1 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.6885, allocations: 320.3 kB / 0.5571 GB, free: 15.79 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002783/0.6888, allocations: 99.25 kB / 0.5572 GB, free: 15.79 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002664/0.689, allocations: 105.2 kB / 0.5573 GB, free: 15.79 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005472/0.6896, allocations: 228.3 kB / 0.5575 GB, free: 15.78 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.6896, allocations: 1.969 kB / 0.5576 GB, free: 15.78 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006675/0.6903, allocations: 285.2 kB / 0.5578 GB, free: 15.73 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.6903, allocations: 5.656 kB / 0.5578 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.6903, allocations: 2.438 kB / 0.5578 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.6903, allocations: 0.8125 kB / 0.5578 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004326/0.6907, allocations: 55.16 kB / 0.5579 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.6907, allocations: 6.312 kB / 0.5579 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002643/0.691, allocations: 16.3 kB / 0.5579 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.63e-05/0.691, allocations: 12.12 kB / 0.5579 GB, free: 15.73 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001297/0.6912, allocations: 126.1 kB / 0.558 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.529e-05/0.6912, allocations: 13.69 kB / 0.5581 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008671/0.6921, allocations: 352.9 kB / 0.5584 GB, free: 15.56 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.6921, allocations: 7.234 kB / 0.5584 GB, free: 15.56 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.6921, allocations: 8.25 kB / 0.5584 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.6921, allocations: 0.9062 kB / 0.5584 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001361/0.6935, allocations: 0.6285 MB / 0.559 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.6935, allocations: 2.938 kB / 0.559 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003837/0.6938, allocations: 61.19 kB / 0.5591 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.6938, allocations: 6.125 kB / 0.5591 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.607e-05/0.6939, allocations: 8.359 kB / 0.5591 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.6939, allocations: 3.594 kB / 0.5591 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.6939, allocations: 4.469 kB / 0.5591 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007304/0.6946, allocations: 405.5 kB / 0.5595 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.285e-05/0.6946, allocations: 17.41 kB / 0.5595 GB, free: 15.08 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.011e-05/0.6947, allocations: 11.05 kB / 0.5595 GB, free: 15.08 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003058/0.695, allocations: 16.03 kB / 0.5595 GB, free: 15.08 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.697e-05/0.695, allocations: 22.92 kB / 0.5596 GB, free: 15.08 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.978e-05/0.695, allocations: 14.56 kB / 0.5596 GB, free: 15.08 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.98e-05/0.6951, allocations: 92.34 kB / 0.5597 GB, free: 15 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6951, allocations: 0 / 0.5597 GB, free: 15 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003521/0.6955, allocations: 59.22 kB / 0.5597 GB, free: 15 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000251/0.6957, allocations: 130.9 kB / 0.5598 GB, free: 14.9 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006655/0.6964, allocations: 243.8 kB / 0.5601 GB, free: 14.9 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.6964, allocations: 1.203 kB / 0.5601 GB, free: 14.9 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003054/0.6967, allocations: 128.4 kB / 0.5602 GB, free: 14.9 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005416/0.6972, allocations: 54.44 kB / 0.5602 GB, free: 14.89 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008748/0.6981, allocations: 378.3 kB / 0.5606 GB, free: 14.66 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.927e-05/0.6982, allocations: 91.8 kB / 0.5607 GB, free: 14.59 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001915/0.6984, allocations: 40.5 kB / 0.5607 GB, free: 14.59 MB / 462.1 MB Notification: Performance of SimCode: time 6.51e-07/0.6984, allocations: 0 / 0.5607 GB, free: 14.59 MB / 462.1 MB Notification: Performance of Templates: time 0.004522/0.7029, allocations: 2.984 MB / 0.5636 GB, free: 14.36 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.IdealGasH2O_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.642786690965295]