Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_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_trunk_cpp_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002166/0.002166, allocations: 198.8 kB / 18.07 MB, free: 3.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 3.091/3.091, allocations: 226.5 MB / 245.4 MB, free: 8.199 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001355/0.001356, allocations: 93.81 kB / 297.4 MB, free: 6.906 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006682/0.0006689, allocations: 8 kB / 357.4 MB, free: 10.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6553/0.6561, allocations: 51.28 MB / 408.7 MB, free: 27.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.71/16.37, allocations: 2.839 GB / 3.238 GB, free: 84.63 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003481/16.37, allocations: 89.95 kB / 3.238 GB, free: 84.58 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.921/20.29, allocations: 480.3 MB / 3.707 GB, free: 39.22 MB / 458.7 MB Notification: Performance of FrontEnd: time 5.701e-06/20.29, allocations: 3.938 kB / 3.707 GB, free: 39.22 MB / 458.7 MB Notification: Performance of Transformations before backend: time 9.557e-05/20.29, allocations: 13.03 kB / 3.707 GB, free: 39.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.01455/20.3, allocations: 1.92 MB / 3.709 GB, free: 38.15 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.11e-05/20.3, allocations: 10.09 kB / 3.709 GB, free: 38.15 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004042/20.31, allocations: 248.2 kB / 3.709 GB, free: 38.11 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002532/20.31, allocations: 0.5215 MB / 3.71 GB, free: 37.84 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001187/20.31, allocations: 49.62 kB / 3.71 GB, free: 37.84 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002336/20.31, allocations: 65.62 kB / 3.71 GB, free: 37.83 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003832/20.32, allocations: 0.9324 MB / 3.711 GB, free: 37.62 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.686e-05/20.32, allocations: 1.875 kB / 3.711 GB, free: 37.62 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001557/20.32, allocations: 35.34 kB / 3.711 GB, free: 37.62 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-05/20.32, allocations: 14.09 kB / 3.711 GB, free: 37.62 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003122/20.32, allocations: 0.7478 MB / 3.711 GB, free: 37.62 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.008623/20.33, allocations: 4.2 MB / 3.716 GB, free: 34.76 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00313/20.33, allocations: 0.6744 MB / 3.716 GB, free: 34.68 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008204/20.33, allocations: 287.2 kB / 3.716 GB, free: 34.66 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.152/20.48, allocations: 43.08 MB / 3.758 GB, free: 24.22 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003136/20.49, allocations: 0.5844 MB / 3.759 GB, free: 24.07 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001035/20.49, allocations: 94.7 kB / 3.759 GB, free: 24.04 MB / 474.7 MB Notification: Performance of pre-optimization done (n=57): time 1.201e-05/20.49, allocations: 1.969 kB / 3.759 GB, free: 24.04 MB / 474.7 MB Notification: Performance of matching and sorting (n=65): time 0.02582/20.51, allocations: 3.3 MB / 3.762 GB, free: 23.29 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003445/20.51, allocations: 273.7 kB / 3.763 GB, free: 22.98 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001427/20.52, allocations: 480 kB / 3.763 GB, free: 22.85 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001834/20.52, allocations: 35.39 kB / 3.763 GB, free: 22.82 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004907/20.52, allocations: 330.5 kB / 3.763 GB, free: 22.65 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003914/20.52, allocations: 208.8 kB / 3.764 GB, free: 22.52 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.905e-05/20.52, allocations: 12.28 kB / 3.764 GB, free: 22.52 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003542/20.52, allocations: 382 kB / 3.764 GB, free: 22.2 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001085/20.52, allocations: 288.4 kB / 3.764 GB, free: 22.2 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001531/20.52, allocations: 481.5 kB / 3.765 GB, free: 21.99 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00254/20.52, allocations: 0.8569 MB / 3.766 GB, free: 21.69 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-05/20.52, allocations: 0 / 3.766 GB, free: 21.69 MB / 474.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.004191/20.53, allocations: 1.071 MB / 3.767 GB, free: 21.54 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004038/20.53, allocations: 280.9 kB / 3.767 GB, free: 21.23 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.745e-05/20.53, allocations: 3.219 kB / 3.767 GB, free: 21.23 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005317/20.53, allocations: 361.2 kB / 3.767 GB, free: 21.21 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/20.53, allocations: 142.4 kB / 3.767 GB, free: 21.21 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002299/20.54, allocations: 0.796 MB / 3.768 GB, free: 20.68 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001792/20.54, allocations: 75.7 kB / 3.768 GB, free: 20.68 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003606/20.54, allocations: 47.17 kB / 3.768 GB, free: 20.68 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/20.54, allocations: 0 / 3.768 GB, free: 20.68 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004439/20.54, allocations: 1.013 MB / 3.769 GB, free: 20.59 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/20.54, allocations: 7.75 kB / 3.769 GB, free: 20.59 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005644/20.55, allocations: 356.3 kB / 3.77 GB, free: 20.57 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001073/20.55, allocations: 135.7 kB / 3.77 GB, free: 20.57 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002058/20.55, allocations: 0.7997 MB / 3.771 GB, free: 20.04 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005932/20.56, allocations: 67.05 kB / 3.771 GB, free: 20.04 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002219/20.56, allocations: 48.16 kB / 3.771 GB, free: 20.04 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.0012/20.56, allocations: 358.2 kB / 3.771 GB, free: 19.78 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003351/20.56, allocations: 70.66 kB / 3.771 GB, free: 19.75 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01109/20.57, allocations: 4.804 MB / 3.776 GB, free: 19.4 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.41e-05/20.57, allocations: 24.48 kB / 3.776 GB, free: 19.4 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.64e-05/20.57, allocations: 7.906 kB / 3.776 GB, free: 19.4 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.637e-05/20.57, allocations: 2.766 kB / 3.776 GB, free: 19.4 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01569/20.59, allocations: 6.575 MB / 3.782 GB, free: 18.66 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-05/20.59, allocations: 0 / 3.782 GB, free: 18.66 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007339/20.59, allocations: 108.4 kB / 3.782 GB, free: 18.65 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003991/20.59, allocations: 1.083 MB / 3.783 GB, free: 18.63 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003275/20.59, allocations: 30.25 kB / 3.783 GB, free: 18.63 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004848/20.6, allocations: 2.344 MB / 3.786 GB, free: 18.11 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/20.6, allocations: 3.938 kB / 3.786 GB, free: 18.11 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01336/20.61, allocations: 5.547 MB / 3.791 GB, free: 16.66 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009775/20.61, allocations: 236.5 kB / 3.791 GB, free: 16.46 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003301/20.61, allocations: 22.91 kB / 3.791 GB, free: 16.45 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001145/20.61, allocations: 68.89 kB / 3.791 GB, free: 16.43 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002406/20.61, allocations: 52.31 kB / 3.791 GB, free: 16.43 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001354/20.61, allocations: 35.17 kB / 3.791 GB, free: 16.42 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00116/20.61, allocations: 483 kB / 3.792 GB, free: 16.21 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.41e-07/20.61, allocations: 0 / 3.792 GB, free: 16.21 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01291/20.63, allocations: 1.381 MB / 3.793 GB, free: 15.95 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.01745/20.65, allocations: 1.802 MB / 3.795 GB, free: 15.51 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00687/20.65, allocations: 1.837 MB / 3.797 GB, free: 14.69 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.074e-05/20.65, allocations: 4 kB / 3.797 GB, free: 14.69 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002686/20.65, allocations: 0.9014 MB / 3.798 GB, free: 14.23 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004004/20.66, allocations: 320.2 kB / 3.798 GB, free: 14.15 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01349/20.67, allocations: 2.773 MB / 3.801 GB, free: 12.56 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001895/20.67, allocations: 1.072 MB / 3.802 GB, free: 11.84 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006006/20.68, allocations: 71.91 kB / 3.802 GB, free: 11.82 MB / 474.7 MB Notification: Performance of SimCode: time 2.094e-06/20.68, allocations: 0 / 3.802 GB, free: 11.82 MB / 474.7 MB Notification: Performance of Templates: time 0.1261/20.8, allocations: 35.8 MB / 3.837 GB, free: 9.309 MB / 490.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.makefile (rm -f Modelica_trunk_cpp_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe >> ../files/Modelica_trunk_cpp_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.sim & ./Modelica_trunk_cpp_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Fluid/Examples/DrumBoiler/DrumBoiler/DrumBoiler.csv","../files/Modelica_trunk_cpp_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches