Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001902/0.001902, allocations: 119.5 kB / 18.41 MB, free: 4.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002174/0.002175, allocations: 184.3 kB / 21.34 MB, free: 1.723 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 222.9 MB / 247 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Media.Examples.IdealGasH2O") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 55.91 kB / 358.6 MB, free: 8.363 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1147, allocations: 49.44 MB / 408.1 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.4337/0.5484, allocations: 149.2 MB / 0.5442 GB, free: 5.113 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003072/0.5516, allocations: 2.53 MB / 0.5467 GB, free: 2.582 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.964e-05/0.5516, allocations: 0 / 0.5467 GB, free: 2.582 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001802/0.5518, allocations: 23.83 kB / 0.5467 GB, free: 2.559 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009821/0.5529, allocations: 324.7 kB / 0.547 GB, free: 2.246 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001928/0.5531, allocations: 63.72 kB / 0.5471 GB, free: 2.184 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001142/0.5532, allocations: 75.55 kB / 0.5472 GB, free: 2.109 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.767e-05/0.5533, allocations: 4.531 kB / 0.5472 GB, free: 2.105 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.5534, allocations: 31.86 kB / 0.5472 GB, free: 2.074 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.791e-05/0.5535, allocations: 31.84 kB / 0.5472 GB, free: 2.043 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.528e-06/0.5535, allocations: 4 kB / 0.5472 GB, free: 2.039 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007657/0.5543, allocations: 359.5 kB / 0.5476 GB, free: 1.688 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.891e-05/0.5543, allocations: 7.969 kB / 0.5476 GB, free: 1.68 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.964e-05/0.5543, allocations: 27.88 kB / 0.5476 GB, free: 1.652 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005375/0.5549, allocations: 300.4 kB / 0.5479 GB, free: 1.367 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.768e-06/0.5549, allocations: 0 / 0.5479 GB, free: 1.367 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5549, allocations: 0 / 0.5479 GB, free: 1.367 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.5549, allocations: 0 / 0.5479 GB, free: 1.367 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.001122/0.556, allocations: 442.9 kB / 0.5483 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.5561, allocations: 8.031 kB / 0.5483 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005942/0.562, allocations: 456.7 kB / 0.5488 GB, free: 444 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.5623, allocations: 176.1 kB / 0.5489 GB, free: 228 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.398e-05/0.5623, allocations: 8 kB / 0.5489 GB, free: 220 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.657e-05/0.5624, allocations: 4 kB / 0.5489 GB, free: 216 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008311/0.5632, allocations: 301.2 kB / 0.5492 GB, free: 15.91 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.5632, allocations: 0 / 0.5492 GB, free: 15.91 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.755e-05/0.5633, allocations: 8 kB / 0.5492 GB, free: 15.9 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.5633, allocations: 0 / 0.5492 GB, free: 15.9 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008733/0.5642, allocations: 275.8 kB / 0.5495 GB, free: 15.63 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001065/0.5653, allocations: 429.4 kB / 0.5499 GB, free: 15.16 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/0.5663, allocations: 202.4 kB / 0.5501 GB, free: 14.96 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002163/0.5666, allocations: 76.81 kB / 0.5502 GB, free: 14.88 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.073e-05/0.5666, allocations: 3.938 kB / 0.5502 GB, free: 14.88 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.5666, allocations: 41.84 kB / 0.5502 GB, free: 14.83 MB / 462.1 MB Notification: Performance of pre-optimization done (n=13): time 1.784e-06/0.5666, allocations: 0 / 0.5502 GB, free: 14.83 MB / 462.1 MB Notification: Performance of matching and sorting (n=17): time 0.001775/0.5684, allocations: 430.6 kB / 0.5506 GB, free: 14.41 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/0.5685, allocations: 51.41 kB / 0.5507 GB, free: 14.34 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.563e-05/0.5686, allocations: 101.8 kB / 0.5508 GB, free: 14.23 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.168e-05/0.5686, allocations: 33.7 kB / 0.5508 GB, free: 14.2 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.554e-05/0.5687, allocations: 88.05 kB / 0.5509 GB, free: 14.11 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.076e-05/0.5688, allocations: 63.42 kB / 0.551 GB, free: 14.04 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.5689, allocations: 49.62 kB / 0.551 GB, free: 13.99 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.569, allocations: 318.8 kB / 0.5513 GB, free: 13.67 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002734/0.5693, allocations: 75.94 kB / 0.5514 GB, free: 13.59 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003173/0.5696, allocations: 121.5 kB / 0.5515 GB, free: 13.46 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005988/0.5703, allocations: 204.2 kB / 0.5517 GB, free: 13.25 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.5703, allocations: 0 / 0.5517 GB, free: 13.25 MB / 462.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007041/0.571, allocations: 247.4 kB / 0.5519 GB, free: 13 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.571, allocations: 4 kB / 0.5519 GB, free: 13 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.571, allocations: 0 / 0.5519 GB, free: 13 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.571, allocations: 7.984 kB / 0.5519 GB, free: 12.99 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003737/0.5714, allocations: 48.47 kB / 0.552 GB, free: 12.94 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.301e-05/0.5714, allocations: 7.984 kB / 0.552 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002418/0.5717, allocations: 16.11 kB / 0.552 GB, free: 12.92 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.93e-05/0.5717, allocations: 12 kB / 0.552 GB, free: 12.91 MB / 462.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001431/0.5719, allocations: 125.7 kB / 0.5521 GB, free: 12.77 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.537e-05/0.5719, allocations: 8.703 kB / 0.5521 GB, free: 12.77 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008514/0.5728, allocations: 275.1 kB / 0.5524 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.5728, allocations: 4 kB / 0.5524 GB, free: 12.49 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.5728, allocations: 0 / 0.5524 GB, free: 12.49 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.5728, allocations: 4 kB / 0.5524 GB, free: 12.49 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001356/0.5742, allocations: 0.5782 MB / 0.553 GB, free: 11.85 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.5742, allocations: 0 / 0.553 GB, free: 11.85 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003303/0.5745, allocations: 43.95 kB / 0.553 GB, free: 11.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.5746, allocations: 0 / 0.553 GB, free: 11.8 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.551e-05/0.5746, allocations: 8 kB / 0.553 GB, free: 11.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.275e-06/0.5746, allocations: 8.859 kB / 0.553 GB, free: 11.79 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.5746, allocations: 3.938 kB / 0.553 GB, free: 11.79 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007215/0.5753, allocations: 335.1 kB / 0.5534 GB, free: 11.44 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.626e-05/0.5754, allocations: 81.06 kB / 0.5534 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.75e-05/0.5755, allocations: 11.94 kB / 0.5535 GB, free: 11.33 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002599/0.5757, allocations: 19.98 kB / 0.5535 GB, free: 11.31 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.716e-05/0.5758, allocations: 11.92 kB / 0.5535 GB, free: 11.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.011e-05/0.5758, allocations: 15.92 kB / 0.5535 GB, free: 11.29 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.751e-05/0.5759, allocations: 83.28 kB / 0.5536 GB, free: 11.2 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5759, allocations: 0 / 0.5536 GB, free: 11.2 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003328/0.5762, allocations: 40 kB / 0.5536 GB, free: 11.16 MB / 462.1 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 (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.0002654/0.5765, allocations: 139 kB / 0.5537 GB, free: 11.02 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006826/0.5772, allocations: 192.7 kB / 0.5539 GB, free: 10.83 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5772, allocations: 0 / 0.5539 GB, free: 10.83 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003212/0.5775, allocations: 107.8 kB / 0.554 GB, free: 10.73 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000466/0.578, allocations: 35.58 kB / 0.5541 GB, free: 10.7 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000884/0.5789, allocations: 307.5 kB / 0.5544 GB, free: 10.36 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003442/0.5792, allocations: 0.6889 MB / 0.555 GB, free: 9.645 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001888/0.5794, allocations: 43.53 kB / 0.5551 GB, free: 9.602 MB / 462.1 MB Notification: Performance of SimCode: time 3.41e-07/0.5794, allocations: 0 / 0.5551 GB, free: 9.602 MB / 462.1 MB Notification: Performance of Templates: time 0.004813/0.5843, allocations: 2.344 MB / 0.5574 GB, free: 7.258 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 7.487822902039625]