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.00105/0.001051, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.211/1.211, allocations: 227.2 MB / 245 MB, free: 7.496 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008088/0.0008087, allocations: 107.6 kB / 297.3 MB, free: 6.188 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002128/0.0002128, allocations: 12 kB / 357.9 MB, free: 9.555 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2206, allocations: 51.48 MB / 409.4 MB, free: 26.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.211/5.431, allocations: 2.838 GB / 3.238 GB, free: 70.09 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002311/5.432, allocations: 91.95 kB / 3.238 GB, free: 70 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.609/7.04, allocations: 0.4923 GB / 3.731 GB, free: 38.22 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.915e-06/7.04, allocations: 0 / 3.731 GB, free: 38.22 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.392e-05/7.041, allocations: 16.62 kB / 3.731 GB, free: 38.22 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.006469/7.047, allocations: 1.929 MB / 3.733 GB, free: 37.06 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/7.047, allocations: 15.09 kB / 3.733 GB, free: 37.05 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002067/7.049, allocations: 254.9 kB / 3.733 GB, free: 37.02 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/7.05, allocations: 0.5056 MB / 3.733 GB, free: 36.75 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.027e-05/7.05, allocations: 46.34 kB / 3.733 GB, free: 36.75 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001373/7.05, allocations: 62.94 kB / 3.733 GB, free: 36.75 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001963/7.052, allocations: 0.9282 MB / 3.734 GB, free: 36.54 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/7.052, allocations: 6.781 kB / 3.734 GB, free: 36.54 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.942e-05/7.053, allocations: 25.19 kB / 3.734 GB, free: 36.54 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.518e-05/7.053, allocations: 14.47 kB / 3.734 GB, free: 36.54 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00169/7.054, allocations: 0.7475 MB / 3.735 GB, free: 36.54 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.004434/7.059, allocations: 4.188 MB / 3.739 GB, free: 33.68 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001556/7.06, allocations: 0.6698 MB / 3.74 GB, free: 33.61 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0698/7.13, allocations: 43.07 MB / 3.782 GB, free: 22.85 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001493/7.132, allocations: 0.5903 MB / 3.782 GB, free: 22.68 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004941/7.132, allocations: 83.91 kB / 3.783 GB, free: 22.64 MB / 474.7 MB Notification: Performance of pre-optimization done (n=57): time 2.434e-06/7.132, allocations: 0 / 3.783 GB, free: 22.64 MB / 474.7 MB Notification: Performance of matching and sorting (n=65): time 0.009394/7.142, allocations: 3.467 MB / 3.786 GB, free: 21.01 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001152/7.142, allocations: 271.2 kB / 3.786 GB, free: 20.7 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004357/7.142, allocations: 419.5 kB / 3.787 GB, free: 20.5 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.626e-05/7.142, allocations: 37.55 kB / 3.787 GB, free: 20.46 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002303/7.142, allocations: 336.6 kB / 3.787 GB, free: 20.19 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001383/7.143, allocations: 207 kB / 3.787 GB, free: 20.03 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.109e-05/7.143, allocations: 11.81 kB / 3.787 GB, free: 20.02 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001395/7.143, allocations: 375.8 kB / 3.788 GB, free: 19.68 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004747/7.143, allocations: 288.2 kB / 3.788 GB, free: 19.59 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005412/7.144, allocations: 482.4 kB / 3.788 GB, free: 19.27 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005293/7.144, allocations: 389.2 kB / 3.789 GB, free: 19.06 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/7.144, allocations: 3.938 kB / 3.789 GB, free: 19.06 MB / 474.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001629/7.146, allocations: 1.068 MB / 3.79 GB, free: 18.59 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007466/7.147, allocations: 1.811 MB / 3.791 GB, free: 16.66 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/7.147, allocations: 2.625 kB / 3.791 GB, free: 16.66 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003632/7.15, allocations: 351.8 kB / 3.792 GB, free: 16.58 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004731/7.151, allocations: 137.8 kB / 3.792 GB, free: 16.57 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009755/7.152, allocations: 0.8017 MB / 3.793 GB, free: 15.93 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000626/7.153, allocations: 81.73 kB / 3.793 GB, free: 15.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.627e-05/7.153, allocations: 45.86 kB / 3.793 GB, free: 15.89 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.546e-06/7.153, allocations: 3.406 kB / 3.793 GB, free: 15.89 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001583/7.154, allocations: 1.006 MB / 3.794 GB, free: 15.46 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/7.154, allocations: 7.625 kB / 3.794 GB, free: 15.46 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003433/7.158, allocations: 358.3 kB / 3.794 GB, free: 15.31 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004/7.158, allocations: 126.3 kB / 3.794 GB, free: 15.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009258/7.159, allocations: 0.7949 MB / 3.795 GB, free: 14.43 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005545/7.16, allocations: 74.2 kB / 3.795 GB, free: 14.37 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.297e-05/7.16, allocations: 51.59 kB / 3.795 GB, free: 14.33 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.0004376/7.16, allocations: 357.3 kB / 3.796 GB, free: 13.96 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/7.16, allocations: 70.53 kB / 3.796 GB, free: 13.9 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004626/7.165, allocations: 4.796 MB / 3.8 GB, free: 9.664 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.39e-05/7.165, allocations: 31.3 kB / 3.8 GB, free: 9.645 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/7.165, allocations: 0 / 3.8 GB, free: 9.645 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/7.165, allocations: 3.797 kB / 3.8 GB, free: 9.645 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00626/7.171, allocations: 6.568 MB / 3.807 GB, free: 3.836 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/7.171, allocations: 0 / 3.807 GB, free: 3.836 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003704/7.172, allocations: 105.5 kB / 3.807 GB, free: 3.75 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001911/7.174, allocations: 1.084 MB / 3.808 GB, free: 2.906 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-05/7.174, allocations: 26.02 kB / 3.808 GB, free: 2.887 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00184/7.175, allocations: 2.347 MB / 3.81 GB, free: 0.7656 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/7.175, allocations: 8.016 kB / 3.81 GB, free: 0.7578 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009368/7.185, allocations: 5.827 MB / 3.816 GB, free: 12.46 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003562/7.185, allocations: 248 kB / 3.816 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001418/7.185, allocations: 27.89 kB / 3.816 GB, free: 12.19 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006779/7.186, allocations: 76.95 kB / 3.816 GB, free: 12.13 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/7.186, allocations: 45.33 kB / 3.816 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.245e-05/7.186, allocations: 35.75 kB / 3.816 GB, free: 12.08 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005848/7.187, allocations: 478.9 kB / 3.817 GB, free: 11.68 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.41e-07/7.187, allocations: 0 / 3.817 GB, free: 11.68 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005773/7.193, allocations: 1.379 MB / 3.818 GB, free: 10.32 MB / 490.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.00744/7.2, allocations: 1.797 MB / 3.82 GB, free: 8.934 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003546/7.204, allocations: 1.838 MB / 3.822 GB, free: 7.238 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.748e-06/7.204, allocations: 4 kB / 3.822 GB, free: 7.234 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001261/7.205, allocations: 0.9025 MB / 3.823 GB, free: 6.375 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001566/7.207, allocations: 308.6 kB / 3.823 GB, free: 6.16 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003522/7.21, allocations: 2.722 MB / 3.825 GB, free: 3.668 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000653/7.211, allocations: 1.09 MB / 3.827 GB, free: 2.695 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0009061/7.212, allocations: 0.5966 MB / 3.827 GB, free: 2.336 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/7.212, allocations: 58.25 kB / 3.827 GB, free: 2.285 MB / 490.7 MB Notification: Performance of SimCode: time 5.31e-07/7.212, allocations: 0 / 3.827 GB, free: 2.285 MB / 490.7 MB Notification: Performance of Templates: time 0.297/7.509, allocations: 47.54 MB / 3.874 GB, free: 66.32 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/jenkins/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