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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001309/0.001309, allocations: 96.78 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001431/0.001431, allocations: 208.2 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 227.2 MB / 245.9 MB, free: 12.1 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002361/0.0002361, allocations: 4 kB / 306.6 MB, free: 1.684 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09966/0.09991, allocations: 51.49 MB / 358.1 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.DrumBoiler.DrumBoiler): time 0.2016/0.3015, allocations: 40.57 MB / 398.6 MB, free: 13.96 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02244/0.324, allocations: 17.96 MB / 416.6 MB, free: 160 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007983/0.3248, allocations: 22.94 kB / 416.6 MB, free: 148 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001075/0.3259, allocations: 319.8 kB / 416.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01102/0.337, allocations: 3.807 MB / 420.7 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005266/0.3423, allocations: 1.797 MB / 422.5 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001456/0.3437, allocations: 0.9063 MB / 423.4 MB, free: 10.55 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000601/0.3443, allocations: 410.4 kB / 423.8 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01441/0.3588, allocations: 9.04 MB / 432.9 MB, free: 1.094 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004663/0.3635, allocations: 3.087 MB / 436 MB, free: 14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001317/0.3636, allocations: 32 kB / 436 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01298/0.3766, allocations: 7.25 MB / 443.3 MB, free: 6.715 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001802/0.3768, allocations: 131.5 kB / 443.4 MB, free: 6.586 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002863/0.3771, allocations: 173.3 kB / 443.5 MB, free: 6.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005986/0.3831, allocations: 3.298 MB / 446.8 MB, free: 3.105 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.3831, allocations: 0 / 446.8 MB, free: 3.105 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.245e-06/0.3831, allocations: 3.938 kB / 446.9 MB, free: 3.102 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.768e-06/0.3831, allocations: 0 / 446.9 MB, free: 3.102 MB / 350.1 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.003659/0.3868, allocations: 1.509 MB / 448.4 MB, free: 1.531 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.3869, allocations: 12.02 kB / 448.4 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001988/0.3889, allocations: 278.9 kB / 448.6 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006988/0.3896, allocations: 484.5 kB / 449.1 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.282e-05/0.3896, allocations: 49.31 kB / 449.2 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.008e-05/0.3897, allocations: 60 kB / 449.2 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001978/0.3917, allocations: 0.918 MB / 450.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/0.3917, allocations: 4 kB / 450.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.713e-05/0.3918, allocations: 24 kB / 450.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.64e-05/0.3918, allocations: 12.88 kB / 450.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001812/0.3937, allocations: 0.7387 MB / 450.9 MB, free: 14.86 MB / 366.1 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.004599/0.3983, allocations: 4.158 MB / 455.1 MB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001753/0.4, allocations: 0.657 MB / 455.7 MB, free: 9.676 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1186/0.5187, allocations: 61.66 MB / 0.5053 GB, free: 4.656 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00158/0.5203, allocations: 0.5759 MB / 0.5058 GB, free: 4.047 MB / 430.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003735/0.5207, allocations: 71.5 kB / 0.5059 GB, free: 3.977 MB / 430.1 MB Notification: Performance of pre-optimization done (n=57): time 2.154e-06/0.5207, allocations: 0 / 0.5059 GB, free: 3.977 MB / 430.1 MB Notification: Performance of matching and sorting (n=65): time 0.01045/0.5311, allocations: 3.492 MB / 0.5093 GB, free: 364 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000137/0.5313, allocations: 281.4 kB / 0.5096 GB, free: 20 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006393/0.532, allocations: 474 kB / 0.51 GB, free: 15.55 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.074e-05/0.5321, allocations: 41.69 kB / 0.5101 GB, free: 15.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002635/0.5323, allocations: 312.4 kB / 0.5104 GB, free: 15.19 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002085/0.5325, allocations: 220.9 kB / 0.5106 GB, free: 14.97 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-05/0.5326, allocations: 12 kB / 0.5106 GB, free: 14.96 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.5328, allocations: 378.8 kB / 0.511 GB, free: 14.58 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005627/0.5333, allocations: 277.5 kB / 0.5112 GB, free: 14.31 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006962/0.5341, allocations: 469.5 kB / 0.5117 GB, free: 13.78 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006813/0.5347, allocations: 377.5 kB / 0.512 GB, free: 13.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.411e-06/0.5348, allocations: 4 kB / 0.512 GB, free: 13.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001953/0.5367, allocations: 1.041 MB / 0.513 GB, free: 12.33 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007649/0.5375, allocations: 1.806 MB / 0.5148 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.695e-05/0.5375, allocations: 7.984 kB / 0.5148 GB, free: 10.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002733/0.5403, allocations: 356.3 kB / 0.5152 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000528/0.5408, allocations: 139.8 kB / 0.5153 GB, free: 9.879 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001094/0.5419, allocations: 0.7905 MB / 0.5161 GB, free: 9.062 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008043/0.5427, allocations: 71.92 kB / 0.5161 GB, free: 8.992 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/0.5429, allocations: 43.97 kB / 0.5162 GB, free: 8.949 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.5429, allocations: 4 kB / 0.5162 GB, free: 8.945 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001865/0.5447, allocations: 0.9739 MB / 0.5171 GB, free: 7.957 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.5448, allocations: 11.98 kB / 0.5171 GB, free: 7.945 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002595/0.5474, allocations: 348.7 kB / 0.5175 GB, free: 7.602 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004576/0.5478, allocations: 127.8 kB / 0.5176 GB, free: 7.477 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001019/0.5489, allocations: 0.8021 MB / 0.5184 GB, free: 6.648 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006372/0.5495, allocations: 67.88 kB / 0.5184 GB, free: 6.582 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.793e-05/0.5496, allocations: 39.97 kB / 0.5185 GB, free: 6.543 MB / 446.1 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.0004695/0.5501, allocations: 364.5 kB / 0.5188 GB, free: 6.164 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001372/0.5502, allocations: 67.25 kB / 0.5189 GB, free: 6.098 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005589/0.5558, allocations: 4.776 MB / 0.5236 GB, free: 1.285 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.171e-05/0.5559, allocations: 27.95 kB / 0.5236 GB, free: 1.258 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.208e-05/0.5559, allocations: 4 kB / 0.5236 GB, free: 1.254 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/0.5559, allocations: 3.984 kB / 0.5236 GB, free: 1.25 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1972/0.7531, allocations: 6.546 MB / 0.53 GB, free: 154.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.768e-06/0.7532, allocations: 0 / 0.53 GB, free: 154.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004131/0.7536, allocations: 107.8 kB / 0.5301 GB, free: 154.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00234/0.756, allocations: 1.079 MB / 0.5311 GB, free: 154.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.37e-05/0.7561, allocations: 31.28 kB / 0.5312 GB, free: 154.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002176/0.7582, allocations: 2.346 MB / 0.5335 GB, free: 153.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.7583, allocations: 1.5 kB / 0.5335 GB, free: 153.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007876/0.7661, allocations: 5.523 MB / 0.5389 GB, free: 150.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005564/0.7667, allocations: 238.3 kB / 0.5391 GB, free: 150.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001732/0.7669, allocations: 23.78 kB / 0.5391 GB, free: 150.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007315/0.7677, allocations: 72.19 kB / 0.5392 GB, free: 150.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002222/0.7679, allocations: 61.64 kB / 0.5392 GB, free: 150.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.89e-05/0.768, allocations: 27.88 kB / 0.5393 GB, free: 150.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008287/0.7688, allocations: 481.5 kB / 0.5397 GB, free: 150.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.51e-07/0.7688, allocations: 0 / 0.5397 GB, free: 150.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005372/0.7742, allocations: 1.303 MB / 0.541 GB, free: 150.3 MB / 446.1 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 ($cse2.phase,$cse2.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.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) * 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.006848/0.7811, allocations: 1.261 MB / 0.5422 GB, free: 150.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003654/0.7848, allocations: 1.843 MB / 0.544 GB, free: 149.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.326e-06/0.7848, allocations: 0 / 0.544 GB, free: 149.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001336/0.7862, allocations: 0.9084 MB / 0.5449 GB, free: 148.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001867/0.788, allocations: 307.5 kB / 0.5452 GB, free: 148.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003099/0.7912, allocations: 2.725 MB / 0.5479 GB, free: 147.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003886/0.7916, allocations: 1.098 MB / 0.5489 GB, free: 146.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008651/0.7924, allocations: 0.594 MB / 0.5495 GB, free: 146.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.7926, allocations: 59.98 kB / 0.5496 GB, free: 146.6 MB / 446.1 MB Notification: Performance of SimCode: time 5.21e-07/0.7926, allocations: 0 / 0.5496 GB, free: 146.6 MB / 446.1 MB Notification: Performance of Templates: time 0.05606/0.8487, allocations: 50.68 MB / 0.5991 GB, free: 96.3 MB / 446.1 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