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.001597/0.001597, allocations: 107 kB / 21.18 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.001828/0.001828, allocations: 215.4 kB / 24.48 MB, free: 3.941 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 2.152/2.152, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.002084/0.002084, allocations: 47.92 kB / 379 MB, free: 2.566 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.513/0.515, allocations: 53.37 MB / 432.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.5294/1.044, allocations: 131.3 MB / 0.5504 GB, free: 1.258 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002782/1.047, allocations: 2.258 MB / 0.5526 GB, free: 1.25 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.126e-05/1.047, allocations: 2.188 kB / 0.5526 GB, free: 1.25 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001525/1.047, allocations: 26.77 kB / 0.5526 GB, free: 1.25 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001105/1.049, allocations: 333.5 kB / 0.5529 GB, free: 1.246 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002296/1.049, allocations: 65.88 kB / 0.553 GB, free: 1.242 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001501/1.049, allocations: 101.3 kB / 0.5531 GB, free: 1.242 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.093e-05/1.049, allocations: 12.59 kB / 0.5531 GB, free: 1.242 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/1.049, allocations: 42.16 kB / 0.5531 GB, free: 1.242 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.827e-05/1.049, allocations: 37.38 kB / 0.5532 GB, free: 1.242 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/1.049, allocations: 3.719 kB / 0.5532 GB, free: 1.242 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008405/1.05, allocations: 364.7 kB / 0.5535 GB, free: 1.238 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.841e-05/1.05, allocations: 8.422 kB / 0.5535 GB, free: 1.238 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.947e-05/1.05, allocations: 38 kB / 0.5536 GB, free: 1.238 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006027/1.051, allocations: 313.9 kB / 0.5539 GB, free: 1.223 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/1.051, allocations: 0.75 kB / 0.5539 GB, free: 1.223 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.483e-06/1.051, allocations: 1.312 kB / 0.5539 GB, free: 1.223 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/1.051, allocations: 0.9688 kB / 0.5539 GB, free: 1.223 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.001097/1.052, allocations: 388.8 kB / 0.5543 GB, free: 16.92 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/1.052, allocations: 8.938 kB / 0.5543 GB, free: 16.92 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00753/1.059, allocations: 465.2 kB / 0.5547 GB, free: 16.91 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/1.059, allocations: 124.3 kB / 0.5548 GB, free: 16.78 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/1.06, allocations: 7.188 kB / 0.5548 GB, free: 16.78 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/1.06, allocations: 6.781 kB / 0.5548 GB, free: 16.78 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008616/1.06, allocations: 295.6 kB / 0.5551 GB, free: 16.75 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/1.06, allocations: 1.203 kB / 0.5551 GB, free: 16.75 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.115e-05/1.061, allocations: 5.906 kB / 0.5551 GB, free: 16.75 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/1.061, allocations: 3.719 kB / 0.5551 GB, free: 16.75 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009236/1.061, allocations: 277 kB / 0.5554 GB, free: 16.75 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002808/1.062, allocations: 175.3 kB / 0.5556 GB, free: 16.6 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004596/1.062, allocations: 154.2 kB / 0.5557 GB, free: 16.57 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002431/1.062, allocations: 84.38 kB / 0.5558 GB, free: 16.56 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/1.062, allocations: 7.266 kB / 0.5558 GB, free: 16.56 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/1.063, allocations: 33.34 kB / 0.5558 GB, free: 16.52 MB / 462.1 MB Notification: Performance of pre-optimization done (n=17): time 1.834e-06/1.063, allocations: 0 / 0.5558 GB, free: 16.52 MB / 462.1 MB Notification: Performance of matching and sorting (n=24): time 0.002562/1.065, allocations: 0.5801 MB / 0.5564 GB, free: 16.46 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/1.065, allocations: 57.81 kB / 0.5564 GB, free: 16.4 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.343e-05/1.065, allocations: 109.5 kB / 0.5566 GB, free: 16.3 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.158e-05/1.065, allocations: 31.73 kB / 0.5566 GB, free: 16.27 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.821e-05/1.065, allocations: 83.62 kB / 0.5567 GB, free: 16.18 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.82e-05/1.065, allocations: 87.38 kB / 0.5567 GB, free: 16.13 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/1.065, allocations: 48.08 kB / 0.5568 GB, free: 16.11 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/1.066, allocations: 323.8 kB / 0.5571 GB, free: 15.8 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003471/1.066, allocations: 96.81 kB / 0.5572 GB, free: 15.8 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003261/1.066, allocations: 103.3 kB / 0.5573 GB, free: 15.8 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006684/1.067, allocations: 225.6 kB / 0.5575 GB, free: 15.79 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/1.067, allocations: 4.031 kB / 0.5575 GB, free: 15.79 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008596/1.068, allocations: 288.2 kB / 0.5578 GB, free: 15.75 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/1.068, allocations: 5.938 kB / 0.5578 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/1.068, allocations: 0 / 0.5578 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.389e-05/1.068, allocations: 4.906 kB / 0.5578 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00056/1.068, allocations: 55.02 kB / 0.5578 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/1.068, allocations: 6.188 kB / 0.5579 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003488/1.069, allocations: 14.03 kB / 0.5579 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.49e-05/1.069, allocations: 11.05 kB / 0.5579 GB, free: 15.74 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.0001448/1.069, allocations: 126 kB / 0.558 GB, free: 15.63 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.624e-05/1.069, allocations: 10.23 kB / 0.558 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001081/1.07, allocations: 347.9 kB / 0.5583 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/1.07, allocations: 2.938 kB / 0.5583 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/1.07, allocations: 5.094 kB / 0.5583 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/1.07, allocations: 7.672 kB / 0.5584 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001706/1.072, allocations: 0.6203 MB / 0.559 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/1.072, allocations: 4.312 kB / 0.559 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005151/1.072, allocations: 68.27 kB / 0.559 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/1.072, allocations: 7.328 kB / 0.559 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.647e-05/1.072, allocations: 12.08 kB / 0.559 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/1.072, allocations: 3.469 kB / 0.5591 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.072, allocations: 0 / 0.5591 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009321/1.073, allocations: 410.7 kB / 0.5594 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.597e-05/1.073, allocations: 14.06 kB / 0.5595 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.962e-05/1.073, allocations: 10.72 kB / 0.5595 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003962/1.074, allocations: 14.25 kB / 0.5595 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.754e-05/1.074, allocations: 30.38 kB / 0.5595 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.929e-05/1.074, allocations: 14.73 kB / 0.5595 GB, free: 15.09 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.153e-05/1.074, allocations: 81.62 kB / 0.5596 GB, free: 15.02 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.074, allocations: 1.203 kB / 0.5596 GB, free: 15.02 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004786/1.074, allocations: 61.89 kB / 0.5597 GB, free: 15.02 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.0002667/1.075, allocations: 131.9 kB / 0.5598 GB, free: 14.92 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008211/1.076, allocations: 242.6 kB / 0.56 GB, free: 14.92 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/1.076, allocations: 0 / 0.56 GB, free: 14.92 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003976/1.076, allocations: 131.4 kB / 0.5601 GB, free: 14.92 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006621/1.077, allocations: 55.52 kB / 0.5602 GB, free: 14.91 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/1.078, allocations: 347.9 kB / 0.5605 GB, free: 14.72 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.681e-05/1.078, allocations: 92.75 kB / 0.5606 GB, free: 14.65 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003733/1.078, allocations: 58.94 kB / 0.5607 GB, free: 14.64 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002067/1.078, allocations: 40.47 kB / 0.5607 GB, free: 14.63 MB / 462.1 MB Notification: Performance of SimCode: time 4.3e-07/1.078, allocations: 0.9688 kB / 0.5607 GB, free: 14.63 MB / 462.1 MB Notification: Performance of Templates: time 0.01015/1.088, allocations: 4.582 MB / 0.5652 GB, free: 14.2 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 -s cvode -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: 7.47535328399681]