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.001646/0.001646, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.00185/0.00185, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.487/1.487, allocations: 230.6 MB / 258.2 MB, free: 7.812 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.001615/0.001615, allocations: 47.92 kB / 379 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.258, allocations: 53.36 MB / 432.3 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.4923/0.7503, allocations: 131.3 MB / 0.5504 GB, free: 1.258 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002271/0.7526, allocations: 2.256 MB / 0.5526 GB, free: 1.25 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.994e-05/0.7526, allocations: 0.9375 kB / 0.5526 GB, free: 1.25 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001551/0.7528, allocations: 26.84 kB / 0.5526 GB, free: 1.25 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009111/0.7537, allocations: 336.4 kB / 0.5529 GB, free: 1.246 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001874/0.7539, allocations: 64.33 kB / 0.553 GB, free: 1.242 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00012/0.754, allocations: 102.2 kB / 0.5531 GB, free: 1.242 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.19e-05/0.7541, allocations: 8.516 kB / 0.5531 GB, free: 1.242 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.7542, allocations: 46.77 kB / 0.5531 GB, free: 1.242 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.262e-05/0.7543, allocations: 31.77 kB / 0.5532 GB, free: 1.242 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.7543, allocations: 6.469 kB / 0.5532 GB, free: 1.242 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005977/0.7549, allocations: 348.7 kB / 0.5535 GB, free: 1.238 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.607e-05/0.7549, allocations: 8.953 kB / 0.5535 GB, free: 1.238 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.458e-05/0.7549, allocations: 41.56 kB / 0.5536 GB, free: 1.238 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004141/0.7553, allocations: 312.6 kB / 0.5539 GB, free: 1.219 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.7554, allocations: 0 / 0.5539 GB, free: 1.219 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.7554, allocations: 2.906 kB / 0.5539 GB, free: 1.219 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.125e-05/0.7554, allocations: 0 / 0.5539 GB, free: 1.219 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.0009444/0.7563, allocations: 388.5 kB / 0.5542 GB, free: 16.92 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.7563, allocations: 9.719 kB / 0.5542 GB, free: 16.92 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006225/0.7626, allocations: 464.8 kB / 0.5547 GB, free: 16.91 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.7627, allocations: 120.1 kB / 0.5548 GB, free: 16.77 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.7627, allocations: 6.219 kB / 0.5548 GB, free: 16.77 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.305e-05/0.7628, allocations: 12.44 kB / 0.5548 GB, free: 16.77 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006954/0.7635, allocations: 294.8 kB / 0.5551 GB, free: 16.74 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.7635, allocations: 0.7812 kB / 0.5551 GB, free: 16.74 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.47e-05/0.7636, allocations: 9.125 kB / 0.5551 GB, free: 16.74 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.7636, allocations: 0.6562 kB / 0.5551 GB, free: 16.74 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000739/0.7643, allocations: 277 kB / 0.5554 GB, free: 16.74 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002337/0.7645, allocations: 170 kB / 0.5555 GB, free: 16.6 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003742/0.7649, allocations: 150 kB / 0.5557 GB, free: 16.57 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001962/0.7651, allocations: 84.36 kB / 0.5558 GB, free: 16.56 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.797e-05/0.7651, allocations: 10.09 kB / 0.5558 GB, free: 16.56 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.7652, allocations: 31.66 kB / 0.5558 GB, free: 16.52 MB / 462.1 MB Notification: Performance of pre-optimization done (n=17): time 1.563e-06/0.7652, allocations: 0.875 kB / 0.5558 GB, free: 16.52 MB / 462.1 MB Notification: Performance of matching and sorting (n=24): time 0.002014/0.7672, allocations: 0.5826 MB / 0.5564 GB, free: 16.46 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/0.7672, allocations: 55.41 kB / 0.5564 GB, free: 16.4 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.354e-05/0.7673, allocations: 122.8 kB / 0.5565 GB, free: 16.29 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.265e-05/0.7673, allocations: 29.02 kB / 0.5566 GB, free: 16.26 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.611e-05/0.7674, allocations: 81.7 kB / 0.5566 GB, free: 16.18 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.54e-05/0.7675, allocations: 84.34 kB / 0.5567 GB, free: 16.12 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.484e-05/0.7675, allocations: 49.09 kB / 0.5568 GB, free: 16.11 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.7677, allocations: 325.7 kB / 0.5571 GB, free: 15.8 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002786/0.768, allocations: 99.02 kB / 0.5572 GB, free: 15.8 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002632/0.7682, allocations: 98.38 kB / 0.5573 GB, free: 15.8 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005506/0.7688, allocations: 231.8 kB / 0.5575 GB, free: 15.79 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.7688, allocations: 0.9688 kB / 0.5575 GB, free: 15.79 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006574/0.7694, allocations: 286 kB / 0.5578 GB, free: 15.74 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.7694, allocations: 9.766 kB / 0.5578 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.7695, allocations: 0 / 0.5578 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.7695, allocations: 0.9062 kB / 0.5578 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004384/0.7699, allocations: 54.28 kB / 0.5578 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.7699, allocations: 7.062 kB / 0.5578 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002675/0.7702, allocations: 13.7 kB / 0.5579 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.424e-05/0.7702, allocations: 12.45 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.0001247/0.7703, allocations: 125 kB / 0.558 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.353e-05/0.7704, allocations: 12.38 kB / 0.558 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008526/0.7712, allocations: 349.6 kB / 0.5583 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.7712, allocations: 2.531 kB / 0.5583 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.7712, allocations: 8.469 kB / 0.5583 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.7712, allocations: 0 / 0.5583 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001385/0.7726, allocations: 0.6243 MB / 0.5589 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.7726, allocations: 2.719 kB / 0.5589 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003976/0.773, allocations: 64.16 kB / 0.559 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.453e-06/0.773, allocations: 10.11 kB / 0.559 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.679e-05/0.7731, allocations: 7.688 kB / 0.559 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.7731, allocations: 6.906 kB / 0.559 GB, free: 15.28 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.7731, allocations: 7.984 kB / 0.559 GB, free: 15.28 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000744/0.7738, allocations: 403.8 kB / 0.5594 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.808e-05/0.7738, allocations: 21.75 kB / 0.5594 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.809e-05/0.7739, allocations: 4.344 kB / 0.5595 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000318/0.7742, allocations: 13.95 kB / 0.5595 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.7742, allocations: 24.48 kB / 0.5595 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.889e-05/0.7743, allocations: 18.52 kB / 0.5595 GB, free: 15.09 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.783e-05/0.7743, allocations: 88.3 kB / 0.5596 GB, free: 15.02 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.7743, allocations: 0.6562 kB / 0.5596 GB, free: 15.02 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003483/0.7747, allocations: 57.36 kB / 0.5596 GB, free: 15.01 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.0002219/0.7749, allocations: 135.5 kB / 0.5598 GB, free: 14.92 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006557/0.7755, allocations: 240.1 kB / 0.56 GB, free: 14.91 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.237e-06/0.7755, allocations: 6.125 kB / 0.56 GB, free: 14.91 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003047/0.7758, allocations: 128.6 kB / 0.5601 GB, free: 14.91 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005301/0.7764, allocations: 49.81 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.0008454/0.7772, allocations: 377.1 kB / 0.5605 GB, free: 14.68 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.713e-05/0.7773, allocations: 91.64 kB / 0.5606 GB, free: 14.61 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001923/0.7775, allocations: 41.62 kB / 0.5607 GB, free: 14.61 MB / 462.1 MB Notification: Performance of SimCode: time 3.21e-07/0.7775, allocations: 0 / 0.5607 GB, free: 14.61 MB / 462.1 MB Notification: Performance of Templates: time 0.004441/0.7819, allocations: 2.977 MB / 0.5636 GB, free: 14.42 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: 7.970008586067706]