Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.002798/0.002803, allocations: 187.5 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.291/3.291, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001813/0.001813, allocations: 94.86 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006032/0.0006033, allocations: 12 kB / 327 MB, free: 15.1 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1536, allocations: 47.57 MB / 374.5 MB, free: 15.45 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.DrumBoiler.DrumBoiler): time 0.525/0.6787, allocations: 40.51 MB / 415 MB, free: 15.22 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.05129/0.73, allocations: 17.96 MB / 433 MB, free: 1.355 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001954/0.7321, allocations: 20.16 kB / 433 MB, free: 1.344 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002774/0.735, allocations: 315.3 kB / 433.3 MB, free: 1.09 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02716/0.7622, allocations: 3.814 MB / 437.1 MB, free: 14.11 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01317/0.7754, allocations: 1.785 MB / 438.9 MB, free: 12.32 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003668/0.7791, allocations: 0.8985 MB / 439.8 MB, free: 11.42 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00151/0.7807, allocations: 417.5 kB / 440.2 MB, free: 10.99 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04207/0.8228, allocations: 9.033 MB / 449.3 MB, free: 1.953 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01383/0.8368, allocations: 3.095 MB / 452.4 MB, free: 14.86 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002854/0.8372, allocations: 32 kB / 452.4 MB, free: 14.82 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03299/0.8702, allocations: 7.226 MB / 459.6 MB, free: 7.59 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005049/0.8707, allocations: 135.5 kB / 459.8 MB, free: 7.457 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006197/0.8714, allocations: 169.3 kB / 459.9 MB, free: 7.285 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01342/0.8848, allocations: 3.301 MB / 463.2 MB, free: 3.977 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.8849, allocations: 0 / 463.2 MB, free: 3.977 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.047e-06/0.885, allocations: 0 / 463.2 MB, free: 3.977 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.289e-05/0.885, allocations: 0 / 463.2 MB, free: 3.977 MB / 330.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.008678/0.8937, allocations: 1.516 MB / 464.7 MB, free: 2.398 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.187e-05/0.8938, allocations: 12.02 kB / 464.7 MB, free: 2.387 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005451/0.8993, allocations: 274.9 kB / 465 MB, free: 2.117 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001874/0.9012, allocations: 484.9 kB / 465.5 MB, free: 1.605 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001441/0.9014, allocations: 53.31 kB / 465.5 MB, free: 1.555 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002922/0.9017, allocations: 55.94 kB / 465.6 MB, free: 1.5 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005371/0.9071, allocations: 0.918 MB / 466.5 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.198e-05/0.9072, allocations: 4 kB / 466.5 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001859/0.9074, allocations: 28 kB / 466.5 MB, free: 500 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.318e-05/0.9075, allocations: 16 kB / 466.6 MB, free: 484 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00528/0.9128, allocations: 0.7386 MB / 467.3 MB, free: 15.73 MB / 346.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.01225/0.9251, allocations: 4.166 MB / 471.5 MB, free: 11.21 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004679/0.9299, allocations: 0.6573 MB / 472.1 MB, free: 10.53 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3004/1.23, allocations: 55.6 MB / 0.5154 GB, free: 12.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003832/1.234, allocations: 0.5721 MB / 0.5159 GB, free: 12.18 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007973/1.235, allocations: 75.44 kB / 0.516 GB, free: 12.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=57): time 5.371e-06/1.235, allocations: 0 / 0.516 GB, free: 12.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=65): time 0.03507/1.27, allocations: 3.475 MB / 0.5194 GB, free: 8.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002791/1.271, allocations: 269.5 kB / 0.5196 GB, free: 8.172 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001422/1.272, allocations: 482.7 kB / 0.5201 GB, free: 7.688 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002558/1.272, allocations: 41.64 kB / 0.5201 GB, free: 7.641 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005604/1.273, allocations: 354.7 kB / 0.5205 GB, free: 7.293 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005304/1.274, allocations: 217 kB / 0.5207 GB, free: 7.078 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/1.274, allocations: 8 kB / 0.5207 GB, free: 7.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002469/1.274, allocations: 338.8 kB / 0.521 GB, free: 6.73 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001677/1.276, allocations: 281.6 kB / 0.5213 GB, free: 6.453 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00202/1.278, allocations: 477.4 kB / 0.5217 GB, free: 5.914 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002025/1.28, allocations: 385.4 kB / 0.5221 GB, free: 5.527 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.927e-06/1.28, allocations: 0 / 0.5221 GB, free: 5.527 MB / 410.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.005395/1.285, allocations: 0.9983 MB / 0.5231 GB, free: 4.504 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001421/1.287, allocations: 1.814 MB / 0.5248 GB, free: 2.543 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.492e-05/1.287, allocations: 8.047 kB / 0.5249 GB, free: 2.535 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007953/1.295, allocations: 344.4 kB / 0.5252 GB, free: 2.195 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001561/1.297, allocations: 139.8 kB / 0.5253 GB, free: 2.059 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002899/1.3, allocations: 0.8021 MB / 0.5261 GB, free: 1.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001905/1.302, allocations: 68.78 kB / 0.5262 GB, free: 1.164 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002813/1.302, allocations: 47.91 kB / 0.5262 GB, free: 1.117 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/1.302, allocations: 4 kB / 0.5262 GB, free: 1.113 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005479/1.307, allocations: 0.9819 MB / 0.5272 GB, free: 120 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.228e-05/1.307, allocations: 4 kB / 0.5272 GB, free: 116 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007881/1.315, allocations: 340.4 kB / 0.5275 GB, free: 15.78 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001303/1.317, allocations: 131.8 kB / 0.5276 GB, free: 15.65 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002772/1.32, allocations: 0.7982 MB / 0.5284 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001663/1.321, allocations: 60.59 kB / 0.5285 GB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000244/1.322, allocations: 43.97 kB / 0.5285 GB, free: 14.72 MB / 426.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.001183/1.323, allocations: 356.3 kB / 0.5288 GB, free: 14.35 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003966/1.323, allocations: 71.19 kB / 0.5289 GB, free: 14.28 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01691/1.34, allocations: 4.787 MB / 0.5336 GB, free: 9.465 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.596e-05/1.34, allocations: 31.95 kB / 0.5336 GB, free: 9.434 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.807e-05/1.34, allocations: 4.062 kB / 0.5336 GB, free: 9.43 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.184e-05/1.34, allocations: 3.984 kB / 0.5336 GB, free: 9.426 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02077/1.361, allocations: 6.542 MB / 0.54 GB, free: 2.738 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.803e-05/1.361, allocations: 8 kB / 0.54 GB, free: 2.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001155/1.362, allocations: 107.8 kB / 0.5401 GB, free: 2.625 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005676/1.368, allocations: 1.074 MB / 0.5412 GB, free: 1.547 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002479/1.369, allocations: 23.98 kB / 0.5412 GB, free: 1.523 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4107/1.779, allocations: 2.349 MB / 0.5435 GB, free: 156.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.376e-06/1.779, allocations: 4.469 kB / 0.5435 GB, free: 156.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01803/1.797, allocations: 5.525 MB / 0.5489 GB, free: 154.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006609/1.798, allocations: 238.5 kB / 0.5491 GB, free: 154.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004587/1.799, allocations: 21.83 kB / 0.5491 GB, free: 154.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001916/1.801, allocations: 70.08 kB / 0.5492 GB, free: 154.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003662/1.801, allocations: 47.34 kB / 0.5493 GB, free: 154.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001853/1.801, allocations: 31.22 kB / 0.5493 GB, free: 154.7 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001567/1.803, allocations: 482 kB / 0.5497 GB, free: 154.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.102e-06/1.803, allocations: 0.625 kB / 0.5497 GB, free: 154.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008683/1.812, allocations: 1.293 MB / 0.551 GB, free: 154.4 MB / 426.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 ($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.0135/1.825, allocations: 1.269 MB / 0.5522 GB, free: 154.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008803/1.834, allocations: 1.835 MB / 0.554 GB, free: 153.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-05/1.834, allocations: 1.062 kB / 0.554 GB, free: 153.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004297/1.838, allocations: 0.9091 MB / 0.5549 GB, free: 153 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004731/1.843, allocations: 303.5 kB / 0.5552 GB, free: 153 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009494/1.853, allocations: 2.777 MB / 0.5579 GB, free: 151.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001278/1.854, allocations: 1.092 MB / 0.559 GB, free: 150.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005113/1.855, allocations: 63.05 kB / 0.5591 GB, free: 150.7 MB / 426.7 MB Notification: Performance of SimCode: time 1.503e-06/1.855, allocations: 0 / 0.5591 GB, free: 150.7 MB / 426.7 MB Notification: Performance of Templates: time 0.1149/1.97, allocations: 36.55 MB / 0.5947 GB, free: 118.6 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.sim & ./Modelica_3.2.3_cpp_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches