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.001496/0.001497, allocations: 109.9 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001867/0.001867, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.312/1.312, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 55.91 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.2056, allocations: 50.54 MB / 409.9 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.DrumBoiler.DrumBoiler): time 0.04314/0.2487, allocations: 48.21 MB / 458.1 MB, free: 1.203 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02201/0.2708, allocations: 21.15 MB / 479.3 MB, free: 11.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003983/0.2712, allocations: 15.94 kB / 479.3 MB, free: 11.97 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008747/0.2721, allocations: 381.5 kB / 479.7 MB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01053/0.2827, allocations: 4.878 MB / 484.6 MB, free: 6.719 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004717/0.2874, allocations: 2.181 MB / 486.7 MB, free: 4.539 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001388/0.2888, allocations: 1.488 MB / 488.2 MB, free: 3.047 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006216/0.2894, allocations: 0.501 MB / 488.7 MB, free: 2.531 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01226/0.3017, allocations: 5.711 MB / 494.4 MB, free: 12.74 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003997/0.3057, allocations: 2.069 MB / 496.5 MB, free: 10.64 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001024/0.3058, allocations: 60 kB / 496.6 MB, free: 10.58 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01212/0.3179, allocations: 7.488 MB / 0.4922 GB, free: 3.086 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001768/0.3181, allocations: 167.4 kB / 0.4924 GB, free: 2.922 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003976/0.3185, allocations: 410 kB / 0.4928 GB, free: 2.52 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006107/0.3247, allocations: 4.923 MB / 0.4976 GB, free: 13.59 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.3247, allocations: 3.938 kB / 0.4976 GB, free: 13.58 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3247, allocations: 0 / 0.4976 GB, free: 13.58 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.867e-06/0.3247, allocations: 0 / 0.4976 GB, free: 13.58 MB / 430.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.003054/0.3278, allocations: 1.648 MB / 0.4992 GB, free: 11.87 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.3278, allocations: 8.031 kB / 0.4992 GB, free: 11.86 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002127/0.3299, allocations: 283.8 kB / 0.4995 GB, free: 11.59 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006984/0.3306, allocations: 0.4975 MB / 0.5 GB, free: 11.05 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.396e-05/0.3307, allocations: 45.69 kB / 0.5 GB, free: 11 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.993e-05/0.3308, allocations: 68.36 kB / 0.5001 GB, free: 10.94 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002039/0.3328, allocations: 0.9061 MB / 0.501 GB, free: 9.969 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/0.3329, allocations: 8 kB / 0.501 GB, free: 9.961 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.536e-05/0.333, allocations: 28 kB / 0.501 GB, free: 9.934 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.333e-05/0.333, allocations: 15.94 kB / 0.501 GB, free: 9.918 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001903/0.3349, allocations: 0.7231 MB / 0.5017 GB, free: 9.191 MB / 430.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.004436/0.3393, allocations: 4.134 MB / 0.5058 GB, free: 4.707 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001813/0.3412, allocations: 0.6291 MB / 0.5064 GB, free: 4.051 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004986/0.3417, allocations: 283.3 kB / 0.5066 GB, free: 3.762 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2688/0.6105, allocations: 61.43 MB / 0.5666 GB, free: 108.9 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001338/0.6119, allocations: 0.572 MB / 0.5672 GB, free: 108.3 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001951/0.6121, allocations: 42.75 kB / 0.5672 GB, free: 108.3 MB / 462.1 MB Notification: Performance of pre-optimization done (n=57): time 2.785e-06/0.6121, allocations: 0 / 0.5672 GB, free: 108.3 MB / 462.1 MB Notification: Performance of matching and sorting (n=65): time 0.009933/0.622, allocations: 3.283 MB / 0.5704 GB, free: 105 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.329e-05/0.6221, allocations: 273.5 kB / 0.5707 GB, free: 104.7 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003788/0.6225, allocations: 480.7 kB / 0.5712 GB, free: 104.2 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.377e-05/0.6226, allocations: 37.7 kB / 0.5712 GB, free: 104.1 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.6227, allocations: 329.4 kB / 0.5715 GB, free: 103.8 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/0.6228, allocations: 208.1 kB / 0.5717 GB, free: 103.6 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001933/0.623, allocations: 162.2 kB / 0.5719 GB, free: 103.4 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 6.516e-05/0.6231, allocations: 374.5 kB / 0.5722 GB, free: 103.1 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004905/0.6236, allocations: 283.7 kB / 0.5725 GB, free: 102.8 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005715/0.6242, allocations: 469.5 kB / 0.5729 GB, free: 102.3 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/0.6253, allocations: 0.8281 MB / 0.5737 GB, free: 101.3 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.6253, allocations: 4 kB / 0.5737 GB, free: 101.3 MB / 462.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001677/0.627, allocations: 1.029 MB / 0.5747 GB, free: 100.3 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.771e-05/0.627, allocations: 71.39 kB / 0.5748 GB, free: 100.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.627, allocations: 7.844 kB / 0.5748 GB, free: 100.2 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002823/0.6298, allocations: 340.8 kB / 0.5751 GB, free: 99.87 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004644/0.6303, allocations: 135.8 kB / 0.5753 GB, free: 99.73 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009939/0.6313, allocations: 0.8085 MB / 0.5761 GB, free: 98.91 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000472/0.6318, allocations: 40.03 kB / 0.5761 GB, free: 98.87 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.686e-05/0.6319, allocations: 43.97 kB / 0.5761 GB, free: 98.82 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005779/0.6325, allocations: 413.6 kB / 0.5765 GB, free: 98.42 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005288/0.633, allocations: 453.6 kB / 0.577 GB, free: 97.9 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001003/0.634, allocations: 0.8146 MB / 0.5778 GB, free: 97.01 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.835e-06/0.634, allocations: 4 kB / 0.5778 GB, free: 97 MB / 462.1 MB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.001592/0.6356, allocations: 1.002 MB / 0.5788 GB, free: 95.98 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.005e-05/0.6357, allocations: 78.03 kB / 0.5788 GB, free: 95.89 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.6357, allocations: 7.5 kB / 0.5788 GB, free: 95.89 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002764/0.6385, allocations: 342 kB / 0.5792 GB, free: 95.55 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000426/0.6389, allocations: 134.9 kB / 0.5793 GB, free: 95.43 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009624/0.6399, allocations: 0.8078 MB / 0.5801 GB, free: 94.59 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004749/0.6404, allocations: 31.98 kB / 0.5801 GB, free: 94.56 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.437e-05/0.6404, allocations: 43.97 kB / 0.5802 GB, free: 94.52 MB / 462.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.0001804/0.6406, allocations: 302.3 kB / 0.5804 GB, free: 94.21 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/0.6408, allocations: 75.19 kB / 0.5805 GB, free: 94.14 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004364/0.6451, allocations: 4.738 MB / 0.5851 GB, free: 89.38 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.679e-06/0.6452, allocations: 3.984 kB / 0.5851 GB, free: 89.37 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.6452, allocations: 4 kB / 0.5851 GB, free: 89.37 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.6453, allocations: 179.5 kB / 0.5853 GB, free: 89.17 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001436/0.6454, allocations: 43.67 kB / 0.5854 GB, free: 89.13 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005471/0.646, allocations: 48 kB / 0.5854 GB, free: 89.08 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.6461, allocations: 52.48 kB / 0.5855 GB, free: 89.03 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002774/0.6489, allocations: 1.898 MB / 0.5873 GB, free: 87.1 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002462/0.6514, allocations: 2.45 MB / 0.5897 GB, free: 84.61 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006666/0.652, allocations: 0.6819 MB / 0.5904 GB, free: 83.94 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003998/0.6524, allocations: 484.3 kB / 0.5908 GB, free: 83.46 MB / 462.1 MB Notification: Performance of Backend: time 8.32e-07/0.6525, allocations: 3.938 kB / 0.5908 GB, free: 83.46 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007054/0.6595, allocations: 2.869 MB / 0.5936 GB, free: 80.82 MB / 462.1 MB Notification: Performance of SimCode: time 0.002496/0.662, allocations: 2.443 MB / 0.596 GB, free: 78.34 MB / 462.1 MB Notification: Performance of Templates: time 0.05417/0.7162, allocations: 57.52 MB / 0.6522 GB, free: 20.9 MB / 462.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Fluid/Examples/DrumBoiler/DrumBoiler/DrumBoiler.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches