Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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.Fluid.Examples.DrumBoiler.DrumBoiler,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|controller.x|evaporator.V_l|evaporator.p",fileNamePrefix="Modelica_4.0.0_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler") translateModel(Modelica.Fluid.Examples.DrumBoiler.DrumBoiler,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|controller.x|evaporator.V_l|evaporator.p",fileNamePrefix="Modelica_4.0.0_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 110.9 kB / 17.74 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 190.6 kB / 18.68 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009676/0.0009677, allocations: 47.92 kB / 352 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.2026, allocations: 49.43 MB / 401.4 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.DrumBoiler.DrumBoiler): time 0.04566/0.2482, allocations: 48.06 MB / 449.5 MB, free: 8.781 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02192/0.2702, allocations: 21.13 MB / 470.6 MB, free: 3.574 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005115/0.2707, allocations: 19.94 kB / 470.6 MB, free: 3.555 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009131/0.2716, allocations: 381.5 kB / 471 MB, free: 3.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01039/0.2821, allocations: 4.871 MB / 475.9 MB, free: 14.3 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004614/0.2867, allocations: 2.186 MB / 478.1 MB, free: 12.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001586/0.2883, allocations: 1.484 MB / 479.5 MB, free: 10.63 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007099/0.289, allocations: 0.5087 MB / 480.1 MB, free: 10.11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01246/0.3015, allocations: 5.7 MB / 485.8 MB, free: 4.332 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004329/0.3058, allocations: 2.08 MB / 487.8 MB, free: 2.223 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001225/0.306, allocations: 60 kB / 487.9 MB, free: 2.164 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01183/0.3178, allocations: 7.477 MB / 495.4 MB, free: 10.68 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001951/0.318, allocations: 171.4 kB / 495.5 MB, free: 10.51 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004525/0.3185, allocations: 406.1 kB / 495.9 MB, free: 10.11 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006913/0.3254, allocations: 4.929 MB / 0.4891 GB, free: 5.172 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.3254, allocations: 0 / 0.4891 GB, free: 5.172 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3254, allocations: 0 / 0.4891 GB, free: 5.172 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.585e-05/0.3254, allocations: 0 / 0.4891 GB, free: 5.172 MB / 414.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.003389/0.3288, allocations: 1.698 MB / 0.4908 GB, free: 3.406 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.3289, allocations: 8.031 kB / 0.4908 GB, free: 3.398 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002131/0.331, allocations: 280.2 kB / 0.4911 GB, free: 3.125 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007355/0.3318, allocations: 0.5135 MB / 0.4916 GB, free: 2.57 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.321e-05/0.3318, allocations: 45.62 kB / 0.4916 GB, free: 2.527 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.254e-05/0.3319, allocations: 60.38 kB / 0.4917 GB, free: 2.469 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001971/0.3339, allocations: 0.9062 MB / 0.4925 GB, free: 1.5 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.3339, allocations: 0 / 0.4925 GB, free: 1.5 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.601e-05/0.334, allocations: 32 kB / 0.4926 GB, free: 1.469 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.385e-05/0.334, allocations: 16 kB / 0.4926 GB, free: 1.453 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001879/0.3359, allocations: 0.727 MB / 0.4933 GB, free: 0.7266 MB / 414.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.00437/0.3403, allocations: 4.135 MB / 0.4973 GB, free: 12.24 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001795/0.3421, allocations: 0.6252 MB / 0.4979 GB, free: 11.59 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004921/0.3426, allocations: 279.3 kB / 0.4982 GB, free: 11.3 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2682/0.6108, allocations: 55.36 MB / 0.5523 GB, free: 130.5 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001319/0.6122, allocations: 0.56 MB / 0.5528 GB, free: 129.9 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001962/0.6124, allocations: 55.67 kB / 0.5529 GB, free: 129.9 MB / 462.1 MB Notification: Performance of pre-optimization done (n=57): time 2.685e-06/0.6124, allocations: 0 / 0.5529 GB, free: 129.9 MB / 462.1 MB Notification: Performance of matching and sorting (n=65): time 0.009774/0.6222, allocations: 3.3 MB / 0.5561 GB, free: 126.6 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.17e-05/0.6223, allocations: 277.5 kB / 0.5564 GB, free: 126.2 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003779/0.6226, allocations: 480.2 kB / 0.5568 GB, free: 125.8 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.924e-05/0.6227, allocations: 37.7 kB / 0.5569 GB, free: 125.7 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.6228, allocations: 334.3 kB / 0.5572 GB, free: 125.4 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/0.623, allocations: 218.2 kB / 0.5574 GB, free: 125.2 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002057/0.6232, allocations: 158.2 kB / 0.5575 GB, free: 125.1 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 6.373e-05/0.6232, allocations: 377.2 kB / 0.5579 GB, free: 124.7 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004954/0.6237, allocations: 287.7 kB / 0.5582 GB, free: 124.4 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005646/0.6243, allocations: 465.2 kB / 0.5586 GB, free: 123.9 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.6254, allocations: 0.8317 MB / 0.5594 GB, free: 123 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.6254, allocations: 1.5 kB / 0.5594 GB, free: 123 MB / 462.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001648/0.6271, allocations: 1.037 MB / 0.5604 GB, free: 121.9 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.669e-05/0.6271, allocations: 71.39 kB / 0.5605 GB, free: 121.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.535e-06/0.6271, allocations: 4 kB / 0.5605 GB, free: 121.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002967/0.6301, allocations: 351 kB / 0.5609 GB, free: 121.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004618/0.6306, allocations: 131.8 kB / 0.561 GB, free: 121.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009345/0.6315, allocations: 0.8066 MB / 0.5618 GB, free: 120.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000485/0.632, allocations: 39.91 kB / 0.5618 GB, free: 120.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.257e-05/0.6321, allocations: 43.97 kB / 0.5618 GB, free: 120.4 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005788/0.6327, allocations: 413.6 kB / 0.5622 GB, free: 120 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005316/0.6332, allocations: 453.6 kB / 0.5627 GB, free: 119.5 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009862/0.6342, allocations: 0.8149 MB / 0.5635 GB, free: 118.6 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.414e-06/0.6342, allocations: 0 / 0.5635 GB, free: 118.6 MB / 462.1 MB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.001574/0.6358, allocations: 1.006 MB / 0.5644 GB, free: 117.6 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.801e-05/0.6358, allocations: 75.38 kB / 0.5645 GB, free: 117.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.6359, allocations: 4.594 kB / 0.5645 GB, free: 117.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002921/0.6388, allocations: 348.4 kB / 0.5649 GB, free: 117.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000431/0.6392, allocations: 130.7 kB / 0.565 GB, free: 117 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008999/0.6401, allocations: 0.8094 MB / 0.5658 GB, free: 116.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004644/0.6406, allocations: 31.98 kB / 0.5658 GB, free: 116.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.027e-05/0.6407, allocations: 43.97 kB / 0.5658 GB, free: 116.1 MB / 462.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.0001679/0.6409, allocations: 296.3 kB / 0.5661 GB, free: 115.8 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.641, allocations: 75.52 kB / 0.5662 GB, free: 115.8 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0043/0.6453, allocations: 4.738 MB / 0.5708 GB, free: 111 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.866e-06/0.6453, allocations: 3.984 kB / 0.5708 GB, free: 111 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.6453, allocations: 0 / 0.5708 GB, free: 111 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.095e-05/0.6454, allocations: 185.3 kB / 0.571 GB, free: 110.8 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001331/0.6456, allocations: 48.73 kB / 0.5711 GB, free: 110.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005408/0.6461, allocations: 52 kB / 0.5711 GB, free: 110.7 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.6462, allocations: 51.77 kB / 0.5712 GB, free: 110.7 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002781/0.649, allocations: 1.913 MB / 0.573 GB, free: 108.8 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002434/0.6515, allocations: 2.447 MB / 0.5754 GB, free: 106.3 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006905/0.6522, allocations: 0.6813 MB / 0.5761 GB, free: 105.6 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004032/0.6526, allocations: 483 kB / 0.5765 GB, free: 105.1 MB / 462.1 MB Notification: Performance of Backend: time 4.61e-07/0.6526, allocations: 0 / 0.5765 GB, free: 105.1 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006884/0.6595, allocations: 2.885 MB / 0.5794 GB, free: 102.5 MB / 462.1 MB Notification: Performance of SimCode: time 0.002372/0.6619, allocations: 2.482 MB / 0.5818 GB, free: 99.93 MB / 462.1 MB Notification: Performance of Templates: time 0.05536/0.7173, allocations: 57.48 MB / 0.6379 GB, free: 42.58 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.makefile (rm -f Modelica_4.0.0_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe ; mkfifo Modelica_4.0.0_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe >> ../files/Modelica_4.0.0_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.sim & ./Modelica_4.0.0_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Fluid/Examples/DrumBoiler/DrumBoiler/DrumBoiler.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches