Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00175/0.00175, allocations: 112.2 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002122/0.002122, allocations: 207 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.425/1.425, allocations: 230.4 MB / 258.1 MB, free: 8.164 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 71.81 kB / 378.7 MB, free: 2.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1977/0.1996, allocations: 53.32 MB / 432.1 MB, free: 7.371 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.DrumBoiler.DrumBoiler): time 0.05212/0.2518, allocations: 48.95 MB / 481 MB, free: 6.262 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02606/0.2778, allocations: 21.32 MB / 0.4906 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005421/0.2784, allocations: 19.88 kB / 0.4906 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001019/0.2794, allocations: 381.5 kB / 0.4909 GB, free: 488 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01186/0.2912, allocations: 4.891 MB / 0.4957 GB, free: 11.59 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005593/0.2968, allocations: 2.182 MB / 0.4978 GB, free: 9.402 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002025/0.2988, allocations: 1.484 MB / 0.4993 GB, free: 7.914 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008313/0.2997, allocations: 437 kB / 0.4997 GB, free: 7.469 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01169/0.3114, allocations: 5.727 MB / 0.5053 GB, free: 1.66 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004059/0.3154, allocations: 2.1 MB / 0.5074 GB, free: 15.53 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001305/0.3156, allocations: 60 kB / 0.5074 GB, free: 15.47 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01392/0.3295, allocations: 7.5 MB / 0.5147 GB, free: 7.965 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002093/0.3297, allocations: 171.3 kB / 0.5149 GB, free: 7.797 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004947/0.3302, allocations: 414.1 kB / 0.5153 GB, free: 7.391 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007688/0.3379, allocations: 4.933 MB / 0.5201 GB, free: 2.445 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.3379, allocations: 0 / 0.5201 GB, free: 2.445 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3379, allocations: 0 / 0.5201 GB, free: 2.445 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.726e-06/0.3379, allocations: 0 / 0.5201 GB, free: 2.445 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.003489/0.3414, allocations: 1.698 MB / 0.5218 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.3414, allocations: 8.031 kB / 0.5218 GB, free: 0.668 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002099/0.3435, allocations: 260.1 kB / 0.522 GB, free: 424 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008478/0.3444, allocations: 0.5096 MB / 0.5225 GB, free: 15.87 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.491e-05/0.3444, allocations: 49.69 kB / 0.5226 GB, free: 15.82 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/0.3445, allocations: 56.38 kB / 0.5226 GB, free: 15.77 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002133/0.3466, allocations: 0.9053 MB / 0.5235 GB, free: 14.8 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.3467, allocations: 0 / 0.5235 GB, free: 14.8 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.65e-05/0.3467, allocations: 24 kB / 0.5235 GB, free: 14.78 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.579e-05/0.3468, allocations: 16 kB / 0.5235 GB, free: 14.76 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002003/0.3488, allocations: 0.7271 MB / 0.5243 GB, free: 14.03 MB / 446.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.005021/0.3538, allocations: 4.061 MB / 0.5282 GB, free: 9.621 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00188/0.3557, allocations: 0.6018 MB / 0.5288 GB, free: 8.992 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000522/0.3562, allocations: 259.2 kB / 0.5291 GB, free: 8.734 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.249/0.6052, allocations: 43.54 MB / 0.5716 GB, free: 77.81 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001335/0.6065, allocations: 0.567 MB / 0.5721 GB, free: 77.21 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002543/0.6068, allocations: 53.03 kB / 0.5722 GB, free: 77.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=57): time 2.405e-06/0.6068, allocations: 0 / 0.5722 GB, free: 77.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=65): time 0.009955/0.6167, allocations: 3.297 MB / 0.5754 GB, free: 73.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.193e-05/0.6168, allocations: 281.4 kB / 0.5757 GB, free: 73.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003878/0.6172, allocations: 484.5 kB / 0.5761 GB, free: 73.07 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.132e-05/0.6172, allocations: 37.7 kB / 0.5762 GB, free: 73.03 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.6174, allocations: 321.1 kB / 0.5765 GB, free: 72.73 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/0.6175, allocations: 226.6 kB / 0.5767 GB, free: 72.54 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001997/0.6177, allocations: 150.3 kB / 0.5768 GB, free: 72.39 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.568e-05/0.6178, allocations: 379.5 kB / 0.5772 GB, free: 72.01 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005069/0.6183, allocations: 283.7 kB / 0.5775 GB, free: 71.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005878/0.6189, allocations: 461.5 kB / 0.5779 GB, free: 71.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/0.62, allocations: 0.8455 MB / 0.5787 GB, free: 70.29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.62, allocations: 0 / 0.5787 GB, free: 70.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001738/0.6217, allocations: 1.031 MB / 0.5797 GB, free: 69.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.602e-05/0.6217, allocations: 70.92 kB / 0.5798 GB, free: 69.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.6218, allocations: 8.031 kB / 0.5798 GB, free: 69.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002882/0.6246, allocations: 347.6 kB / 0.5801 GB, free: 68.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004703/0.6251, allocations: 135.8 kB / 0.5803 GB, free: 68.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009833/0.6261, allocations: 0.8095 MB / 0.5811 GB, free: 67.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004835/0.6266, allocations: 31.98 kB / 0.5811 GB, free: 67.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.688e-05/0.6266, allocations: 39.97 kB / 0.5811 GB, free: 67.77 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005917/0.6272, allocations: 417.6 kB / 0.5815 GB, free: 67.36 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005431/0.6278, allocations: 457.6 kB / 0.582 GB, free: 66.85 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001016/0.6288, allocations: 0.8071 MB / 0.5828 GB, free: 65.96 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.035e-06/0.6288, allocations: 8 kB / 0.5828 GB, free: 65.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.001637/0.6304, allocations: 1.007 MB / 0.5837 GB, free: 64.92 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/0.6305, allocations: 71.39 kB / 0.5838 GB, free: 64.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.6305, allocations: 4 kB / 0.5838 GB, free: 64.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00283/0.6333, allocations: 340.5 kB / 0.5841 GB, free: 64.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004265/0.6337, allocations: 131.6 kB / 0.5843 GB, free: 64.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009493/0.6347, allocations: 0.8118 MB / 0.5851 GB, free: 63.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000478/0.6351, allocations: 27.98 kB / 0.5851 GB, free: 63.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.476e-05/0.6352, allocations: 47.97 kB / 0.5851 GB, free: 63.47 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.0001797/0.6354, allocations: 297.8 kB / 0.5854 GB, free: 63.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000149/0.6355, allocations: 75.52 kB / 0.5855 GB, free: 63.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004259/0.6398, allocations: 4.742 MB / 0.5901 GB, free: 58.35 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.387e-06/0.6398, allocations: 4.047 kB / 0.5901 GB, free: 58.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.6398, allocations: 4 kB / 0.5901 GB, free: 58.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.6399, allocations: 190.7 kB / 0.5903 GB, free: 58.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001446/0.6401, allocations: 46.8 kB / 0.5904 GB, free: 58.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005352/0.6406, allocations: 43.94 kB / 0.5904 GB, free: 58.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.6407, allocations: 56.42 kB / 0.5905 GB, free: 58.02 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002788/0.6435, allocations: 1.907 MB / 0.5923 GB, free: 56.08 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00246/0.646, allocations: 2.453 MB / 0.5947 GB, free: 53.59 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006072/0.6466, allocations: 0.5016 MB / 0.5952 GB, free: 53.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004069/0.647, allocations: 483 kB / 0.5957 GB, free: 52.62 MB / 446.1 MB Notification: Performance of Backend: time 5.21e-07/0.647, allocations: 0 / 0.5957 GB, free: 52.62 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006949/0.6539, allocations: 2.709 MB / 0.5983 GB, free: 50.05 MB / 446.1 MB Notification: Performance of SimCode: time 0.002506/0.6564, allocations: 2.487 MB / 0.6007 GB, free: 47.52 MB / 446.1 MB Notification: Performance of Templates: time 0.06092/0.7173, allocations: 58.19 MB / 0.6576 GB, free: 5.441 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.sim & ./Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Fluid/Examples/DrumBoiler/DrumBoiler/DrumBoiler.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.856412536930293]