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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 98.3 kB / 18.4 MB, free: 4.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001654/0.001654, allocations: 188.3 kB / 19.34 MB, free: 3.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.35/1.35, allocations: 205.1 MB / 225.2 MB, free: 12.26 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 47.92 kB / 329.2 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07356/0.07469, allocations: 46.61 MB / 375.8 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.DrumBoiler.DrumBoiler): time 0.1928/0.2676, allocations: 48.06 MB / 423.9 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02152/0.2891, allocations: 21.13 MB / 445 MB, free: 10.35 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005329/0.2897, allocations: 19.94 kB / 445 MB, free: 10.33 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009571/0.2907, allocations: 385.5 kB / 445.4 MB, free: 9.953 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01275/0.3035, allocations: 4.854 MB / 450.3 MB, free: 5.09 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005976/0.3095, allocations: 2.175 MB / 452.4 MB, free: 2.906 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001797/0.3113, allocations: 1.488 MB / 453.9 MB, free: 1.41 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008309/0.3121, allocations: 0.5096 MB / 454.4 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0127/0.3248, allocations: 5.692 MB / 460.1 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004334/0.3292, allocations: 2.076 MB / 462.2 MB, free: 9.004 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001843/0.3294, allocations: 60 kB / 462.3 MB, free: 8.945 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01491/0.3443, allocations: 7.461 MB / 469.7 MB, free: 1.477 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003158/0.3446, allocations: 183.3 kB / 469.9 MB, free: 1.297 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006/0.3452, allocations: 410 kB / 470.3 MB, free: 0.8945 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009058/0.3543, allocations: 4.908 MB / 475.2 MB, free: 11.98 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3543, allocations: 0 / 475.2 MB, free: 11.98 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3544, allocations: 0 / 475.2 MB, free: 11.98 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.258e-05/0.3544, allocations: 0 / 475.2 MB, free: 11.98 MB / 398.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.003917/0.3583, allocations: 1.652 MB / 476.9 MB, free: 10.26 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.3584, allocations: 12.03 kB / 476.9 MB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002164/0.3605, allocations: 275.8 kB / 477.1 MB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007763/0.3613, allocations: 0.5053 MB / 477.6 MB, free: 9.438 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.654e-05/0.3614, allocations: 45.69 kB / 477.7 MB, free: 9.395 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.273e-05/0.3615, allocations: 68.48 kB / 477.8 MB, free: 9.328 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002002/0.3635, allocations: 0.91 MB / 478.7 MB, free: 8.355 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.3635, allocations: 3.938 kB / 478.7 MB, free: 8.352 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.106e-05/0.3636, allocations: 32 kB / 478.7 MB, free: 8.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.313e-05/0.3636, allocations: 14.94 kB / 478.7 MB, free: 8.309 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001831/0.3655, allocations: 0.7231 MB / 479.4 MB, free: 7.582 MB / 398.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.00441/0.3699, allocations: 4.134 MB / 483.6 MB, free: 3.102 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001766/0.3717, allocations: 0.6252 MB / 484.2 MB, free: 2.449 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004729/0.3722, allocations: 283.4 kB / 484.5 MB, free: 2.164 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1142/0.4864, allocations: 55.34 MB / 0.5272 GB, free: 4.68 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001576/0.488, allocations: 0.5741 MB / 0.5277 GB, free: 4.066 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002636/0.4882, allocations: 47.53 kB / 0.5278 GB, free: 4.02 MB / 462.1 MB Notification: Performance of pre-optimization done (n=57): time 2.705e-06/0.4883, allocations: 4 kB / 0.5278 GB, free: 4.016 MB / 462.1 MB Notification: Performance of matching and sorting (n=65): time 0.01117/0.4994, allocations: 3.283 MB / 0.531 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001161/0.4996, allocations: 273.5 kB / 0.5312 GB, free: 316 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005338/0.5001, allocations: 482.7 kB / 0.5317 GB, free: 15.82 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.808e-05/0.5002, allocations: 41.77 kB / 0.5317 GB, free: 15.78 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002443/0.5005, allocations: 320.3 kB / 0.532 GB, free: 15.46 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001997/0.5007, allocations: 212.9 kB / 0.5322 GB, free: 15.25 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00024/0.5009, allocations: 166.1 kB / 0.5324 GB, free: 15.08 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.5011, allocations: 370.8 kB / 0.5328 GB, free: 14.71 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000544/0.5016, allocations: 283.7 kB / 0.533 GB, free: 14.43 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006635/0.5023, allocations: 473.4 kB / 0.5335 GB, free: 13.89 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001226/0.5035, allocations: 0.8267 MB / 0.5343 GB, free: 12.98 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.5035, allocations: 3.938 kB / 0.5343 GB, free: 12.98 MB / 478.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001863/0.5054, allocations: 1.033 MB / 0.5353 GB, free: 11.92 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.716e-05/0.5055, allocations: 75.38 kB / 0.5354 GB, free: 11.84 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.5055, allocations: 4 kB / 0.5354 GB, free: 11.83 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003289/0.5088, allocations: 349 kB / 0.5357 GB, free: 11.49 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005058/0.5093, allocations: 131.8 kB / 0.5358 GB, free: 11.36 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001106/0.5104, allocations: 0.8021 MB / 0.5366 GB, free: 10.53 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005633/0.511, allocations: 39.97 kB / 0.5367 GB, free: 10.49 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.002e-05/0.5111, allocations: 47.97 kB / 0.5367 GB, free: 10.45 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00071/0.5118, allocations: 413.6 kB / 0.5371 GB, free: 10.04 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006437/0.5125, allocations: 453.6 kB / 0.5375 GB, free: 9.52 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001209/0.5137, allocations: 0.8072 MB / 0.5383 GB, free: 8.625 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.528e-06/0.5137, allocations: 4 kB / 0.5383 GB, free: 8.621 MB / 478.1 MB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.001868/0.5156, allocations: 1.014 MB / 0.5393 GB, free: 7.586 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.833e-05/0.5156, allocations: 71.39 kB / 0.5394 GB, free: 7.504 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.5157, allocations: 4 kB / 0.5394 GB, free: 7.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003204/0.5189, allocations: 345 kB / 0.5397 GB, free: 7.16 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004775/0.5194, allocations: 131.8 kB / 0.5398 GB, free: 7.031 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001082/0.5204, allocations: 0.8098 MB / 0.5406 GB, free: 6.195 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005291/0.521, allocations: 27.98 kB / 0.5407 GB, free: 6.168 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.71e-05/0.5211, allocations: 47.97 kB / 0.5407 GB, free: 6.121 MB / 478.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 (Y_Valve_Tab.nextEventScaled,Y_Valve_Tab.nextEvent,$PRE.Y_Valve_Tab.nextEvent,Y_Valve_Tab.last,Y_Valve_Tab.b,Y_Valve_Tab.a,q_F_Tab.nextEventScaled,q_F_Tab.nextEvent,$PRE.q_F_Tab.nextEvent,q_F_Tab.last,q_F_Tab.b,q_F_Tab.a,pump.medium.phase,$whenCondition2,$whenCondition1,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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002935/0.5214, allocations: 291.5 kB / 0.541 GB, free: 5.816 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001709/0.5216, allocations: 71.23 kB / 0.541 GB, free: 5.746 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005812/0.5274, allocations: 4.753 MB / 0.5457 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.221e-05/0.5274, allocations: 3.984 kB / 0.5457 GB, free: 0.957 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.5274, allocations: 4 kB / 0.5457 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001727/0.5276, allocations: 167.6 kB / 0.5459 GB, free: 0.7695 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001638/0.5278, allocations: 47.62 kB / 0.5459 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005897/0.5284, allocations: 55.98 kB / 0.546 GB, free: 0.668 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.5285, allocations: 48.48 kB / 0.546 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.156/0.6845, allocations: 1.902 MB / 0.5479 GB, free: 163.7 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002983/0.6875, allocations: 2.442 MB / 0.5502 GB, free: 162.9 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007363/0.6883, allocations: 0.681 MB / 0.5509 GB, free: 162.6 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005295/0.6888, allocations: 491.5 kB / 0.5514 GB, free: 162.3 MB / 478.1 MB Notification: Performance of Backend: time 8.72e-07/0.6888, allocations: 0 / 0.5514 GB, free: 162.3 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007777/0.6966, allocations: 2.851 MB / 0.5542 GB, free: 161.6 MB / 478.1 MB Notification: Performance of SimCode: time 0.002805/0.6994, allocations: 2.449 MB / 0.5566 GB, free: 160.2 MB / 478.1 MB Notification: Performance of Templates: time 0.05827/0.7577, allocations: 58.1 MB / 0.6133 GB, free: 114.2 MB / 478.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Fluid/Examples/DrumBoiler/DrumBoiler/DrumBoiler.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches