Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001659/0.001659, allocations: 200.7 kB / 18.11 MB, free: 3.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 226.5 MB / 245.4 MB, free: 8.273 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000743/0.000743, allocations: 91.94 kB / 297.5 MB, free: 6.934 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002195/0.0002196, allocations: 4 kB / 358.1 MB, free: 10.33 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2048/0.2051, allocations: 51.29 MB / 409.4 MB, free: 27.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.389/5.594, allocations: 2.839 GB / 3.238 GB, free: 84.57 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/5.594, allocations: 91.66 kB / 3.239 GB, free: 84.52 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.479/7.073, allocations: 480.3 MB / 3.708 GB, free: 39.14 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.615e-06/7.073, allocations: 0 / 3.708 GB, free: 39.14 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.943e-05/7.073, allocations: 17.22 kB / 3.708 GB, free: 39.14 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.005798/7.079, allocations: 1.922 MB / 3.71 GB, free: 38.07 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/7.079, allocations: 10.78 kB / 3.71 GB, free: 38.07 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001942/7.081, allocations: 245.1 kB / 3.71 GB, free: 38.04 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008203/7.082, allocations: 0.5297 MB / 3.71 GB, free: 37.77 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.514e-05/7.082, allocations: 47.78 kB / 3.71 GB, free: 37.77 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/7.082, allocations: 61.69 kB / 3.71 GB, free: 37.76 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001786/7.084, allocations: 0.9297 MB / 3.711 GB, free: 37.55 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/7.084, allocations: 7.375 kB / 3.711 GB, free: 37.55 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.895e-05/7.084, allocations: 32.44 kB / 3.711 GB, free: 37.55 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.894e-05/7.084, allocations: 13.03 kB / 3.711 GB, free: 37.55 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001603/7.085, allocations: 0.7451 MB / 3.712 GB, free: 37.55 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.003947/7.089, allocations: 4.193 MB / 3.716 GB, free: 34.68 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001571/7.091, allocations: 0.6708 MB / 3.717 GB, free: 34.61 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004493/7.091, allocations: 301.1 kB / 3.717 GB, free: 34.58 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06835/7.16, allocations: 43.07 MB / 3.759 GB, free: 24.14 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00153/7.161, allocations: 0.5863 MB / 3.76 GB, free: 24 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000492/7.162, allocations: 93.75 kB / 3.76 GB, free: 23.96 MB / 474.7 MB Notification: Performance of pre-optimization done (n=57): time 3.767e-06/7.162, allocations: 0 / 3.76 GB, free: 23.96 MB / 474.7 MB Notification: Performance of matching and sorting (n=65): time 0.009468/7.171, allocations: 3.301 MB / 3.763 GB, free: 23.23 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001341/7.171, allocations: 285.1 kB / 3.763 GB, free: 22.9 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005139/7.172, allocations: 475.8 kB / 3.764 GB, free: 22.78 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.215e-05/7.172, allocations: 36.33 kB / 3.764 GB, free: 22.75 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001928/7.172, allocations: 324.3 kB / 3.764 GB, free: 22.58 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/7.172, allocations: 214.6 kB / 3.764 GB, free: 22.45 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.93e-05/7.172, allocations: 9.688 kB / 3.764 GB, free: 22.45 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001566/7.173, allocations: 380 kB / 3.765 GB, free: 22.13 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004897/7.173, allocations: 287.9 kB / 3.765 GB, free: 22.13 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005535/7.174, allocations: 477.9 kB / 3.765 GB, free: 21.93 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001122/7.175, allocations: 0.86 MB / 3.766 GB, free: 21.62 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/7.175, allocations: 2.969 kB / 3.766 GB, free: 21.62 MB / 474.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001642/7.176, allocations: 1.069 MB / 3.767 GB, free: 21.47 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001453/7.177, allocations: 285.6 kB / 3.768 GB, free: 21.16 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/7.177, allocations: 6.594 kB / 3.768 GB, free: 21.16 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003315/7.18, allocations: 353.1 kB / 3.768 GB, free: 21.14 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004397/7.18, allocations: 138.9 kB / 3.768 GB, free: 21.13 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009819/7.181, allocations: 0.8009 MB / 3.769 GB, free: 20.61 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006086/7.182, allocations: 71.78 kB / 3.769 GB, free: 20.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-05/7.182, allocations: 50.88 kB / 3.769 GB, free: 20.6 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.534e-06/7.182, allocations: 3.312 kB / 3.769 GB, free: 20.6 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001499/7.184, allocations: 1.005 MB / 3.77 GB, free: 20.52 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/7.184, allocations: 3.719 kB / 3.77 GB, free: 20.52 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003239/7.187, allocations: 354.5 kB / 3.77 GB, free: 20.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004055/7.187, allocations: 138 kB / 3.77 GB, free: 20.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008972/7.188, allocations: 0.802 MB / 3.771 GB, free: 19.98 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005435/7.189, allocations: 63.2 kB / 3.771 GB, free: 19.97 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.266e-05/7.189, allocations: 52.62 kB / 3.771 GB, free: 19.97 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.0004242/7.189, allocations: 368.7 kB / 3.772 GB, free: 19.71 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.634e-05/7.189, allocations: 68.03 kB / 3.772 GB, free: 19.68 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004739/7.194, allocations: 4.797 MB / 3.776 GB, free: 19.33 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.199e-05/7.194, allocations: 32.03 kB / 3.776 GB, free: 19.33 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/7.194, allocations: 7.641 kB / 3.776 GB, free: 19.33 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.876e-06/7.194, allocations: 0 / 3.776 GB, free: 19.33 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006276/7.2, allocations: 6.58 MB / 3.783 GB, free: 18.58 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/7.2, allocations: 0 / 3.783 GB, free: 18.58 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003766/7.201, allocations: 105.2 kB / 3.783 GB, free: 18.58 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001928/7.203, allocations: 1.073 MB / 3.784 GB, free: 18.56 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.822e-05/7.203, allocations: 34.17 kB / 3.784 GB, free: 18.56 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001788/7.205, allocations: 2.346 MB / 3.786 GB, free: 18.04 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/7.205, allocations: 3.438 kB / 3.786 GB, free: 18.04 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005541/7.21, allocations: 5.549 MB / 3.792 GB, free: 16.7 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004236/7.211, allocations: 239.3 kB / 3.792 GB, free: 16.5 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001405/7.211, allocations: 29.62 kB / 3.792 GB, free: 16.49 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006367/7.211, allocations: 68.48 kB / 3.792 GB, free: 16.48 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001435/7.212, allocations: 56.39 kB / 3.792 GB, free: 16.47 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.417e-05/7.212, allocations: 28.27 kB / 3.792 GB, free: 16.46 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005584/7.212, allocations: 478.8 kB / 3.793 GB, free: 16.25 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.1e-07/7.212, allocations: 3.531 kB / 3.793 GB, free: 16.25 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005662/7.218, allocations: 1.389 MB / 3.794 GB, free: 15.99 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.0066/7.225, allocations: 1.783 MB / 3.796 GB, free: 15.56 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002962/7.227, allocations: 1.843 MB / 3.798 GB, free: 14.74 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/7.228, allocations: 0 / 3.798 GB, free: 14.74 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001181/7.229, allocations: 0.8966 MB / 3.798 GB, free: 14.28 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001716/7.23, allocations: 330.1 kB / 3.799 GB, free: 14.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003069/7.234, allocations: 2.736 MB / 3.801 GB, free: 12.64 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005558/7.234, allocations: 1.07 MB / 3.802 GB, free: 11.91 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0008518/7.235, allocations: 0.5913 MB / 3.803 GB, free: 11.88 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/7.235, allocations: 57.19 kB / 3.803 GB, free: 11.88 MB / 474.7 MB Notification: Performance of SimCode: time 9.31e-07/7.235, allocations: 0 / 3.803 GB, free: 11.88 MB / 474.7 MB Notification: Performance of Templates: time 0.2883/7.523, allocations: 49.86 MB / 3.852 GB, free: 69.41 MB / 490.7 MB make -j1 -f Modelica_trunk_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.makefile (rm -f Modelica_trunk_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe ; mkfifo Modelica_trunk_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe >> ../files/Modelica_trunk_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.sim & ./Modelica_trunk_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches