Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001709/0.001709, allocations: 180.4 kB / 17.01 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.598/1.598, allocations: 205.4 MB / 223.1 MB, free: 9.121 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.0009474/0.0009473, allocations: 96.09 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003593/0.0003594, allocations: 4 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2983/0.2987, allocations: 47.57 MB / 375.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.803/7.101, allocations: 2.832 GB / 3.199 GB, free: 51.24 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002799/7.102, allocations: 91.95 kB / 3.2 GB, free: 51.15 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.989/9.091, allocations: 498.9 MB / 3.687 GB, free: 41.68 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.586e-06/9.091, allocations: 0 / 3.687 GB, free: 41.68 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.487e-05/9.091, allocations: 22.69 kB / 3.687 GB, free: 41.67 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.007471/9.099, allocations: 1.921 MB / 3.689 GB, free: 40.44 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/9.099, allocations: 10.5 kB / 3.689 GB, free: 40.44 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001959/9.101, allocations: 249.3 kB / 3.689 GB, free: 40.39 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009278/9.102, allocations: 0.5137 MB / 3.689 GB, free: 40.03 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.663e-05/9.102, allocations: 46.06 kB / 3.689 GB, free: 40.01 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.421e-05/9.102, allocations: 58.25 kB / 3.689 GB, free: 39.99 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001873/9.104, allocations: 0.9299 MB / 3.69 GB, free: 39.56 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/9.104, allocations: 7.875 kB / 3.69 GB, free: 39.56 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.02e-05/9.104, allocations: 27.62 kB / 3.69 GB, free: 39.54 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.756e-05/9.104, allocations: 15.44 kB / 3.69 GB, free: 39.54 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001782/9.106, allocations: 0.7434 MB / 3.691 GB, free: 39.34 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.00484/9.111, allocations: 4.195 MB / 3.695 GB, free: 35.96 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001679/9.112, allocations: 0.6622 MB / 3.696 GB, free: 35.72 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07175/9.184, allocations: 38.86 MB / 3.734 GB, free: 8.074 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001499/9.186, allocations: 0.5853 MB / 3.734 GB, free: 7.586 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005434/9.186, allocations: 84.33 kB / 3.734 GB, free: 7.516 MB / 442.7 MB Notification: Performance of pre-optimization done (n=57): time 2.765e-06/9.186, allocations: 0 / 3.734 GB, free: 7.516 MB / 442.7 MB Notification: Performance of matching and sorting (n=65): time 0.009927/9.196, allocations: 3.477 MB / 3.738 GB, free: 4.379 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001152/9.196, allocations: 277.3 kB / 3.738 GB, free: 4.051 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005528/9.197, allocations: 416.8 kB / 3.739 GB, free: 3.691 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.245e-05/9.197, allocations: 41.77 kB / 3.739 GB, free: 3.645 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002758/9.197, allocations: 322.2 kB / 3.739 GB, free: 3.348 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002095/9.197, allocations: 215 kB / 3.739 GB, free: 3.16 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.562e-05/9.197, allocations: 12 kB / 3.739 GB, free: 3.148 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001771/9.198, allocations: 374.8 kB / 3.739 GB, free: 2.793 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005412/9.198, allocations: 292.5 kB / 3.74 GB, free: 2.551 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006862/9.199, allocations: 466.2 kB / 3.74 GB, free: 2.074 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006284/9.199, allocations: 392.2 kB / 3.741 GB, free: 1.699 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/9.199, allocations: 4 kB / 3.741 GB, free: 1.695 MB / 442.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001738/9.201, allocations: 1.068 MB / 3.742 GB, free: 0.7109 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000759/9.202, allocations: 1.816 MB / 3.743 GB, free: 14.75 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.785e-05/9.202, allocations: 8 kB / 3.743 GB, free: 14.75 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003965/9.206, allocations: 351.8 kB / 3.744 GB, free: 14.53 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000523/9.207, allocations: 137.6 kB / 3.744 GB, free: 14.41 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001192/9.208, allocations: 0.8051 MB / 3.745 GB, free: 13.63 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007962/9.209, allocations: 74.44 kB / 3.745 GB, free: 13.57 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001178/9.209, allocations: 47.45 kB / 3.745 GB, free: 13.54 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/9.209, allocations: 4 kB / 3.745 GB, free: 13.53 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002089/9.211, allocations: 1.006 MB / 3.746 GB, free: 12.61 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/9.211, allocations: 4 kB / 3.746 GB, free: 12.61 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003726/9.215, allocations: 353.8 kB / 3.746 GB, free: 12.38 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000478/9.215, allocations: 139.1 kB / 3.746 GB, free: 12.27 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001215/9.216, allocations: 0.7916 MB / 3.747 GB, free: 11.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008388/9.217, allocations: 73.23 kB / 3.747 GB, free: 11.44 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.385e-05/9.217, allocations: 45.61 kB / 3.747 GB, free: 11.41 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.0007935/9.218, allocations: 358.4 kB / 3.747 GB, free: 11.04 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001436/9.218, allocations: 71.16 kB / 3.748 GB, free: 10.97 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00642/9.225, allocations: 4.802 MB / 3.752 GB, free: 6.734 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.934e-05/9.225, allocations: 27.53 kB / 3.752 GB, free: 6.719 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.268e-06/9.225, allocations: 4 kB / 3.752 GB, free: 6.715 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/9.225, allocations: 3.938 kB / 3.752 GB, free: 6.715 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007973/9.233, allocations: 6.573 MB / 3.759 GB, free: 0.8984 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/9.233, allocations: 0 / 3.759 GB, free: 0.8984 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000406/9.233, allocations: 102.4 kB / 3.759 GB, free: 0.8125 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002412/9.236, allocations: 1.092 MB / 3.76 GB, free: 0 / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001603/9.236, allocations: 32.94 kB / 3.76 GB, free: 0 / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3301/9.566, allocations: 2.353 MB / 3.762 GB, free: 59.18 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/9.566, allocations: 4.875 kB / 3.762 GB, free: 59.18 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006446/9.572, allocations: 5.552 MB / 3.768 GB, free: 58.89 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004591/9.573, allocations: 245.5 kB / 3.768 GB, free: 58.8 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001493/9.573, allocations: 21.16 kB / 3.768 GB, free: 58.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007055/9.574, allocations: 75.72 kB / 3.768 GB, free: 58.8 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/9.574, allocations: 47.88 kB / 3.768 GB, free: 58.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.587e-05/9.574, allocations: 33.36 kB / 3.768 GB, free: 58.8 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005636/9.574, allocations: 488.2 kB / 3.768 GB, free: 58.7 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.92e-07/9.574, allocations: 0 / 3.768 GB, free: 58.7 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006579/9.581, allocations: 1.374 MB / 3.77 GB, free: 58.7 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.007983/9.589, allocations: 1.779 MB / 3.772 GB, free: 58.58 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003305/9.592, allocations: 1.835 MB / 3.773 GB, free: 58.31 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/9.592, allocations: 3.188 kB / 3.773 GB, free: 58.31 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001208/9.594, allocations: 0.9072 MB / 3.774 GB, free: 58.18 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001776/9.595, allocations: 315.2 kB / 3.775 GB, free: 58.18 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003103/9.599, allocations: 2.72 MB / 3.777 GB, free: 57.04 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004617/9.599, allocations: 1.096 MB / 3.778 GB, free: 56.34 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0009458/9.6, allocations: 0.6054 MB / 3.779 GB, free: 56.33 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001456/9.6, allocations: 60.67 kB / 3.779 GB, free: 56.32 MB / 458.7 MB Notification: Performance of SimCode: time 1.182e-06/9.6, allocations: 0 / 3.779 GB, free: 56.32 MB / 458.7 MB Notification: Performance of Templates: time 0.06287/9.663, allocations: 47.44 MB / 3.825 GB, free: 54.45 MB / 458.7 MB make -j1 -f Modelica_3.2.3_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.makefile (rm -f Modelica_3.2.3_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe ; mkfifo Modelica_3.2.3_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe >> ../files/Modelica_3.2.3_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.sim & ./Modelica_3.2.3_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler_res.mat","/var/lib/jenkins/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_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches