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.0021/0.002105, allocations: 180.5 kB / 13.66 MB, free: 1.66 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.145/2.145, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001097/0.001097, allocations: 90.59 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.403e-05/3.41e-05, allocations: 7.984 kB / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1013, allocations: 47.57 MB / 369.1 MB, free: 2.207 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.499/8.6, allocations: 2.832 GB / 3.193 GB, free: 79.75 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003186/8.6, allocations: 84.31 kB / 3.193 GB, free: 79.72 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.555/11.16, allocations: 497.4 MB / 3.679 GB, free: 44.78 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.994e-06/11.16, allocations: 0 / 3.679 GB, free: 44.78 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.345e-05/11.16, allocations: 14 kB / 3.679 GB, free: 44.78 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.00738/11.16, allocations: 1.862 MB / 3.68 GB, free: 43.71 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/11.16, allocations: 10.47 kB / 3.68 GB, free: 43.71 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003089/11.17, allocations: 249 kB / 3.681 GB, free: 43.67 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00139/11.17, allocations: 0.5018 MB / 3.681 GB, free: 43.42 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.418e-05/11.17, allocations: 52.89 kB / 3.681 GB, free: 43.41 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/11.17, allocations: 56.28 kB / 3.681 GB, free: 43.41 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002751/11.17, allocations: 0.9342 MB / 3.682 GB, free: 43.21 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.323e-05/11.17, allocations: 1.5 kB / 3.682 GB, free: 43.21 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/11.17, allocations: 25.78 kB / 3.682 GB, free: 43.21 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.768e-05/11.17, allocations: 19.22 kB / 3.682 GB, free: 43.21 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002468/11.17, allocations: 0.7211 MB / 3.683 GB, free: 43.2 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.006964/11.18, allocations: 4.198 MB / 3.687 GB, free: 40.35 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002176/11.18, allocations: 0.6224 MB / 3.688 GB, free: 40.27 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006027/11.18, allocations: 263.4 kB / 3.688 GB, free: 40.25 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1299/11.31, allocations: 39 MB / 3.726 GB, free: 17.96 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002001/11.31, allocations: 0.5966 MB / 3.727 GB, free: 17.81 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006876/11.32, allocations: 88.84 kB / 3.727 GB, free: 17.78 MB / 442.7 MB Notification: Performance of pre-optimization done (n=57): time 4.178e-06/11.32, allocations: 0 / 3.727 GB, free: 17.78 MB / 442.7 MB Notification: Performance of matching and sorting (n=65): time 0.01519/11.33, allocations: 3.057 MB / 3.73 GB, free: 17.03 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/11.33, allocations: 280.2 kB / 3.73 GB, free: 16.71 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007086/11.33, allocations: 408.2 kB / 3.73 GB, free: 16.6 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001862/11.33, allocations: 40.05 kB / 3.73 GB, free: 16.57 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002734/11.33, allocations: 358.5 kB / 3.731 GB, free: 16.34 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002437/11.33, allocations: 214.8 kB / 3.731 GB, free: 16.2 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.263e-05/11.33, allocations: 12.84 kB / 3.731 GB, free: 16.2 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.355e-05/11.33, allocations: 338.7 kB / 3.731 GB, free: 15.89 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006626/11.33, allocations: 251.8 kB / 3.731 GB, free: 15.89 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007763/11.33, allocations: 448.9 kB / 3.732 GB, free: 15.68 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007459/11.33, allocations: 350 kB / 3.732 GB, free: 15.61 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.441e-06/11.33, allocations: 3.656 kB / 3.732 GB, free: 15.61 MB / 442.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002518/11.34, allocations: 0.961 MB / 3.733 GB, free: 15.47 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000423/11.34, allocations: 1.808 MB / 3.735 GB, free: 13.58 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/11.34, allocations: 7.562 kB / 3.735 GB, free: 13.58 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006619/11.34, allocations: 342.2 kB / 3.735 GB, free: 13.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/11.35, allocations: 133.5 kB / 3.735 GB, free: 13.57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002183/11.35, allocations: 0.8044 MB / 3.736 GB, free: 29.04 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001385/11.35, allocations: 71.12 kB / 3.736 GB, free: 29.04 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001422/11.35, allocations: 49.48 kB / 3.736 GB, free: 29.04 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/11.35, allocations: 3.156 kB / 3.736 GB, free: 29.04 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002553/11.35, allocations: 0.9654 MB / 3.737 GB, free: 28.94 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/11.35, allocations: 8.188 kB / 3.737 GB, free: 28.94 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006469/11.36, allocations: 343.9 kB / 3.738 GB, free: 28.93 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009232/11.36, allocations: 128.4 kB / 3.738 GB, free: 28.93 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001645/11.36, allocations: 0.7898 MB / 3.739 GB, free: 28.41 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/11.36, allocations: 76.47 kB / 3.739 GB, free: 28.39 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001291/11.36, allocations: 48.61 kB / 3.739 GB, free: 28.39 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 () * 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.0004257/11.36, allocations: 223.4 kB / 3.739 GB, free: 28.22 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002147/11.36, allocations: 70.38 kB / 3.739 GB, free: 28.18 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007954/11.37, allocations: 4.948 MB / 3.744 GB, free: 27.83 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.614e-05/11.37, allocations: 34.95 kB / 3.744 GB, free: 27.83 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/11.37, allocations: 0 / 3.744 GB, free: 27.83 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.268e-05/11.37, allocations: 3.328 kB / 3.744 GB, free: 27.83 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01092/11.38, allocations: 6.822 MB / 3.75 GB, free: 25.46 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.062e-05/11.38, allocations: 0 / 3.75 GB, free: 25.46 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008135/11.38, allocations: 105.2 kB / 3.751 GB, free: 25.46 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003663/11.39, allocations: 1.276 MB / 3.752 GB, free: 25.04 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001949/11.39, allocations: 25.75 kB / 3.752 GB, free: 25.03 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002999/11.39, allocations: 2.43 MB / 3.754 GB, free: 23.75 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/11.39, allocations: 7.734 kB / 3.754 GB, free: 23.75 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00965/11.4, allocations: 5.814 MB / 3.76 GB, free: 21.23 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005348/11.4, allocations: 240.5 kB / 3.76 GB, free: 21.01 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003441/11.4, allocations: 27.61 kB / 3.76 GB, free: 20.99 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001267/11.4, allocations: 73.23 kB / 3.76 GB, free: 20.93 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001877/11.4, allocations: 54.88 kB / 3.76 GB, free: 20.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001105/11.4, allocations: 27.19 kB / 3.76 GB, free: 20.88 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0009367/11.4, allocations: 476 kB / 3.761 GB, free: 20.45 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.01e-07/11.4, allocations: 4 kB / 3.761 GB, free: 20.45 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01026/11.41, allocations: 1.37 MB / 3.762 GB, free: 19.11 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) * 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.01189/11.43, allocations: 1.801 MB / 3.764 GB, free: 17.73 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00451/11.43, allocations: 1.742 MB / 3.766 GB, free: 16.09 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.749e-06/11.43, allocations: 0 / 3.766 GB, free: 16.09 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001829/11.43, allocations: 0.8613 MB / 3.766 GB, free: 15.25 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002908/11.43, allocations: 307.3 kB / 3.767 GB, free: 15.04 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00403/11.44, allocations: 1.751 MB / 3.768 GB, free: 13.41 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008142/11.44, allocations: 1.096 MB / 3.769 GB, free: 12.44 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003799/11.44, allocations: 61.02 kB / 3.769 GB, free: 12.38 MB / 458.7 MB Notification: Performance of SimCode: time 1.172e-06/11.44, allocations: 0.9375 kB / 3.769 GB, free: 12.38 MB / 458.7 MB Notification: Performance of Templates: time 0.4175/11.86, allocations: 37.65 MB / 3.806 GB, free: 49.65 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