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.001573/0.001573, allocations: 180.1 kB / 16.38 MB, free: 5.766 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.354/1.354, allocations: 223.2 MB / 240.3 MB, free: 10.16 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.0008085/0.0008085, allocations: 89.95 kB / 291.5 MB, free: 10.7 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002683/0.0002685, allocations: 8 kB / 351.1 MB, free: 15.11 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.2333, allocations: 50.41 MB / 401.5 MB, free: 32.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.24/6.474, allocations: 2.838 GB / 3.23 GB, free: 89.98 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003579/6.474, allocations: 85.33 kB / 3.23 GB, free: 89.93 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.704/8.178, allocations: 0.4923 GB / 3.722 GB, free: 41.82 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.465e-06/8.178, allocations: 0 / 3.722 GB, free: 41.82 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.433e-05/8.179, allocations: 20.61 kB / 3.722 GB, free: 41.82 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.006088/8.185, allocations: 1.924 MB / 3.724 GB, free: 40.75 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/8.185, allocations: 7.344 kB / 3.724 GB, free: 40.75 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002056/8.187, allocations: 251.2 kB / 3.724 GB, free: 40.71 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/8.188, allocations: 0.5095 MB / 3.725 GB, free: 40.46 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.443e-05/8.188, allocations: 44.88 kB / 3.725 GB, free: 40.46 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001222/8.188, allocations: 66.02 kB / 3.725 GB, free: 40.45 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001915/8.19, allocations: 0.9215 MB / 3.726 GB, free: 40.25 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/8.19, allocations: 6.031 kB / 3.726 GB, free: 40.25 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.829e-05/8.19, allocations: 29.34 kB / 3.726 GB, free: 40.25 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/8.19, allocations: 14.94 kB / 3.726 GB, free: 40.25 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00165/8.192, allocations: 0.746 MB / 3.727 GB, free: 40.24 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.003975/8.196, allocations: 4.179 MB / 3.731 GB, free: 37.4 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001514/8.197, allocations: 0.6861 MB / 3.731 GB, free: 37.32 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06814/8.265, allocations: 38.88 MB / 3.769 GB, free: 31.27 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001615/8.267, allocations: 0.5804 MB / 3.77 GB, free: 31.13 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005061/8.268, allocations: 86.11 kB / 3.77 GB, free: 31.1 MB / 474.7 MB Notification: Performance of pre-optimization done (n=57): time 3.337e-06/8.268, allocations: 0 / 3.77 GB, free: 31.1 MB / 474.7 MB Notification: Performance of matching and sorting (n=65): time 0.01037/8.278, allocations: 3.467 MB / 3.773 GB, free: 30.16 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001347/8.278, allocations: 279.9 kB / 3.774 GB, free: 29.84 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005202/8.279, allocations: 413.9 kB / 3.774 GB, free: 29.73 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 7.705e-05/8.279, allocations: 42.73 kB / 3.774 GB, free: 29.7 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002524/8.279, allocations: 319 kB / 3.774 GB, free: 29.54 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001617/8.279, allocations: 220.8 kB / 3.775 GB, free: 29.4 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.631e-05/8.279, allocations: 14.47 kB / 3.775 GB, free: 29.4 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001613/8.279, allocations: 369.6 kB / 3.775 GB, free: 29.09 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005198/8.28, allocations: 290.7 kB / 3.775 GB, free: 29.08 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005806/8.281, allocations: 471.7 kB / 3.776 GB, free: 28.88 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006049/8.281, allocations: 391.7 kB / 3.776 GB, free: 28.8 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/8.281, allocations: 0 / 3.776 GB, free: 28.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001816/8.283, allocations: 1.071 MB / 3.777 GB, free: 28.65 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005905/8.284, allocations: 1.803 MB / 3.779 GB, free: 26.76 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/8.284, allocations: 7.594 kB / 3.779 GB, free: 26.76 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003896/8.288, allocations: 350.8 kB / 3.779 GB, free: 26.75 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005571/8.288, allocations: 137.3 kB / 3.779 GB, free: 26.74 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001132/8.289, allocations: 0.8037 MB / 3.78 GB, free: 26.22 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008851/8.29, allocations: 70.06 kB / 3.78 GB, free: 26.21 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001374/8.29, allocations: 51.16 kB / 3.78 GB, free: 26.21 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/8.29, allocations: 3.625 kB / 3.78 GB, free: 26.21 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001943/8.292, allocations: 1.01 MB / 3.781 GB, free: 26.12 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/8.292, allocations: 3.156 kB / 3.781 GB, free: 26.12 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003618/8.296, allocations: 355.9 kB / 3.781 GB, free: 26.11 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000456/8.296, allocations: 132.8 kB / 3.782 GB, free: 26.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001084/8.297, allocations: 0.8013 MB / 3.782 GB, free: 25.58 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009334/8.298, allocations: 68.05 kB / 3.782 GB, free: 25.57 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001229/8.299, allocations: 50.19 kB / 3.783 GB, free: 25.57 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.0007894/8.299, allocations: 356.3 kB / 3.783 GB, free: 25.31 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002744/8.3, allocations: 70.38 kB / 3.783 GB, free: 25.28 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005754/8.305, allocations: 4.804 MB / 3.788 GB, free: 24.93 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-05/8.305, allocations: 33.81 kB / 3.788 GB, free: 24.92 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/8.305, allocations: 0 / 3.788 GB, free: 24.92 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/8.305, allocations: 6.328 kB / 3.788 GB, free: 24.92 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006577/8.312, allocations: 6.567 MB / 3.794 GB, free: 24.18 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/8.312, allocations: 1.594 kB / 3.794 GB, free: 24.18 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003843/8.312, allocations: 111.1 kB / 3.794 GB, free: 24.17 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00194/8.314, allocations: 1.079 MB / 3.795 GB, free: 24.16 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.035e-05/8.315, allocations: 25.69 kB / 3.795 GB, free: 24.16 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001822/8.316, allocations: 2.344 MB / 3.798 GB, free: 23.64 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/8.316, allocations: 3.25 kB / 3.798 GB, free: 23.64 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006776/8.323, allocations: 5.57 MB / 3.803 GB, free: 23.18 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005332/8.324, allocations: 239.5 kB / 3.803 GB, free: 22.98 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002216/8.324, allocations: 23.44 kB / 3.803 GB, free: 22.97 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008075/8.325, allocations: 71.41 kB / 3.803 GB, free: 22.95 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/8.325, allocations: 48.45 kB / 3.803 GB, free: 22.95 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.1e-05/8.325, allocations: 40.7 kB / 3.803 GB, free: 22.93 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006184/8.326, allocations: 478.7 kB / 3.804 GB, free: 22.72 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.613e-06/8.326, allocations: 0 / 3.804 GB, free: 22.72 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006098/8.332, allocations: 1.377 MB / 3.805 GB, free: 22.46 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.01058/8.342, allocations: 1.784 MB / 3.807 GB, free: 22.03 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00343/8.346, allocations: 1.837 MB / 3.809 GB, free: 21.21 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/8.346, allocations: 0 / 3.809 GB, free: 21.21 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001255/8.347, allocations: 0.9027 MB / 3.81 GB, free: 20.75 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001687/8.349, allocations: 301.5 kB / 3.81 GB, free: 20.68 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004155/8.353, allocations: 2.721 MB / 3.813 GB, free: 19.13 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000951/8.354, allocations: 1.096 MB / 3.814 GB, free: 18.4 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0013/8.355, allocations: 0.6043 MB / 3.814 GB, free: 18.38 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001922/8.355, allocations: 58.33 kB / 3.814 GB, free: 18.36 MB / 474.7 MB Notification: Performance of SimCode: time 1.673e-06/8.355, allocations: 2.812 kB / 3.814 GB, free: 18.36 MB / 474.7 MB Notification: Performance of Templates: time 0.3379/8.693, allocations: 47.43 MB / 3.861 GB, free: 55.77 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