Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 110.8 kB / 21.19 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 211.6 kB / 24.49 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.456/1.456, allocations: 230.6 MB / 258.3 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Media.Examples.IdealGasH2O") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 43.92 kB / 379 MB, free: 2.504 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2127, allocations: 53.37 MB / 432.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3563/0.5689, allocations: 131.3 MB / 0.5504 GB, free: 1.234 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001966/0.5709, allocations: 2.254 MB / 0.5526 GB, free: 1.23 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.699e-05/0.5709, allocations: 1.125 kB / 0.5526 GB, free: 1.23 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001344/0.5711, allocations: 23.45 kB / 0.5526 GB, free: 1.23 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007043/0.5718, allocations: 343.3 kB / 0.5529 GB, free: 1.227 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001526/0.5719, allocations: 62.62 kB / 0.553 GB, free: 1.223 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.619e-05/0.572, allocations: 106.3 kB / 0.5531 GB, free: 1.223 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.66e-05/0.5721, allocations: 6.828 kB / 0.5531 GB, free: 1.223 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.657e-05/0.5721, allocations: 43.36 kB / 0.5532 GB, free: 1.223 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.301e-05/0.5722, allocations: 41.3 kB / 0.5532 GB, free: 1.223 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.5722, allocations: 6.5 kB / 0.5532 GB, free: 1.223 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005204/0.5727, allocations: 353.5 kB / 0.5535 GB, free: 1.219 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.511e-05/0.5728, allocations: 16.84 kB / 0.5536 GB, free: 1.219 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.663e-05/0.5728, allocations: 29.05 kB / 0.5536 GB, free: 1.219 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003923/0.5732, allocations: 319.3 kB / 0.5539 GB, free: 1.203 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.5732, allocations: 1.062 kB / 0.5539 GB, free: 1.203 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.5732, allocations: 3 kB / 0.5539 GB, free: 1.203 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.5732, allocations: 0 / 0.5539 GB, free: 1.203 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.0009204/0.5741, allocations: 387.4 kB / 0.5543 GB, free: 16.9 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.5741, allocations: 8.25 kB / 0.5543 GB, free: 16.9 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006626/0.5808, allocations: 467.3 kB / 0.5547 GB, free: 16.89 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.5809, allocations: 126.8 kB / 0.5548 GB, free: 16.76 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.5809, allocations: 6.703 kB / 0.5548 GB, free: 16.75 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.487e-05/0.581, allocations: 9.281 kB / 0.5548 GB, free: 16.75 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000731/0.5817, allocations: 298.9 kB / 0.5551 GB, free: 16.72 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.5817, allocations: 0.875 kB / 0.5551 GB, free: 16.72 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.068e-05/0.5818, allocations: 0 / 0.5551 GB, free: 16.72 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.5818, allocations: 2.312 kB / 0.5551 GB, free: 16.72 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007499/0.5825, allocations: 273.8 kB / 0.5554 GB, free: 16.72 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002197/0.5828, allocations: 177.9 kB / 0.5556 GB, free: 16.57 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003605/0.5831, allocations: 152.6 kB / 0.5557 GB, free: 16.55 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001946/0.5833, allocations: 79.25 kB / 0.5558 GB, free: 16.54 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.5833, allocations: 4.656 kB / 0.5558 GB, free: 16.54 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.5834, allocations: 40.06 kB / 0.5558 GB, free: 16.5 MB / 462.1 MB Notification: Performance of pre-optimization done (n=17): time 1.363e-06/0.5834, allocations: 0 / 0.5558 GB, free: 16.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=24): time 0.00212/0.5855, allocations: 0.5746 MB / 0.5564 GB, free: 16.45 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.5855, allocations: 54.31 kB / 0.5564 GB, free: 16.38 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.428e-05/0.5856, allocations: 114.6 kB / 0.5566 GB, free: 16.28 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.673e-05/0.5856, allocations: 29.33 kB / 0.5566 GB, free: 16.25 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.968e-05/0.5857, allocations: 87.73 kB / 0.5567 GB, free: 16.17 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.98e-05/0.5857, allocations: 87.98 kB / 0.5567 GB, free: 16.11 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.156e-05/0.5858, allocations: 46.3 kB / 0.5568 GB, free: 16.1 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.586, allocations: 320.6 kB / 0.5571 GB, free: 15.79 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002786/0.5862, allocations: 98.89 kB / 0.5572 GB, free: 15.79 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002672/0.5865, allocations: 109.2 kB / 0.5573 GB, free: 15.79 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005458/0.5871, allocations: 221.7 kB / 0.5575 GB, free: 15.77 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.5871, allocations: 4.969 kB / 0.5575 GB, free: 15.77 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006859/0.5877, allocations: 286 kB / 0.5578 GB, free: 15.73 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.5877, allocations: 9.797 kB / 0.5578 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.5878, allocations: 3.625 kB / 0.5578 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.5878, allocations: 0 / 0.5578 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004773/0.5882, allocations: 51.97 kB / 0.5578 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.5882, allocations: 320 / 0.5578 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003002/0.5885, allocations: 21.84 kB / 0.5579 GB, free: 15.72 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.642e-05/0.5886, allocations: 15.95 kB / 0.5579 GB, free: 15.72 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.000127/0.5887, allocations: 115.8 kB / 0.558 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.778e-05/0.5887, allocations: 14.84 kB / 0.558 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008836/0.5896, allocations: 358.6 kB / 0.5584 GB, free: 15.56 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.5896, allocations: 3.812 kB / 0.5584 GB, free: 15.56 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.5896, allocations: 0.6875 kB / 0.5584 GB, free: 15.56 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.414e-05/0.5897, allocations: 14.56 kB / 0.5584 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.158e-05/0.5897, allocations: 6.531 kB / 0.5584 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003281/0.59, allocations: 16.56 kB / 0.5584 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.908e-05/0.5901, allocations: 19.36 kB / 0.5584 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001026/0.5911, allocations: 393.3 kB / 0.5588 GB, free: 15.44 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007664/0.5919, allocations: 481.5 kB / 0.5592 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002876/0.5921, allocations: 122 kB / 0.5594 GB, free: 15.21 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.929e-05/0.5922, allocations: 89.81 kB / 0.5594 GB, free: 15.14 MB / 462.1 MB Notification: Performance of Backend: time 3.5e-07/0.5922, allocations: 4.125 kB / 0.5594 GB, free: 15.14 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0009758/0.5932, allocations: 332.2 kB / 0.5598 GB, free: 15.06 MB / 462.1 MB Notification: Performance of SimCode: time 0.0006619/0.5938, allocations: 0.6769 MB / 0.5604 GB, free: 14.44 MB / 462.1 MB Notification: Performance of Templates: time 0.008678/0.6025, allocations: 6.525 MB / 0.5668 GB, free: 13.84 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 4.845452944995486]