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.001098/0.001098, allocations: 114.3 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.00118/0.00118, allocations: 210.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.324/1.324, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 63.89 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1961/0.1973, allocations: 50.54 MB / 409.9 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.DrumBoiler.DrumBoiler): time 0.04531/0.2426, allocations: 48.2 MB / 458.1 MB, free: 1.207 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02224/0.2649, allocations: 21.16 MB / 479.3 MB, free: 11.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005044/0.2654, allocations: 11.94 kB / 479.3 MB, free: 11.96 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009234/0.2663, allocations: 381.5 kB / 479.7 MB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01041/0.2768, allocations: 4.858 MB / 484.5 MB, free: 6.73 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004679/0.2815, allocations: 2.173 MB / 486.7 MB, free: 4.559 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001574/0.283, allocations: 1.488 MB / 488.2 MB, free: 3.066 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007116/0.2838, allocations: 0.501 MB / 488.7 MB, free: 2.551 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01224/0.296, allocations: 5.703 MB / 494.4 MB, free: 12.77 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004198/0.3002, allocations: 2.072 MB / 496.5 MB, free: 10.66 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001271/0.3004, allocations: 60 kB / 496.5 MB, free: 10.61 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01178/0.3122, allocations: 7.488 MB / 0.4922 GB, free: 3.109 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001911/0.3124, allocations: 163.4 kB / 0.4924 GB, free: 2.949 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004633/0.3128, allocations: 426 kB / 0.4928 GB, free: 2.531 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00681/0.3196, allocations: 4.912 MB / 0.4976 GB, free: 13.61 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3197, allocations: 0 / 0.4976 GB, free: 13.61 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3197, allocations: 0 / 0.4976 GB, free: 13.61 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.866e-06/0.3197, allocations: 4 kB / 0.4976 GB, free: 13.61 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.003072/0.3228, allocations: 1.648 MB / 0.4992 GB, free: 11.89 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.3228, allocations: 12.03 kB / 0.4992 GB, free: 11.88 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00202/0.3248, allocations: 275.8 kB / 0.4995 GB, free: 11.61 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007658/0.3256, allocations: 0.5092 MB / 0.5 GB, free: 11.06 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.935e-05/0.3257, allocations: 41.69 kB / 0.5 GB, free: 11.02 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.251e-05/0.3258, allocations: 60.38 kB / 0.5001 GB, free: 10.96 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001957/0.3277, allocations: 0.9139 MB / 0.5009 GB, free: 9.988 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.3278, allocations: 0 / 0.5009 GB, free: 9.988 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.436e-05/0.3278, allocations: 28 kB / 0.501 GB, free: 9.961 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/0.3279, allocations: 16 kB / 0.501 GB, free: 9.945 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001845/0.3297, allocations: 0.7231 MB / 0.5017 GB, free: 9.219 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.004351/0.3341, allocations: 4.134 MB / 0.5057 GB, free: 4.734 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001781/0.3359, allocations: 0.634 MB / 0.5064 GB, free: 4.074 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004891/0.3364, allocations: 279.3 kB / 0.5066 GB, free: 3.789 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2654/0.6017, allocations: 61.42 MB / 0.5666 GB, free: 108.8 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001302/0.6031, allocations: 0.5753 MB / 0.5672 GB, free: 108.2 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002049/0.6033, allocations: 43.22 kB / 0.5672 GB, free: 108.1 MB / 462.1 MB Notification: Performance of pre-optimization done (n=57): time 2.354e-06/0.6033, allocations: 0 / 0.5672 GB, free: 108.1 MB / 462.1 MB Notification: Performance of matching and sorting (n=65): time 0.01003/0.6133, allocations: 3.288 MB / 0.5704 GB, free: 104.8 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.6134, allocations: 265.5 kB / 0.5707 GB, free: 104.5 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003823/0.6138, allocations: 487.9 kB / 0.5711 GB, free: 104 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.06e-05/0.6138, allocations: 37.7 kB / 0.5712 GB, free: 104 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.614, allocations: 327.6 kB / 0.5715 GB, free: 103.7 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/0.6141, allocations: 208.4 kB / 0.5717 GB, free: 103.5 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001973/0.6143, allocations: 166.2 kB / 0.5718 GB, free: 103.3 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 6.33e-05/0.6144, allocations: 374.5 kB / 0.5722 GB, free: 102.9 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000488/0.6149, allocations: 283.7 kB / 0.5725 GB, free: 102.7 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000569/0.6155, allocations: 457.6 kB / 0.5729 GB, free: 102.1 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001078/0.6166, allocations: 0.8306 MB / 0.5737 GB, free: 101.2 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.6166, allocations: 4 kB / 0.5737 GB, free: 101.2 MB / 462.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00168/0.6183, allocations: 1.03 MB / 0.5747 GB, free: 100.2 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.697e-05/0.6183, allocations: 74.2 kB / 0.5748 GB, free: 100.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.6183, allocations: 4 kB / 0.5748 GB, free: 100.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003056/0.6214, allocations: 348.5 kB / 0.5751 GB, free: 99.73 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004538/0.6218, allocations: 131.8 kB / 0.5752 GB, free: 99.61 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009495/0.6228, allocations: 0.8098 MB / 0.576 GB, free: 98.77 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004836/0.6233, allocations: 27.98 kB / 0.5761 GB, free: 98.75 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.568e-05/0.6234, allocations: 43.97 kB / 0.5761 GB, free: 98.7 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005839/0.624, allocations: 417.7 kB / 0.5765 GB, free: 98.29 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00053/0.6245, allocations: 457.6 kB / 0.5769 GB, free: 97.77 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001025/0.6255, allocations: 0.8146 MB / 0.5777 GB, free: 96.88 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.306e-06/0.6255, allocations: 4 kB / 0.5777 GB, free: 96.88 MB / 462.1 MB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.001614/0.6272, allocations: 1.006 MB / 0.5787 GB, free: 95.85 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.724e-05/0.6272, allocations: 71.39 kB / 0.5788 GB, free: 95.77 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.227e-06/0.6272, allocations: 4 kB / 0.5788 GB, free: 95.77 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003065/0.6303, allocations: 344.8 kB / 0.5791 GB, free: 95.43 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004245/0.6307, allocations: 131.8 kB / 0.5793 GB, free: 95.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009192/0.6317, allocations: 0.8089 MB / 0.58 GB, free: 94.47 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004905/0.6322, allocations: 31.83 kB / 0.5801 GB, free: 94.44 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-05/0.6322, allocations: 48.03 kB / 0.5801 GB, free: 94.39 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.0001806/0.6324, allocations: 303.3 kB / 0.5804 GB, free: 94.08 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001445/0.6326, allocations: 82.42 kB / 0.5805 GB, free: 94 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00429/0.6369, allocations: 4.733 MB / 0.5851 GB, free: 89.25 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.6369, allocations: 0 / 0.5851 GB, free: 89.25 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.6369, allocations: 4 kB / 0.5851 GB, free: 89.25 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.959e-05/0.637, allocations: 187.5 kB / 0.5853 GB, free: 89.04 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001303/0.6371, allocations: 35.75 kB / 0.5853 GB, free: 89.01 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005384/0.6377, allocations: 54.27 kB / 0.5854 GB, free: 88.96 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.567e-05/0.6378, allocations: 44.5 kB / 0.5854 GB, free: 88.91 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002745/0.6405, allocations: 1.91 MB / 0.5873 GB, free: 86.97 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002402/0.643, allocations: 2.446 MB / 0.5897 GB, free: 84.49 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006619/0.6436, allocations: 0.6735 MB / 0.5903 GB, free: 83.82 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004014/0.644, allocations: 495.1 kB / 0.5908 GB, free: 83.34 MB / 462.1 MB Notification: Performance of Backend: time 2.8e-07/0.644, allocations: 0 / 0.5908 GB, free: 83.34 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006764/0.6508, allocations: 2.87 MB / 0.5936 GB, free: 80.7 MB / 462.1 MB Notification: Performance of SimCode: time 0.002377/0.6532, allocations: 2.446 MB / 0.596 GB, free: 78.21 MB / 462.1 MB Notification: Performance of Templates: time 0.05356/0.7068, allocations: 57.52 MB / 0.6522 GB, free: 20.77 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