Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_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_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_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001632/0.001632, allocations: 203.5 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.55/1.55, allocations: 225.6 MB / 234.8 MB, free: 3.23 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001297/0.001297, allocations: 100.6 kB / 286.7 MB, free: 5.285 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.46e-05/2.467e-05, allocations: 4 kB / 343.7 MB, free: 8.242 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1254, allocations: 51.47 MB / 395.2 MB, free: 4.727 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.048/9.173, allocations: 2.838 GB / 3.224 GB, free: 35.93 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002565/9.173, allocations: 79.27 kB / 3.224 GB, free: 35.89 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.037/11.21, allocations: 498 MB / 3.71 GB, free: 35.46 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.573e-06/11.21, allocations: 0 / 3.71 GB, free: 35.46 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.779e-05/11.21, allocations: 11.72 kB / 3.71 GB, free: 35.46 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.006559/11.22, allocations: 1.858 MB / 3.712 GB, free: 34.27 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/11.22, allocations: 11.62 kB / 3.712 GB, free: 34.27 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001881/11.22, allocations: 248.7 kB / 3.712 GB, free: 34.22 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008124/11.22, allocations: 0.5119 MB / 3.713 GB, free: 33.87 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.934e-05/11.22, allocations: 20.38 kB / 3.713 GB, free: 33.87 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.158e-05/11.22, allocations: 35.38 kB / 3.713 GB, free: 33.87 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007658/11.22, allocations: 0.4908 MB / 3.713 GB, free: 33.7 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009071/11.22, allocations: 0.6889 MB / 3.714 GB, free: 33.32 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/11.22, allocations: 0 / 3.714 GB, free: 33.32 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.901e-05/11.22, allocations: 3.906 kB / 3.714 GB, free: 33.32 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.286e-05/11.22, allocations: 19.62 kB / 3.714 GB, free: 33.32 MB / 458.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.487/11.71, allocations: 73 MB / 3.785 GB, free: 67.58 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006856/11.71, allocations: 360.2 kB / 3.785 GB, free: 67.55 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002974/11.71, allocations: 211.5 kB / 3.786 GB, free: 67.54 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04857/11.76, allocations: 26.56 MB / 3.812 GB, free: 52.35 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006536/11.76, allocations: 365.2 kB / 3.812 GB, free: 52.23 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005586/11.76, allocations: 67.61 kB / 3.812 GB, free: 52.23 MB / 490.7 MB Notification: Performance of pre-optimization done (n=50): time 2.685e-06/11.76, allocations: 0 / 3.812 GB, free: 52.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=58): time 0.008784/11.77, allocations: 2.375 MB / 3.814 GB, free: 51.88 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.694e-05/11.77, allocations: 218.2 kB / 3.815 GB, free: 51.62 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004334/11.77, allocations: 381.5 kB / 3.815 GB, free: 51.51 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.266e-05/11.77, allocations: 26.89 kB / 3.815 GB, free: 51.48 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002306/11.77, allocations: 350.3 kB / 3.815 GB, free: 51.32 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/11.77, allocations: 177.6 kB / 3.815 GB, free: 51.23 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-05/11.77, allocations: 1 kB / 3.815 GB, free: 51.23 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.485e-05/11.77, allocations: 369.4 kB / 3.816 GB, free: 50.92 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000326/11.77, allocations: 244.4 kB / 3.816 GB, free: 50.92 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004015/11.77, allocations: 418 kB / 3.816 GB, free: 50.73 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001439/11.77, allocations: 375.2 kB / 3.817 GB, free: 50.72 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/11.77, allocations: 5.688 kB / 3.817 GB, free: 50.72 MB / 490.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002374/11.77, allocations: 0.9601 MB / 3.818 GB, free: 50.64 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003623/11.77, allocations: 1.813 MB / 3.82 GB, free: 48.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/11.77, allocations: 9.344 kB / 3.82 GB, free: 48.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000885/11.78, allocations: 251.7 kB / 3.82 GB, free: 48.76 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004876/11.78, allocations: 138.4 kB / 3.82 GB, free: 48.76 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00145/11.78, allocations: 0.8533 MB / 3.821 GB, free: 48.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007239/11.78, allocations: 68.33 kB / 3.821 GB, free: 48.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.58e-05/11.78, allocations: 44.34 kB / 3.821 GB, free: 48.23 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/11.78, allocations: 4.625 kB / 3.821 GB, free: 48.23 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002331/11.78, allocations: 0.9136 MB / 3.822 GB, free: 48.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/11.78, allocations: 3.188 kB / 3.822 GB, free: 48.21 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007671/11.78, allocations: 254.9 kB / 3.822 GB, free: 48.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004188/11.78, allocations: 125.4 kB / 3.822 GB, free: 48.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001405/11.78, allocations: 0.8614 MB / 3.823 GB, free: 47.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006685/11.78, allocations: 52.27 kB / 3.823 GB, free: 47.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.467e-05/11.78, allocations: 43.62 kB / 3.823 GB, free: 47.68 MB / 490.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.000274/11.78, allocations: 198.1 kB / 3.823 GB, free: 47.51 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/11.78, allocations: 66.84 kB / 3.823 GB, free: 47.48 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004907/11.79, allocations: 4.376 MB / 3.828 GB, free: 47.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.64e-05/11.79, allocations: 24.44 kB / 3.828 GB, free: 47.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/11.79, allocations: 1.125 kB / 3.828 GB, free: 47.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.557e-06/11.79, allocations: 4.125 kB / 3.828 GB, free: 47.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007815/11.8, allocations: 6.105 MB / 3.834 GB, free: 46.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/11.8, allocations: 7.188 kB / 3.834 GB, free: 46.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003772/11.8, allocations: 87.5 kB / 3.834 GB, free: 46.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002284/11.8, allocations: 1.275 MB / 3.835 GB, free: 46.69 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.19e-05/11.8, allocations: 19.41 kB / 3.835 GB, free: 46.69 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00256/11.8, allocations: 2.847 MB / 3.838 GB, free: 46.16 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.86e-06/11.8, allocations: 1.125 kB / 3.838 GB, free: 46.16 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00785/11.81, allocations: 5.52 MB / 3.843 GB, free: 45.92 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003721/11.81, allocations: 165.4 kB / 3.843 GB, free: 45.78 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002851/11.81, allocations: 17.22 kB / 3.843 GB, free: 45.78 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008173/11.81, allocations: 56.14 kB / 3.843 GB, free: 45.78 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/11.81, allocations: 45.17 kB / 3.843 GB, free: 45.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.444e-05/11.81, allocations: 29.2 kB / 3.843 GB, free: 45.77 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004665/11.81, allocations: 280.7 kB / 3.844 GB, free: 45.69 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.7e-07/11.81, allocations: 5.031 kB / 3.844 GB, free: 45.69 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007517/11.82, allocations: 1.301 MB / 3.845 GB, free: 45.69 MB / 490.7 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.01032/11.83, allocations: 1.927 MB / 3.847 GB, free: 45.53 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003831/11.83, allocations: 1.647 MB / 3.848 GB, free: 45.25 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/11.83, allocations: 0 / 3.848 GB, free: 45.25 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001205/11.84, allocations: 0.781 MB / 3.849 GB, free: 45.12 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001617/11.84, allocations: 215.2 kB / 3.849 GB, free: 45.11 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002918/11.84, allocations: 1.48 MB / 3.851 GB, free: 44.79 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004932/11.84, allocations: 1.042 MB / 3.852 GB, free: 44.09 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001416/11.84, allocations: 0.694 MB / 3.853 GB, free: 44.08 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001644/11.84, allocations: 51.53 kB / 3.853 GB, free: 44.07 MB / 490.7 MB Notification: Performance of SimCode: time 1.633e-06/11.84, allocations: 0 / 3.853 GB, free: 44.07 MB / 490.7 MB Notification: Performance of Templates: time 0.05894/11.9, allocations: 40.88 MB / 3.892 GB, free: 41.52 MB / 490.7 MB make -j1 -f Modelica_trunk_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.makefile (rm -f Modelica_trunk_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe ; mkfifo Modelica_trunk_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe >> ../files/Modelica_trunk_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.sim & ./Modelica_trunk_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches