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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001538/0.001538, allocations: 175.1 kB / 8.477 MB, free: 1.871 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.755/1.755, allocations: 205.2 MB / 214.1 MB, free: 5.086 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001251/0.001251, allocations: 82.25 kB / 262.1 MB, free: 5.129 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.215e-06/8.255e-06, allocations: 4 kB / 315 MB, free: 41.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1167, allocations: 47.57 MB / 362.5 MB, free: 9.949 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.582/6.699, allocations: 2.832 GB / 3.186 GB, free: 97.86 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002069/6.699, allocations: 87.97 kB / 3.186 GB, free: 97.86 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.436/8.135, allocations: 494 MB / 3.668 GB, free: 3.605 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.794e-05/8.135, allocations: 20 kB / 3.668 GB, free: 3.586 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.008/8.143, allocations: 1.857 MB / 3.67 GB, free: 1.672 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/8.143, allocations: 8.031 kB / 3.67 GB, free: 1.664 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002255/8.145, allocations: 306.8 kB / 3.67 GB, free: 1.363 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/8.146, allocations: 0.5168 MB / 3.671 GB, free: 0.8164 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.059e-05/8.146, allocations: 24 kB / 3.671 GB, free: 0.793 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.907e-05/8.146, allocations: 32 kB / 3.671 GB, free: 0.7617 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009093/8.147, allocations: 0.4945 MB / 3.671 GB, free: 272 kB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2573/8.405, allocations: 0.6759 MB / 3.672 GB, free: 45.97 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.926e-05/8.405, allocations: 3.844 kB / 3.672 GB, free: 45.97 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.42e-05/8.405, allocations: 5.719 kB / 3.672 GB, free: 45.97 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.737e-05/8.405, allocations: 15.41 kB / 3.672 GB, free: 45.97 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1205/8.525, allocations: 66.33 MB / 3.737 GB, free: 21.15 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005472/8.526, allocations: 342.7 kB / 3.737 GB, free: 21.12 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002867/8.526, allocations: 214.4 kB / 3.737 GB, free: 21.11 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07878/8.605, allocations: 39.74 MB / 3.776 GB, free: 29.23 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006005/8.606, allocations: 345.7 kB / 3.776 GB, free: 29.11 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=50): time 2.024e-06/8.606, allocations: 0 / 3.776 GB, free: 29.11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=58): time 0.006772/8.612, allocations: 2.122 MB / 3.779 GB, free: 28.7 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/8.613, allocations: 219.7 kB / 3.779 GB, free: 28.45 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004717/8.613, allocations: 384.3 kB / 3.779 GB, free: 28.34 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.023e-05/8.613, allocations: 26.7 kB / 3.779 GB, free: 28.3 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002254/8.613, allocations: 287 kB / 3.779 GB, free: 28.15 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001456/8.614, allocations: 180.8 kB / 3.78 GB, free: 28.06 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.308e-05/8.614, allocations: 0 / 3.78 GB, free: 28.06 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001658/8.614, allocations: 374.7 kB / 3.78 GB, free: 27.74 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003419/8.614, allocations: 225.6 kB / 3.78 GB, free: 27.74 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004669/8.615, allocations: 402.5 kB / 3.781 GB, free: 27.54 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001151/8.616, allocations: 359.9 kB / 3.781 GB, free: 27.53 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/8.616, allocations: 4 kB / 3.781 GB, free: 27.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002768/8.619, allocations: 1.098 MB / 3.782 GB, free: 27.44 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008046/8.619, allocations: 1.743 MB / 3.784 GB, free: 25.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/8.619, allocations: 6.656 kB / 3.784 GB, free: 25.61 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007209/8.62, allocations: 149.1 kB / 3.784 GB, free: 25.61 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005547/8.621, allocations: 147.4 kB / 3.784 GB, free: 25.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00117/8.622, allocations: 0.7815 MB / 3.785 GB, free: 25.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005992/8.622, allocations: 63.69 kB / 3.785 GB, free: 25.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.978e-05/8.623, allocations: 42.5 kB / 3.785 GB, free: 25.07 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.893e-06/8.623, allocations: 3.906 kB / 3.785 GB, free: 25.07 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001735/8.624, allocations: 0.7406 MB / 3.786 GB, free: 25.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/8.624, allocations: 3.781 kB / 3.786 GB, free: 25.04 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006236/8.625, allocations: 164 kB / 3.786 GB, free: 25.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004621/8.625, allocations: 130.4 kB / 3.786 GB, free: 25.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00103/8.626, allocations: 0.7863 MB / 3.787 GB, free: 24.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004843/8.627, allocations: 55.25 kB / 3.787 GB, free: 24.49 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.019e-05/8.627, allocations: 35.58 kB / 3.787 GB, free: 24.49 MB / 0.4948 GB 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.0002366/8.627, allocations: 202.4 kB / 3.787 GB, free: 24.32 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007151/8.628, allocations: 274.3 kB / 3.787 GB, free: 24.28 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003267/8.631, allocations: 2.41 MB / 3.789 GB, free: 24.1 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.172e-05/8.631, allocations: 29.97 kB / 3.79 GB, free: 24.1 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/8.631, allocations: 0 / 3.79 GB, free: 24.1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/8.631, allocations: 6.188 kB / 3.79 GB, free: 24.1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003428/8.635, allocations: 3.248 MB / 3.793 GB, free: 23.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/8.635, allocations: 3.328 kB / 3.793 GB, free: 23.69 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003778/8.635, allocations: 89.97 kB / 3.793 GB, free: 23.68 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007943/8.636, allocations: 239.2 kB / 3.793 GB, free: 23.67 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.054e-05/8.636, allocations: 21.67 kB / 3.793 GB, free: 23.67 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001194/8.637, allocations: 0.9229 MB / 3.794 GB, free: 23.13 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/8.637, allocations: 1.312 kB / 3.794 GB, free: 23.13 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003786/8.641, allocations: 2.708 MB / 3.797 GB, free: 22.88 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001753/8.641, allocations: 160.1 kB / 3.797 GB, free: 22.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001262/8.641, allocations: 9.219 kB / 3.797 GB, free: 22.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000458/8.642, allocations: 45.86 kB / 3.797 GB, free: 22.73 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/8.642, allocations: 41.11 kB / 3.797 GB, free: 22.73 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.199e-05/8.642, allocations: 34.56 kB / 3.797 GB, free: 22.73 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0002872/8.642, allocations: 287.2 kB / 3.797 GB, free: 22.64 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006005/8.648, allocations: 1.327 MB / 3.798 GB, free: 22.64 MB / 0.4948 GB 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,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse9.phase,$cse9.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 (53): * Single equations (assignments): 43 * 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.006483/8.655, allocations: 2.016 MB / 3.8 GB, free: 22.4 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002528/8.657, allocations: 1.738 MB / 3.802 GB, free: 22.24 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/8.657, allocations: 3.281 kB / 3.802 GB, free: 22.24 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001111/8.658, allocations: 1.138 MB / 3.803 GB, free: 22.16 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00116/8.66, allocations: 203.5 kB / 3.803 GB, free: 22.16 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002493/8.662, allocations: 1.737 MB / 3.805 GB, free: 21.77 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000637/8.663, allocations: 1.112 MB / 3.806 GB, free: 21.04 MB / 0.4948 GB Notification: Performance of SimCode: time 1.583e-06/8.663, allocations: 3.625 kB / 3.806 GB, free: 21.04 MB / 0.4948 GB Notification: Performance of Templates: time 0.06202/8.725, allocations: 43.97 MB / 3.849 GB, free: 6.188 MB / 0.4948 GB 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