Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.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.001351/0.001351, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.002089/0.002089, allocations: 205.7 kB / 24.49 MB, free: 3.965 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.459/1.459, allocations: 230.6 MB / 258.3 MB, free: 7.801 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.Fluid.Examples.DrumBoiler.DrumBoiler,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|controller.x|evaporator.V_l|evaporator.p",fileNamePrefix="Modelica_4.1.0_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler") translateModel(Modelica.Fluid.Examples.DrumBoiler.DrumBoiler,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|controller.x|evaporator.V_l|evaporator.p",fileNamePrefix="Modelica_4.1.0_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00162/0.00162, allocations: 47.92 kB / 379 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.2166, allocations: 53.37 MB / 432.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.DrumBoiler.DrumBoiler): time 0.04946/0.2661, allocations: 44.19 MB / 476.5 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02424/0.2903, allocations: 18.95 MB / 495.5 MB, free: 7.371 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004433/0.2908, allocations: 23.81 kB / 495.5 MB, free: 7.348 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009503/0.2917, allocations: 357.6 kB / 495.9 MB, free: 6.996 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01171/0.3034, allocations: 4.871 MB / 0.489 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005339/0.3088, allocations: 2.142 MB / 0.4911 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001728/0.3105, allocations: 1.496 MB / 0.4926 GB, free: 14.48 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006606/0.3111, allocations: 433.8 kB / 0.493 GB, free: 14.05 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01123/0.3224, allocations: 5.719 MB / 0.4985 GB, free: 8.246 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003875/0.3262, allocations: 2.104 MB / 0.5006 GB, free: 6.113 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000112/0.3264, allocations: 60 kB / 0.5007 GB, free: 6.055 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01303/0.3394, allocations: 7.442 MB / 0.5079 GB, free: 14.61 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002071/0.3396, allocations: 179.3 kB / 0.5081 GB, free: 14.43 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004175/0.34, allocations: 338.5 kB / 0.5084 GB, free: 14.1 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007624/0.3476, allocations: 4.933 MB / 0.5132 GB, free: 9.152 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3476, allocations: 0 / 0.5132 GB, free: 9.152 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3476, allocations: 0 / 0.5132 GB, free: 9.152 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.258e-06/0.3477, allocations: 0 / 0.5132 GB, free: 9.152 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.003446/0.3511, allocations: 1.623 MB / 0.5148 GB, free: 7.48 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.3511, allocations: 8.031 kB / 0.5148 GB, free: 7.473 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002158/0.3533, allocations: 248.2 kB / 0.5151 GB, free: 7.23 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008671/0.3542, allocations: 454.5 kB / 0.5155 GB, free: 6.762 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.055e-05/0.3542, allocations: 49.69 kB / 0.5155 GB, free: 6.715 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/0.3543, allocations: 60.38 kB / 0.5156 GB, free: 6.656 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002326/0.3566, allocations: 1.172 MB / 0.5168 GB, free: 5.363 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.3567, allocations: 0 / 0.5168 GB, free: 5.363 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.62e-05/0.3567, allocations: 24 kB / 0.5168 GB, free: 5.34 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/0.3568, allocations: 16 kB / 0.5168 GB, free: 5.324 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002047/0.3588, allocations: 0.7811 MB / 0.5176 GB, free: 4.531 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004428/0.3632, allocations: 2.83 MB / 0.5203 GB, free: 1.609 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001928/0.3652, allocations: 0.6597 MB / 0.521 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005769/0.3657, allocations: 318.8 kB / 0.5213 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2535/0.6192, allocations: 23.18 MB / 0.5439 GB, free: 109.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001413/0.6206, allocations: 0.6955 MB / 0.5446 GB, free: 108.9 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002653/0.6209, allocations: 50.27 kB / 0.5446 GB, free: 108.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=57): time 2.584e-06/0.6209, allocations: 0 / 0.5446 GB, free: 108.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=65): time 0.01047/0.6314, allocations: 3.368 MB / 0.5479 GB, free: 106.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/0.6314, allocations: 277.5 kB / 0.5482 GB, free: 106 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000325/0.6317, allocations: 423.9 kB / 0.5486 GB, free: 105.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.789e-05/0.6318, allocations: 41.69 kB / 0.5486 GB, free: 105.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/0.6319, allocations: 333.3 kB / 0.5489 GB, free: 105.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000115/0.6321, allocations: 219.7 kB / 0.5492 GB, free: 105.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002124/0.6323, allocations: 158.2 kB / 0.5493 GB, free: 104.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.867e-05/0.6323, allocations: 366.8 kB / 0.5497 GB, free: 104.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000512/0.6328, allocations: 351.1 kB / 0.55 GB, free: 104.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00061/0.6334, allocations: 0.6169 MB / 0.5506 GB, free: 103.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/0.6345, allocations: 0.8499 MB / 0.5514 GB, free: 102.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.6345, allocations: 0 / 0.5514 GB, free: 102.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001728/0.6363, allocations: 1.1 MB / 0.5525 GB, free: 101.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.727e-05/0.6363, allocations: 71.39 kB / 0.5526 GB, free: 101.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.6363, allocations: 8.438 kB / 0.5526 GB, free: 101.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003258/0.6396, allocations: 346.8 kB / 0.5529 GB, free: 101 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000475/0.6401, allocations: 143.6 kB / 0.553 GB, free: 100.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009977/0.641, allocations: 0.8013 MB / 0.5538 GB, free: 100 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004964/0.6415, allocations: 36.05 kB / 0.5539 GB, free: 99.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.496e-05/0.6416, allocations: 43.97 kB / 0.5539 GB, free: 99.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006058/0.6422, allocations: 485 kB / 0.5544 GB, free: 99.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005708/0.6428, allocations: 0.6052 MB / 0.555 GB, free: 98.73 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001022/0.6438, allocations: 0.825 MB / 0.5558 GB, free: 97.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.895e-06/0.6438, allocations: 0 / 0.5558 GB, free: 97.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.001685/0.6455, allocations: 1.077 MB / 0.5568 GB, free: 96.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.948e-05/0.6455, allocations: 71.39 kB / 0.5569 GB, free: 96.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.6455, allocations: 4 kB / 0.5569 GB, free: 96.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003209/0.6488, allocations: 341 kB / 0.5572 GB, free: 96.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004551/0.6492, allocations: 128.7 kB / 0.5573 GB, free: 96.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009636/0.6502, allocations: 0.8109 MB / 0.5581 GB, free: 95.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004927/0.6507, allocations: 27.98 kB / 0.5581 GB, free: 95.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.086e-05/0.6507, allocations: 48.64 kB / 0.5582 GB, free: 95.24 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 19 (Y_Valve_Tab.nextEventScaled,Y_Valve_Tab.nextEvent,$PRE.Y_Valve_Tab.nextEvent,Y_Valve_Tab.last,Y_Valve_Tab.b,Y_Valve_Tab.a,q_F_Tab.nextEventScaled,q_F_Tab.nextEvent,$PRE.q_F_Tab.nextEvent,q_F_Tab.last,q_F_Tab.b,q_F_Tab.a,pump.medium.phase,$whenCondition2,$whenCondition1,SteamValve.state_b.phase,SteamValve.state_a.phase,sink.state.phase,sink.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001985/0.6509, allocations: 312.2 kB / 0.5585 GB, free: 94.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001462/0.6511, allocations: 63.62 kB / 0.5586 GB, free: 94.86 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004492/0.6556, allocations: 5.057 MB / 0.5635 GB, free: 89.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.6556, allocations: 3.984 kB / 0.5635 GB, free: 89.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.738e-06/0.6556, allocations: 4.062 kB / 0.5635 GB, free: 89.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.538e-05/0.6557, allocations: 100.8 kB / 0.5636 GB, free: 89.71 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001439/0.6558, allocations: 50.78 kB / 0.5636 GB, free: 89.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005715/0.6564, allocations: 47.88 kB / 0.5637 GB, free: 89.62 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.6565, allocations: 52.56 kB / 0.5637 GB, free: 89.57 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002995/0.6595, allocations: 1.986 MB / 0.5657 GB, free: 87.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002529/0.662, allocations: 2.63 MB / 0.5682 GB, free: 84.86 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006469/0.6627, allocations: 0.5798 MB / 0.5688 GB, free: 84.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003621/0.663, allocations: 447.2 kB / 0.5692 GB, free: 83.83 MB / 446.1 MB Notification: Performance of Backend: time 4.81e-07/0.663, allocations: 3.938 kB / 0.5692 GB, free: 83.83 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007645/0.6707, allocations: 2.816 MB / 0.572 GB, free: 81.22 MB / 446.1 MB Notification: Performance of SimCode: time 0.002424/0.6731, allocations: 2.42 MB / 0.5744 GB, free: 78.75 MB / 446.1 MB Notification: Performance of Templates: time 0.05656/0.7297, allocations: 57.28 MB / 0.6303 GB, free: 21.62 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe ; mkfifo Modelica_4.1.0_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe >> ../files/Modelica_4.1.0_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.sim & ./Modelica_4.1.0_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Fluid/Examples/DrumBoiler/DrumBoiler/DrumBoiler.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.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.793859908997547]