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.001528/0.001528, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.062/2.062, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001092/0.001092, allocations: 92.83 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 1.869e-05/1.879e-05, allocations: 4 kB / 314.8 MB, free: 9.172 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3458, allocations: 47.56 MB / 362.3 MB, free: 45.82 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.136/8.482, allocations: 2.832 GB / 3.186 GB, free: 55.38 MB / 427.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002869/8.483, allocations: 84.39 kB / 3.186 GB, free: 55.34 MB / 427.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.469/10.95, allocations: 492.8 MB / 3.667 GB, free: 36.92 MB / 427.1 MB Notification: Performance of FrontEnd: time 1.563e-06/10.95, allocations: 0 / 3.667 GB, free: 36.92 MB / 427.1 MB Notification: Performance of Transformations before backend: time 4.872e-05/10.95, allocations: 17.58 kB / 3.667 GB, free: 36.92 MB / 427.1 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.007074/10.96, allocations: 1.857 MB / 3.669 GB, free: 35.74 MB / 427.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/10.96, allocations: 13.16 kB / 3.669 GB, free: 35.74 MB / 427.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002838/10.96, allocations: 246.7 kB / 3.669 GB, free: 35.69 MB / 427.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/10.96, allocations: 0.5165 MB / 3.669 GB, free: 35.32 MB / 427.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.276e-05/10.96, allocations: 17.66 kB / 3.669 GB, free: 35.32 MB / 427.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/10.96, allocations: 36.59 kB / 3.669 GB, free: 35.32 MB / 427.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001219/10.96, allocations: 0.489 MB / 3.67 GB, free: 35.15 MB / 427.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001323/10.97, allocations: 0.6766 MB / 3.671 GB, free: 34.79 MB / 427.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/10.97, allocations: 0 / 3.671 GB, free: 34.79 MB / 427.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.713e-05/10.97, allocations: 3.469 kB / 3.671 GB, free: 34.79 MB / 427.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.156e-05/10.97, allocations: 17.22 kB / 3.671 GB, free: 34.79 MB / 427.1 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.2029/11.17, allocations: 66.44 MB / 3.736 GB, free: 13.08 MB / 459.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008699/11.17, allocations: 360.2 kB / 3.736 GB, free: 12.74 MB / 459.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004251/11.17, allocations: 220.5 kB / 3.736 GB, free: 12.54 MB / 459.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4153/11.59, allocations: 23.79 MB / 3.759 GB, free: 62.97 MB / 459.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008097/11.59, allocations: 357.1 kB / 3.76 GB, free: 62.84 MB / 459.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006388/11.59, allocations: 67.69 kB / 3.76 GB, free: 62.84 MB / 459.1 MB Notification: Performance of pre-optimization done (n=50): time 3.386e-06/11.59, allocations: 2.875 kB / 3.76 GB, free: 62.84 MB / 459.1 MB Notification: Performance of matching and sorting (n=58): time 0.01358/11.6, allocations: 2.382 MB / 3.762 GB, free: 62.49 MB / 459.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.855e-05/11.6, allocations: 219.9 kB / 3.762 GB, free: 62.24 MB / 459.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005629/11.6, allocations: 371.7 kB / 3.763 GB, free: 62.13 MB / 459.1 MB Notification: Performance of collectPreVariables (initialization): time 7.935e-05/11.6, allocations: 27.52 kB / 3.763 GB, free: 62.1 MB / 459.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002751/11.6, allocations: 392.6 kB / 3.763 GB, free: 61.88 MB / 459.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001949/11.6, allocations: 185.9 kB / 3.763 GB, free: 61.79 MB / 459.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.482e-05/11.6, allocations: 0 / 3.763 GB, free: 61.79 MB / 459.1 MB Notification: Performance of setup shared object (initialization): time 8.19e-05/11.6, allocations: 337.5 kB / 3.764 GB, free: 61.47 MB / 459.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005473/11.6, allocations: 245 kB / 3.764 GB, free: 61.47 MB / 459.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006584/11.6, allocations: 414.8 kB / 3.764 GB, free: 61.28 MB / 459.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002235/11.61, allocations: 378.3 kB / 3.764 GB, free: 61.27 MB / 459.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/11.61, allocations: 2.531 kB / 3.764 GB, free: 61.27 MB / 459.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003767/11.61, allocations: 0.9398 MB / 3.765 GB, free: 61.2 MB / 459.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004267/11.61, allocations: 1.805 MB / 3.767 GB, free: 59.32 MB / 459.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/11.61, allocations: 7.375 kB / 3.767 GB, free: 59.32 MB / 459.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001428/11.61, allocations: 248.1 kB / 3.767 GB, free: 59.32 MB / 459.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009651/11.61, allocations: 135.2 kB / 3.768 GB, free: 59.32 MB / 459.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002297/11.61, allocations: 0.8553 MB / 3.768 GB, free: 58.79 MB / 459.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/11.62, allocations: 60.16 kB / 3.768 GB, free: 58.79 MB / 459.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001405/11.62, allocations: 48.81 kB / 3.768 GB, free: 58.79 MB / 459.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/11.62, allocations: 5.312 kB / 3.768 GB, free: 58.79 MB / 459.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003739/11.62, allocations: 0.9153 MB / 3.769 GB, free: 58.77 MB / 459.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/11.62, allocations: 3.031 kB / 3.769 GB, free: 58.77 MB / 459.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001354/11.62, allocations: 255.2 kB / 3.77 GB, free: 58.76 MB / 459.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008882/11.62, allocations: 126.7 kB / 3.77 GB, free: 58.76 MB / 459.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002318/11.62, allocations: 0.8581 MB / 3.771 GB, free: 58.24 MB / 459.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001125/11.63, allocations: 52.19 kB / 3.771 GB, free: 58.23 MB / 459.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001266/11.63, allocations: 57.55 kB / 3.771 GB, free: 58.23 MB / 459.1 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.0003551/11.63, allocations: 195 kB / 3.771 GB, free: 58.06 MB / 459.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002077/11.63, allocations: 62.34 kB / 3.771 GB, free: 58.04 MB / 459.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008132/11.63, allocations: 4.377 MB / 3.775 GB, free: 57.86 MB / 459.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.584e-05/11.63, allocations: 23.62 kB / 3.775 GB, free: 57.86 MB / 459.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/11.63, allocations: 5.031 kB / 3.775 GB, free: 57.86 MB / 459.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.735e-05/11.63, allocations: 0 / 3.775 GB, free: 57.86 MB / 459.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01162/11.65, allocations: 6.103 MB / 3.781 GB, free: 57.27 MB / 459.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/11.65, allocations: 0 / 3.781 GB, free: 57.27 MB / 459.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000723/11.65, allocations: 91.5 kB / 3.781 GB, free: 57.27 MB / 459.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003536/11.65, allocations: 1.264 MB / 3.783 GB, free: 57.25 MB / 459.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001738/11.65, allocations: 22.84 kB / 3.783 GB, free: 57.25 MB / 459.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003844/11.65, allocations: 2.855 MB / 3.785 GB, free: 56.73 MB / 459.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.947e-06/11.65, allocations: 3.953 kB / 3.785 GB, free: 56.73 MB / 459.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01054/11.66, allocations: 5.515 MB / 3.791 GB, free: 56.48 MB / 459.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003552/11.67, allocations: 171.5 kB / 3.791 GB, free: 56.34 MB / 459.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000248/11.67, allocations: 7.156 kB / 3.791 GB, free: 56.34 MB / 459.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001117/11.67, allocations: 59.69 kB / 3.791 GB, free: 56.34 MB / 459.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001373/11.67, allocations: 43.64 kB / 3.791 GB, free: 56.34 MB / 459.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.214e-05/11.67, allocations: 29.17 kB / 3.791 GB, free: 56.34 MB / 459.1 MB Notification: Performance of sorting global known variables: time 0.0004218/11.67, allocations: 287.4 kB / 3.791 GB, free: 56.25 MB / 459.1 MB Notification: Performance of sort global known variables: time 4.81e-07/11.67, allocations: 0 / 3.791 GB, free: 56.25 MB / 459.1 MB Notification: Performance of remove unused functions: time 0.006238/11.67, allocations: 1.301 MB / 3.793 GB, free: 56.25 MB / 459.1 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.01033/11.68, allocations: 1.896 MB / 3.794 GB, free: 56.07 MB / 459.1 MB Notification: Performance of simCode: created initialization part: time 0.00403/11.69, allocations: 1.632 MB / 3.796 GB, free: 55.8 MB / 459.1 MB Notification: Performance of simCode: created event and clocks part: time 6.974e-06/11.69, allocations: 3.094 kB / 3.796 GB, free: 55.8 MB / 459.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001658/11.69, allocations: 0.779 MB / 3.797 GB, free: 55.66 MB / 459.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002227/11.69, allocations: 219.7 kB / 3.797 GB, free: 55.65 MB / 459.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003617/11.7, allocations: 1.503 MB / 3.798 GB, free: 55.3 MB / 459.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005425/11.7, allocations: 1.033 MB / 3.799 GB, free: 54.6 MB / 459.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003065/11.7, allocations: 63.42 kB / 3.8 GB, free: 54.59 MB / 459.1 MB Notification: Performance of SimCode: time 1.102e-06/11.7, allocations: 4.406 kB / 3.8 GB, free: 54.59 MB / 459.1 MB Notification: Performance of Templates: time 0.07744/11.77, allocations: 36.62 MB / 3.835 GB, free: 51.64 MB / 459.1 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