Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 179.4 kB / 8.135 MB, free: 2.211 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 221.4 MB / 229.9 MB, free: 3.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009515/0.0009514, allocations: 97.22 kB / 280.8 MB, free: 1.324 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.804e-06/7.835e-06, allocations: 0 / 336.5 MB, free: 9.594 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3244, allocations: 50.38 MB / 386.9 MB, free: 37.97 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.566/5.89, allocations: 2.837 GB / 3.215 GB, free: 130.9 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002019/5.89, allocations: 76.66 kB / 3.215 GB, free: 130.9 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.572/7.462, allocations: 499.2 MB / 3.702 GB, free: 48.13 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.164e-05/7.463, allocations: 25.03 kB / 3.702 GB, free: 48.13 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.006769/7.469, allocations: 1.866 MB / 3.704 GB, free: 47.42 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/7.469, allocations: 10.59 kB / 3.704 GB, free: 47.42 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00232/7.472, allocations: 296 kB / 3.704 GB, free: 47.38 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009882/7.473, allocations: 0.5061 MB / 3.705 GB, free: 47.15 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.408e-05/7.473, allocations: 21.47 kB / 3.705 GB, free: 47.15 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.726e-05/7.473, allocations: 38.78 kB / 3.705 GB, free: 47.15 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008069/7.474, allocations: 0.4928 MB / 3.705 GB, free: 47.15 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008955/7.475, allocations: 0.6693 MB / 3.706 GB, free: 46.95 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/7.475, allocations: 9.953 kB / 3.706 GB, free: 46.95 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.909e-05/7.475, allocations: 3.875 kB / 3.706 GB, free: 46.95 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/7.475, allocations: 12 kB / 3.706 GB, free: 46.95 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1243/7.599, allocations: 66.36 MB / 3.771 GB, free: 21.95 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006483/7.6, allocations: 339.7 kB / 3.771 GB, free: 21.92 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003317/7.6, allocations: 215.5 kB / 3.771 GB, free: 21.91 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08594/7.686, allocations: 39.73 MB / 3.81 GB, free: 30 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006227/7.687, allocations: 353.9 kB / 3.811 GB, free: 29.88 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=50): time 3.005e-06/7.687, allocations: 1.688 kB / 3.811 GB, free: 29.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=58): time 0.007279/7.694, allocations: 2.116 MB / 3.813 GB, free: 29.45 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/7.694, allocations: 220 kB / 3.813 GB, free: 29.2 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004797/7.695, allocations: 382.4 kB / 3.813 GB, free: 29.08 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.807e-05/7.695, allocations: 29.23 kB / 3.813 GB, free: 29.05 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/7.695, allocations: 284 kB / 3.814 GB, free: 28.86 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001242/7.695, allocations: 193.8 kB / 3.814 GB, free: 28.74 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/7.695, allocations: 0 / 3.814 GB, free: 28.74 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001342/7.695, allocations: 367.8 kB / 3.814 GB, free: 28.43 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003107/7.695, allocations: 223 kB / 3.814 GB, free: 28.43 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003886/7.696, allocations: 408.3 kB / 3.815 GB, free: 28.23 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/7.697, allocations: 356.3 kB / 3.815 GB, free: 28.21 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/7.697, allocations: 0 / 3.815 GB, free: 28.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002849/7.7, allocations: 1.102 MB / 3.816 GB, free: 28.13 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007056/7.701, allocations: 1.738 MB / 3.818 GB, free: 26.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/7.701, allocations: 3.781 kB / 3.818 GB, free: 26.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007521/7.701, allocations: 157.1 kB / 3.818 GB, free: 26.29 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005615/7.702, allocations: 138.8 kB / 3.818 GB, free: 26.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001201/7.703, allocations: 0.7886 MB / 3.819 GB, free: 25.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006595/7.704, allocations: 68.03 kB / 3.819 GB, free: 25.75 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.004e-05/7.704, allocations: 42.48 kB / 3.819 GB, free: 25.75 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.624e-06/7.704, allocations: 3.281 kB / 3.819 GB, free: 25.75 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001809/7.706, allocations: 0.7432 MB / 3.82 GB, free: 25.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/7.706, allocations: 3.969 kB / 3.82 GB, free: 25.72 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006651/7.706, allocations: 157.4 kB / 3.82 GB, free: 25.71 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004781/7.707, allocations: 135.1 kB / 3.82 GB, free: 25.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001079/7.708, allocations: 0.7863 MB / 3.821 GB, free: 25.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005266/7.709, allocations: 51.58 kB / 3.821 GB, free: 25.17 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.786e-05/7.709, allocations: 36.22 kB / 3.821 GB, free: 25.17 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.0002452/7.709, allocations: 200.7 kB / 3.821 GB, free: 25 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007508/7.71, allocations: 269.1 kB / 3.821 GB, free: 24.96 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003321/7.713, allocations: 2.422 MB / 3.824 GB, free: 24.78 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.343e-05/7.713, allocations: 29.31 kB / 3.824 GB, free: 24.78 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/7.713, allocations: 0 / 3.824 GB, free: 24.78 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.365e-06/7.713, allocations: 3.328 kB / 3.824 GB, free: 24.78 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003608/7.717, allocations: 3.259 MB / 3.827 GB, free: 24.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/7.717, allocations: 0 / 3.827 GB, free: 24.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003885/7.717, allocations: 93.19 kB / 3.827 GB, free: 24.35 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008247/7.718, allocations: 236.9 kB / 3.827 GB, free: 24.34 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.198e-05/7.718, allocations: 14.41 kB / 3.827 GB, free: 24.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001302/7.719, allocations: 0.9228 MB / 3.828 GB, free: 23.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/7.719, allocations: 0 / 3.828 GB, free: 23.8 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003988/7.723, allocations: 2.702 MB / 3.831 GB, free: 23.55 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000236/7.724, allocations: 159.9 kB / 3.831 GB, free: 23.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001343/7.724, allocations: 9.531 kB / 3.831 GB, free: 23.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004792/7.724, allocations: 44.5 kB / 3.831 GB, free: 23.41 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.673e-05/7.724, allocations: 45.03 kB / 3.831 GB, free: 23.41 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.147e-05/7.724, allocations: 36.44 kB / 3.831 GB, free: 23.4 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0002965/7.725, allocations: 288 kB / 3.831 GB, free: 23.32 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006587/7.731, allocations: 1.33 MB / 3.833 GB, free: 23.14 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.009376/7.741, allocations: 2.018 MB / 3.835 GB, free: 22.73 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002978/7.744, allocations: 1.738 MB / 3.836 GB, free: 22.56 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.73e-06/7.744, allocations: 0 / 3.836 GB, free: 22.56 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001277/7.745, allocations: 1.14 MB / 3.837 GB, free: 22.49 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001565/7.747, allocations: 204.2 kB / 3.838 GB, free: 22.48 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002864/7.749, allocations: 1.736 MB / 3.839 GB, free: 22.09 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007106/7.75, allocations: 1.11 MB / 3.84 GB, free: 21.37 MB / 0.4948 GB Notification: Performance of SimCode: time 2.195e-06/7.75, allocations: 0 / 3.84 GB, free: 21.37 MB / 0.4948 GB Notification: Performance of Templates: time 0.0589/7.809, allocations: 43.98 MB / 3.883 GB, free: 2.406 MB / 0.4948 GB make -j1 -f Modelica_4.0.0_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.makefile (rm -f Modelica_4.0.0_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe ; mkfifo Modelica_4.0.0_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe >> ../files/Modelica_4.0.0_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.sim & ./Modelica_4.0.0_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches