Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001473/0.001473, allocations: 186.3 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.02/2.02, allocations: 205.4 MB / 222.5 MB, free: 9.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001147/0.001147, allocations: 99.38 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003935/0.0003936, allocations: 8 kB / 327 MB, free: 208 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3289, allocations: 47.57 MB / 374.5 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.261/8.59, allocations: 2.832 GB / 3.198 GB, free: 94.14 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002847/8.591, allocations: 88.47 kB / 3.198 GB, free: 94.14 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545/11.14, allocations: 498.9 MB / 3.685 GB, free: 44.25 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.514e-06/11.14, allocations: 0 / 3.685 GB, free: 44.25 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.665e-05/11.14, allocations: 18.31 kB / 3.685 GB, free: 44.25 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.008235/11.14, allocations: 1.929 MB / 3.687 GB, free: 43.27 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/11.14, allocations: 16.03 kB / 3.687 GB, free: 43.27 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00337/11.15, allocations: 252.6 kB / 3.688 GB, free: 43.23 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00162/11.15, allocations: 0.5067 MB / 3.688 GB, free: 42.96 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.844e-05/11.15, allocations: 43.97 kB / 3.688 GB, free: 42.96 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001752/11.15, allocations: 61.06 kB / 3.688 GB, free: 42.96 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003307/11.15, allocations: 0.9268 MB / 3.689 GB, free: 42.76 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.329e-05/11.15, allocations: 3.094 kB / 3.689 GB, free: 42.76 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001134/11.15, allocations: 31.72 kB / 3.689 GB, free: 42.76 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.278e-05/11.15, allocations: 14.78 kB / 3.689 GB, free: 42.76 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003265/11.16, allocations: 0.7413 MB / 3.69 GB, free: 42.75 MB / 442.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.007464/11.16, allocations: 4.209 MB / 3.694 GB, free: 39.89 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002782/11.17, allocations: 0.6637 MB / 3.695 GB, free: 39.82 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1311/11.3, allocations: 38.86 MB / 3.733 GB, free: 34 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002468/11.3, allocations: 0.5809 MB / 3.733 GB, free: 33.86 MB / 458.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009726/11.3, allocations: 94.84 kB / 3.733 GB, free: 33.82 MB / 458.7 MB Notification: Performance of pre-optimization done (n=57): time 5.56e-06/11.3, allocations: 0 / 3.733 GB, free: 33.82 MB / 458.7 MB Notification: Performance of matching and sorting (n=65): time 0.01818/11.32, allocations: 3.467 MB / 3.737 GB, free: 32.89 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001989/11.32, allocations: 271.5 kB / 3.737 GB, free: 32.57 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007768/11.32, allocations: 432.2 kB / 3.737 GB, free: 32.45 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000216/11.32, allocations: 36.73 kB / 3.737 GB, free: 32.42 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002949/11.32, allocations: 353.5 kB / 3.738 GB, free: 32.19 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003146/11.32, allocations: 209.5 kB / 3.738 GB, free: 32.06 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.757e-05/11.32, allocations: 13.94 kB / 3.738 GB, free: 32.06 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001526/11.32, allocations: 336.4 kB / 3.738 GB, free: 31.75 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001004/11.32, allocations: 296.2 kB / 3.739 GB, free: 31.75 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001092/11.32, allocations: 470 kB / 3.739 GB, free: 31.55 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/11.33, allocations: 386 kB / 3.739 GB, free: 31.48 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/11.33, allocations: 3.594 kB / 3.739 GB, free: 31.48 MB / 458.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003929/11.33, allocations: 1.035 MB / 3.74 GB, free: 31.34 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007456/11.33, allocations: 1.809 MB / 3.742 GB, free: 29.45 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/11.33, allocations: 3.625 kB / 3.742 GB, free: 29.45 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00683/11.34, allocations: 356.4 kB / 3.742 GB, free: 29.43 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/11.34, allocations: 143.2 kB / 3.743 GB, free: 29.43 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001784/11.34, allocations: 0.8029 MB / 3.743 GB, free: 28.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/11.34, allocations: 80.33 kB / 3.743 GB, free: 28.89 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001402/11.34, allocations: 44.58 kB / 3.743 GB, free: 28.89 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/11.34, allocations: 3.281 kB / 3.743 GB, free: 28.89 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002982/11.34, allocations: 1.008 MB / 3.744 GB, free: 28.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/11.34, allocations: 6.219 kB / 3.744 GB, free: 28.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006622/11.35, allocations: 349.9 kB / 3.745 GB, free: 28.79 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009694/11.35, allocations: 130.8 kB / 3.745 GB, free: 28.79 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001697/11.35, allocations: 0.8018 MB / 3.746 GB, free: 28.27 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001144/11.35, allocations: 64.03 kB / 3.746 GB, free: 28.26 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001412/11.36, allocations: 45.17 kB / 3.746 GB, free: 28.26 MB / 458.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.000719/11.36, allocations: 355.5 kB / 3.746 GB, free: 28 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002517/11.36, allocations: 74.62 kB / 3.746 GB, free: 27.97 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008312/11.36, allocations: 4.789 MB / 3.751 GB, free: 27.62 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.436e-05/11.36, allocations: 35.02 kB / 3.751 GB, free: 27.62 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/11.36, allocations: 0 / 3.751 GB, free: 27.62 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.262e-05/11.36, allocations: 7.469 kB / 3.751 GB, free: 27.62 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01129/11.38, allocations: 6.574 MB / 3.757 GB, free: 26.88 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.826e-05/11.38, allocations: 0 / 3.757 GB, free: 26.88 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008106/11.38, allocations: 105.4 kB / 3.757 GB, free: 26.87 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003534/11.38, allocations: 1.084 MB / 3.759 GB, free: 26.85 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001913/11.38, allocations: 25.11 kB / 3.759 GB, free: 26.85 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002952/11.38, allocations: 2.352 MB / 3.761 GB, free: 26.33 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/11.38, allocations: 3.953 kB / 3.761 GB, free: 26.32 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009821/11.39, allocations: 5.563 MB / 3.766 GB, free: 25.93 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004814/11.39, allocations: 244.6 kB / 3.767 GB, free: 25.75 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003329/11.39, allocations: 27.08 kB / 3.767 GB, free: 25.75 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001247/11.4, allocations: 64.45 kB / 3.767 GB, free: 25.75 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001683/11.4, allocations: 50.75 kB / 3.767 GB, free: 25.74 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001027/11.4, allocations: 38.88 kB / 3.767 GB, free: 25.74 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008645/11.4, allocations: 480.5 kB / 3.767 GB, free: 25.64 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.71e-07/11.4, allocations: 0.9375 kB / 3.767 GB, free: 25.64 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006486/11.4, allocations: 1.376 MB / 3.768 GB, free: 25.48 MB / 458.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.01021/11.41, allocations: 1.779 MB / 3.77 GB, free: 25.08 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005027/11.42, allocations: 1.841 MB / 3.772 GB, free: 24.79 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.146e-06/11.42, allocations: 0 / 3.772 GB, free: 24.79 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002081/11.42, allocations: 0.901 MB / 3.773 GB, free: 24.65 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002837/11.42, allocations: 306.2 kB / 3.773 GB, free: 24.63 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005087/11.43, allocations: 2.765 MB / 3.776 GB, free: 23.36 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007079/11.43, allocations: 1.094 MB / 3.777 GB, free: 22.64 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003091/11.43, allocations: 67.03 kB / 3.777 GB, free: 22.63 MB / 458.7 MB Notification: Performance of SimCode: time 1.413e-06/11.43, allocations: 0 / 3.777 GB, free: 22.63 MB / 458.7 MB Notification: Performance of Templates: time 0.07236/11.5, allocations: 37.94 MB / 3.814 GB, free: 7.965 MB / 458.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.sim & ./Modelica_3.2.3_cpp_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Fluid/Examples/DrumBoiler/DrumBoiler/DrumBoiler.csv","../files/Modelica_3.2.3_cpp_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches