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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0008955/0.0008955, allocations: 176.4 kB / 17.4 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.295/1.295, allocations: 223.3 MB / 241.4 MB, free: 9.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008657/0.0008656, allocations: 108.6 kB / 292.6 MB, free: 10.55 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003093/0.0003093, allocations: 11.94 kB / 352.3 MB, free: 14.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.2354, allocations: 50.41 MB / 402.7 MB, free: 32.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.311/5.546, allocations: 2.838 GB / 3.231 GB, free: 151.7 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001974/5.546, allocations: 85.88 kB / 3.231 GB, free: 151.6 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.312/6.859, allocations: 480.3 MB / 3.7 GB, free: 27.2 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.445e-06/6.859, allocations: 3.938 kB / 3.7 GB, free: 27.19 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.113e-05/6.859, allocations: 23.94 kB / 3.7 GB, free: 27.17 MB / 458.7 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.006077/6.865, allocations: 1.912 MB / 3.702 GB, free: 25.21 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/6.865, allocations: 8.875 kB / 3.702 GB, free: 25.2 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00201/6.867, allocations: 243.8 kB / 3.703 GB, free: 24.96 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009607/6.868, allocations: 0.5258 MB / 3.703 GB, free: 24.4 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.47e-05/6.868, allocations: 53.16 kB / 3.703 GB, free: 24.36 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001308/6.868, allocations: 60.28 kB / 3.703 GB, free: 24.3 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001893/6.87, allocations: 0.9418 MB / 3.704 GB, free: 23.3 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/6.87, allocations: 3.938 kB / 3.704 GB, free: 23.29 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.381e-05/6.87, allocations: 31.98 kB / 3.704 GB, free: 23.26 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/6.87, allocations: 23.94 kB / 3.704 GB, free: 23.24 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001739/6.872, allocations: 0.7424 MB / 3.705 GB, free: 22.5 MB / 458.7 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.00426/6.876, allocations: 4.182 MB / 3.709 GB, free: 18.03 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001686/6.878, allocations: 0.6687 MB / 3.71 GB, free: 17.34 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006171/6.878, allocations: 303.9 kB / 3.71 GB, free: 17.04 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3173/7.196, allocations: 38.88 MB / 3.748 GB, free: 54.99 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001444/7.197, allocations: 0.5841 MB / 3.748 GB, free: 54.85 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004698/7.198, allocations: 79.42 kB / 3.749 GB, free: 54.85 MB / 474.7 MB Notification: Performance of pre-optimization done (n=57): time 2.996e-06/7.198, allocations: 0 / 3.749 GB, free: 54.85 MB / 474.7 MB Notification: Performance of matching and sorting (n=65): time 0.009193/7.207, allocations: 3.314 MB / 3.752 GB, free: 54.19 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.135e-05/7.207, allocations: 270.6 kB / 3.752 GB, free: 53.88 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004485/7.207, allocations: 474.3 kB / 3.752 GB, free: 53.76 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.311e-05/7.208, allocations: 40.61 kB / 3.753 GB, free: 53.73 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001715/7.208, allocations: 325.7 kB / 3.753 GB, free: 53.59 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001343/7.208, allocations: 209.3 kB / 3.753 GB, free: 53.49 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.805e-05/7.208, allocations: 20.38 kB / 3.753 GB, free: 53.49 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.903e-05/7.208, allocations: 368.5 kB / 3.753 GB, free: 53.18 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004672/7.208, allocations: 294.4 kB / 3.754 GB, free: 53.18 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005237/7.209, allocations: 473.7 kB / 3.754 GB, free: 52.98 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/7.21, allocations: 0.8588 MB / 3.755 GB, free: 52.69 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/7.21, allocations: 3.719 kB / 3.755 GB, free: 52.69 MB / 474.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001651/7.212, allocations: 1.07 MB / 3.756 GB, free: 52.54 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000107/7.212, allocations: 289.7 kB / 3.756 GB, free: 52.23 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/7.212, allocations: 3.781 kB / 3.756 GB, free: 52.23 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003206/7.215, allocations: 363.5 kB / 3.757 GB, free: 52.23 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004752/7.216, allocations: 134.6 kB / 3.757 GB, free: 52.23 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008797/7.216, allocations: 0.8022 MB / 3.758 GB, free: 51.71 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006664/7.217, allocations: 71.42 kB / 3.758 GB, free: 51.71 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.478e-05/7.217, allocations: 47.67 kB / 3.758 GB, free: 51.71 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/7.217, allocations: 4.531 kB / 3.758 GB, free: 51.71 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001609/7.219, allocations: 1.014 MB / 3.759 GB, free: 51.62 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/7.219, allocations: 3.625 kB / 3.759 GB, free: 51.62 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003232/7.222, allocations: 365.2 kB / 3.759 GB, free: 51.61 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004381/7.223, allocations: 121.3 kB / 3.759 GB, free: 51.61 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008696/7.223, allocations: 0.804 MB / 3.76 GB, free: 51.09 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007051/7.224, allocations: 65.53 kB / 3.76 GB, free: 51.09 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.043e-05/7.224, allocations: 47 kB / 3.76 GB, free: 51.09 MB / 474.7 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 ($whenCondition1,$whenCondition2,pump.medium.phase,q_F_Tab.a,q_F_Tab.b,q_F_Tab.last,$PRE.q_F_Tab.nextEvent,q_F_Tab.nextEvent,q_F_Tab.nextEventScaled,Y_Valve_Tab.a,Y_Valve_Tab.b,Y_Valve_Tab.last,$PRE.Y_Valve_Tab.nextEvent,Y_Valve_Tab.nextEvent,Y_Valve_Tab.nextEventScaled,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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0004848/7.225, allocations: 354.3 kB / 3.76 GB, free: 50.84 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/7.225, allocations: 72.91 kB / 3.76 GB, free: 50.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00499/7.23, allocations: 4.801 MB / 3.765 GB, free: 50.51 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.478e-05/7.23, allocations: 31.22 kB / 3.765 GB, free: 50.51 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/7.23, allocations: 3.609 kB / 3.765 GB, free: 50.51 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/7.23, allocations: 2.938 kB / 3.765 GB, free: 50.51 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006524/7.236, allocations: 6.585 MB / 3.772 GB, free: 49.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/7.236, allocations: 0 / 3.772 GB, free: 49.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003744/7.237, allocations: 99.42 kB / 3.772 GB, free: 49.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001906/7.239, allocations: 1.077 MB / 3.773 GB, free: 49.79 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.242e-05/7.239, allocations: 32.83 kB / 3.773 GB, free: 49.79 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001664/7.241, allocations: 2.348 MB / 3.775 GB, free: 49.27 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/7.241, allocations: 0 / 3.775 GB, free: 49.27 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005461/7.246, allocations: 5.536 MB / 3.78 GB, free: 48.93 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003397/7.246, allocations: 247.5 kB / 3.781 GB, free: 48.78 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001346/7.247, allocations: 21.53 kB / 3.781 GB, free: 48.78 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006209/7.247, allocations: 74.38 kB / 3.781 GB, free: 48.77 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/7.247, allocations: 55.48 kB / 3.781 GB, free: 48.77 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-05/7.247, allocations: 32.11 kB / 3.781 GB, free: 48.77 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005148/7.248, allocations: 485.8 kB / 3.781 GB, free: 48.67 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.3e-07/7.248, allocations: 0 / 3.781 GB, free: 48.67 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005648/7.254, allocations: 1.368 MB / 3.783 GB, free: 48.67 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (evaporator.p,evaporator.V_l,controller.x) * Number of discrete variables: 27 ($cse1.region3boundary,$cse2.region3boundary,$cse4.phase,$cse4.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$whenCondition1,$whenCondition2,pump.medium.phase,q_F_Tab.a,q_F_Tab.b,q_F_Tab.last,q_F_Tab.nextEvent,q_F_Tab.nextEventScaled,Y_Valve_Tab.a,Y_Valve_Tab.b,Y_Valve_Tab.last,Y_Valve_Tab.nextEvent,Y_Valve_Tab.nextEventScaled) * Number of discrete states: 12 (Y_Valve_Tab.nextEvent,Y_Valve_Tab.last,Y_Valve_Tab.nextEventScaled,Y_Valve_Tab.b,Y_Valve_Tab.a,$whenCondition2,q_F_Tab.nextEvent,q_F_Tab.last,q_F_Tab.nextEventScaled,q_F_Tab.b,q_F_Tab.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.007437/7.261, allocations: 1.791 MB / 3.784 GB, free: 48.52 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003025/7.264, allocations: 1.831 MB / 3.786 GB, free: 48.26 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/7.264, allocations: 4.484 kB / 3.786 GB, free: 48.26 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001229/7.265, allocations: 0.9025 MB / 3.787 GB, free: 48.12 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001816/7.267, allocations: 317.6 kB / 3.787 GB, free: 48.12 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003234/7.27, allocations: 2.73 MB / 3.79 GB, free: 46.98 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004544/7.271, allocations: 1.069 MB / 3.791 GB, free: 46.28 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001009/7.272, allocations: 0.6004 MB / 3.792 GB, free: 46.27 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/7.272, allocations: 65.7 kB / 3.792 GB, free: 46.26 MB / 474.7 MB Notification: Performance of SimCode: time 7.72e-07/7.272, allocations: 0 / 3.792 GB, free: 46.26 MB / 474.7 MB Notification: Performance of Templates: time 0.05809/7.33, allocations: 49.8 MB / 3.84 GB, free: 44.47 MB / 474.7 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","../files/Modelica_4.0.0_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches