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.001223/0.001223, allocations: 175.4 kB / 8.345 MB, free: 0.7305 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.551/1.551, allocations: 221.5 MB / 230.3 MB, free: 7.562 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.00105, allocations: 99.47 kB / 281.2 MB, free: 5.316 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.663e-05/1.666e-05, allocations: 4 kB / 337 MB, free: 10.03 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1371, allocations: 50.42 MB / 387.5 MB, free: 7.57 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.596/8.733, allocations: 2.837 GB / 3.215 GB, free: 1.977 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002758/8.734, allocations: 80.7 kB / 3.215 GB, free: 1.938 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.009/10.74, allocations: 498 MB / 3.702 GB, free: 13.88 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.293e-06/10.74, allocations: 0 / 3.702 GB, free: 13.88 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.921e-05/10.74, allocations: 16 kB / 3.702 GB, free: 13.86 MB / 442.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.009016/10.75, allocations: 1.856 MB / 3.704 GB, free: 11.95 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.878e-05/10.75, allocations: 12.03 kB / 3.704 GB, free: 11.94 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002716/10.75, allocations: 246.9 kB / 3.704 GB, free: 11.7 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0014/10.76, allocations: 0.5005 MB / 3.704 GB, free: 11.16 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.357e-05/10.76, allocations: 24.34 kB / 3.704 GB, free: 11.14 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001758/10.76, allocations: 47.52 kB / 3.704 GB, free: 11.1 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001088/10.76, allocations: 0.4945 MB / 3.705 GB, free: 10.6 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/10.76, allocations: 0.6711 MB / 3.705 GB, free: 9.871 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/10.76, allocations: 4 kB / 3.705 GB, free: 9.867 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.528e-05/10.76, allocations: 3.719 kB / 3.705 GB, free: 9.867 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.543e-05/10.76, allocations: 16 kB / 3.705 GB, free: 9.852 MB / 442.7 MB Warning: The model contains alias variables with conflicting start and/or 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.4643/11.22, allocations: 66.44 MB / 3.77 GB, free: 23.59 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006547/11.22, allocations: 356.2 kB / 3.771 GB, free: 23.57 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003185/11.22, allocations: 217.1 kB / 3.771 GB, free: 23.56 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04914/11.27, allocations: 23.8 MB / 3.794 GB, free: 26.46 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006124/11.27, allocations: 362.2 kB / 3.795 GB, free: 26.33 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004848/11.27, allocations: 71.11 kB / 3.795 GB, free: 26.33 MB / 474.7 MB Notification: Performance of pre-optimization done (n=50): time 2.154e-06/11.27, allocations: 1.969 kB / 3.795 GB, free: 26.33 MB / 474.7 MB Notification: Performance of matching and sorting (n=58): time 0.008778/11.28, allocations: 2.369 MB / 3.797 GB, free: 25.96 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001285/11.28, allocations: 223.6 kB / 3.797 GB, free: 25.71 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004629/11.28, allocations: 375.8 kB / 3.797 GB, free: 25.59 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.239e-05/11.28, allocations: 27.8 kB / 3.798 GB, free: 25.56 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002662/11.28, allocations: 354.5 kB / 3.798 GB, free: 25.41 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/11.28, allocations: 179.6 kB / 3.798 GB, free: 25.32 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.131e-05/11.28, allocations: 0 / 3.798 GB, free: 25.32 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001662/11.28, allocations: 369.7 kB / 3.798 GB, free: 25 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003175/11.29, allocations: 240.7 kB / 3.799 GB, free: 25 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004193/11.29, allocations: 424.5 kB / 3.799 GB, free: 24.8 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001442/11.29, allocations: 370.2 kB / 3.799 GB, free: 24.79 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/11.29, allocations: 3.594 kB / 3.799 GB, free: 24.79 MB / 474.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002503/11.29, allocations: 0.9646 MB / 3.8 GB, free: 24.7 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000786/11.29, allocations: 1.81 MB / 3.802 GB, free: 22.81 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/11.29, allocations: 3.781 kB / 3.802 GB, free: 22.81 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008692/11.29, allocations: 254.3 kB / 3.802 GB, free: 22.79 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004892/11.29, allocations: 131.7 kB / 3.802 GB, free: 22.79 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001621/11.29, allocations: 0.863 MB / 3.803 GB, free: 22.27 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007979/11.29, allocations: 65.69 kB / 3.803 GB, free: 22.26 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.373e-05/11.29, allocations: 42.86 kB / 3.803 GB, free: 22.26 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/11.29, allocations: 6.906 kB / 3.803 GB, free: 22.26 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002374/11.3, allocations: 0.9116 MB / 3.804 GB, free: 22.23 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/11.3, allocations: 9 kB / 3.804 GB, free: 22.23 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007723/11.3, allocations: 243.5 kB / 3.805 GB, free: 22.22 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004285/11.3, allocations: 132.9 kB / 3.805 GB, free: 22.22 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001522/11.3, allocations: 0.8621 MB / 3.805 GB, free: 21.69 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007025/11.3, allocations: 49.09 kB / 3.806 GB, free: 21.69 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.878e-05/11.3, allocations: 46.09 kB / 3.806 GB, free: 21.69 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 () * 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.0003286/11.3, allocations: 199.3 kB / 3.806 GB, free: 21.52 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/11.3, allocations: 68.95 kB / 3.806 GB, free: 21.48 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00477/11.31, allocations: 4.37 MB / 3.81 GB, free: 21.3 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-05/11.31, allocations: 32.47 kB / 3.81 GB, free: 21.29 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/11.31, allocations: 0 / 3.81 GB, free: 21.29 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/11.31, allocations: 6.125 kB / 3.81 GB, free: 21.29 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006339/11.31, allocations: 6.087 MB / 3.816 GB, free: 20.68 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.655e-06/11.31, allocations: 4 kB / 3.816 GB, free: 20.68 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003764/11.31, allocations: 94.14 kB / 3.816 GB, free: 20.68 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002078/11.31, allocations: 1.266 MB / 3.817 GB, free: 20.66 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.562e-05/11.31, allocations: 20.88 kB / 3.817 GB, free: 20.66 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0023/11.32, allocations: 2.86 MB / 3.82 GB, free: 20.13 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/11.32, allocations: 1.969 kB / 3.82 GB, free: 20.13 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005891/11.32, allocations: 5.52 MB / 3.826 GB, free: 19.89 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000312/11.32, allocations: 165.6 kB / 3.826 GB, free: 19.75 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001384/11.32, allocations: 8.844 kB / 3.826 GB, free: 19.75 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000609/11.32, allocations: 61.88 kB / 3.826 GB, free: 19.74 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/11.32, allocations: 46.58 kB / 3.826 GB, free: 19.74 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.13e-05/11.32, allocations: 31.59 kB / 3.826 GB, free: 19.74 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003237/11.32, allocations: 279.5 kB / 3.826 GB, free: 19.65 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.1e-07/11.32, allocations: 0 / 3.826 GB, free: 19.65 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00626/11.33, allocations: 1.29 MB / 3.827 GB, free: 19.65 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (evaporator.p,evaporator.V_l,controller.x) * Number of discrete variables: 25 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 7 * 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.0093/11.34, allocations: 1.917 MB / 3.829 GB, free: 19.41 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002931/11.34, allocations: 1.651 MB / 3.831 GB, free: 19.13 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/11.34, allocations: 0 / 3.831 GB, free: 19.13 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001095/11.34, allocations: 0.7762 MB / 3.832 GB, free: 19 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001394/11.35, allocations: 217.4 kB / 3.832 GB, free: 18.99 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002305/11.35, allocations: 1.475 MB / 3.833 GB, free: 18.59 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005595/11.35, allocations: 1.037 MB / 3.834 GB, free: 17.88 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001034/11.35, allocations: 0.693 MB / 3.835 GB, free: 17.85 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/11.35, allocations: 48.55 kB / 3.835 GB, free: 17.84 MB / 474.7 MB Notification: Performance of SimCode: time 9.51e-07/11.35, allocations: 0 / 3.835 GB, free: 17.84 MB / 474.7 MB Notification: Performance of Templates: time 0.055/11.4, allocations: 40.82 MB / 3.875 GB, free: 11.03 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/jenkins/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