Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001502/0.001502, allocations: 102.5 kB / 17.74 MB, free: 5.32 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.00178/0.00178, allocations: 197.2 kB / 18.67 MB, free: 4.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009706/0.0009706, allocations: 51.92 kB / 352 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2097, allocations: 49.43 MB / 401.4 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.DrumBoiler.DrumBoiler): time 0.04549/0.2552, allocations: 48.06 MB / 449.5 MB, free: 8.648 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02197/0.2772, allocations: 21.14 MB / 470.6 MB, free: 3.441 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005583/0.2778, allocations: 15.88 kB / 470.6 MB, free: 3.426 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009981/0.2788, allocations: 381.6 kB / 471 MB, free: 3.051 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01089/0.2897, allocations: 4.88 MB / 475.9 MB, free: 14.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004984/0.2947, allocations: 2.174 MB / 478.1 MB, free: 11.99 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001717/0.2965, allocations: 1.5 MB / 479.6 MB, free: 10.49 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007821/0.2973, allocations: 0.5048 MB / 480.1 MB, free: 9.973 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0127/0.31, allocations: 5.703 MB / 485.8 MB, free: 4.188 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004266/0.3143, allocations: 2.08 MB / 487.8 MB, free: 2.078 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001517/0.3144, allocations: 60 kB / 487.9 MB, free: 2.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01242/0.3269, allocations: 7.461 MB / 495.4 MB, free: 10.55 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002064/0.3271, allocations: 171.4 kB / 495.5 MB, free: 10.38 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000478/0.3276, allocations: 406.1 kB / 495.9 MB, free: 9.984 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007628/0.3352, allocations: 4.923 MB / 0.4891 GB, free: 5.051 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3352, allocations: 0 / 0.4891 GB, free: 5.051 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.3352, allocations: 4 kB / 0.4891 GB, free: 5.047 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.474e-05/0.3353, allocations: 3.844 kB / 0.4891 GB, free: 5.047 MB / 414.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.003718/0.339, allocations: 1.636 MB / 0.4907 GB, free: 3.348 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.339, allocations: 8.031 kB / 0.4907 GB, free: 3.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002165/0.3412, allocations: 279.8 kB / 0.491 GB, free: 3.066 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007934/0.342, allocations: 0.5014 MB / 0.4915 GB, free: 2.523 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.248e-05/0.3421, allocations: 49.67 kB / 0.4915 GB, free: 2.477 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.544e-05/0.3422, allocations: 64.38 kB / 0.4916 GB, free: 2.414 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00205/0.3442, allocations: 0.9023 MB / 0.4925 GB, free: 1.449 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.3442, allocations: 7.938 kB / 0.4925 GB, free: 1.441 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-05/0.3443, allocations: 28 kB / 0.4925 GB, free: 1.414 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.595e-05/0.3443, allocations: 12 kB / 0.4925 GB, free: 1.402 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001895/0.3462, allocations: 0.7231 MB / 0.4932 GB, free: 0.6797 MB / 414.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.004457/0.3507, allocations: 4.134 MB / 0.4973 GB, free: 12.2 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001842/0.3526, allocations: 0.6291 MB / 0.4979 GB, free: 11.54 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000507/0.3531, allocations: 287.4 kB / 0.4981 GB, free: 11.25 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2812/0.6343, allocations: 55.34 MB / 0.5522 GB, free: 130.4 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001405/0.6357, allocations: 0.5691 MB / 0.5527 GB, free: 129.8 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002273/0.636, allocations: 49.67 kB / 0.5528 GB, free: 129.8 MB / 462.1 MB Notification: Performance of pre-optimization done (n=57): time 2.584e-06/0.636, allocations: 0 / 0.5528 GB, free: 129.8 MB / 462.1 MB Notification: Performance of matching and sorting (n=65): time 0.01015/0.6461, allocations: 3.284 MB / 0.556 GB, free: 126.5 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.6462, allocations: 273.5 kB / 0.5563 GB, free: 126.2 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004021/0.6466, allocations: 477.6 kB / 0.5567 GB, free: 125.7 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.468e-05/0.6467, allocations: 37.7 kB / 0.5568 GB, free: 125.7 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.6468, allocations: 324.1 kB / 0.5571 GB, free: 125.3 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/0.6469, allocations: 210.7 kB / 0.5573 GB, free: 125.1 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002101/0.6472, allocations: 166.1 kB / 0.5574 GB, free: 125 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 6.37e-05/0.6472, allocations: 374.5 kB / 0.5578 GB, free: 124.6 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004996/0.6477, allocations: 283.7 kB / 0.5581 GB, free: 124.3 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005709/0.6483, allocations: 472.2 kB / 0.5585 GB, free: 123.8 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/0.6494, allocations: 0.8267 MB / 0.5593 GB, free: 122.9 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-06/0.6494, allocations: 8 kB / 0.5593 GB, free: 122.9 MB / 462.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00168/0.6511, allocations: 1.029 MB / 0.5603 GB, free: 121.8 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.857e-05/0.6512, allocations: 71.39 kB / 0.5604 GB, free: 121.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.6512, allocations: 8.344 kB / 0.5604 GB, free: 121.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002896/0.6541, allocations: 344.7 kB / 0.5607 GB, free: 121.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004599/0.6546, allocations: 138.9 kB / 0.5609 GB, free: 121.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009682/0.6555, allocations: 0.799 MB / 0.5616 GB, free: 120.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004866/0.656, allocations: 35.91 kB / 0.5617 GB, free: 120.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.896e-05/0.6561, allocations: 52.03 kB / 0.5617 GB, free: 120.3 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000597/0.6567, allocations: 413.6 kB / 0.5621 GB, free: 119.9 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005217/0.6573, allocations: 449.6 kB / 0.5625 GB, free: 119.4 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001005/0.6583, allocations: 0.8111 MB / 0.5633 GB, free: 118.5 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.885e-06/0.6583, allocations: 4 kB / 0.5633 GB, free: 118.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.001628/0.6599, allocations: 1.002 MB / 0.5643 GB, free: 117.5 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.189e-05/0.66, allocations: 75.38 kB / 0.5644 GB, free: 117.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.66, allocations: 7.938 kB / 0.5644 GB, free: 117.4 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002792/0.6628, allocations: 352.6 kB / 0.5647 GB, free: 117.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00043/0.6632, allocations: 127.8 kB / 0.5649 GB, free: 116.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009237/0.6641, allocations: 0.806 MB / 0.5656 GB, free: 116.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004812/0.6646, allocations: 32.05 kB / 0.5657 GB, free: 116.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.571e-05/0.6647, allocations: 47.97 kB / 0.5657 GB, free: 116 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.0001907/0.6649, allocations: 287.8 kB / 0.566 GB, free: 115.7 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/0.6651, allocations: 75.19 kB / 0.5661 GB, free: 115.7 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004399/0.6695, allocations: 4.74 MB / 0.5707 GB, free: 110.9 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.6695, allocations: 4.547 kB / 0.5707 GB, free: 110.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.6695, allocations: 4 kB / 0.5707 GB, free: 110.9 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.6696, allocations: 175.6 kB / 0.5709 GB, free: 110.7 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001464/0.6698, allocations: 43.69 kB / 0.5709 GB, free: 110.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005361/0.6703, allocations: 49.88 kB / 0.571 GB, free: 110.6 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.6704, allocations: 52.55 kB / 0.571 GB, free: 110.6 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002814/0.6732, allocations: 1.908 MB / 0.5729 GB, free: 108.6 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002567/0.6758, allocations: 2.448 MB / 0.5753 GB, free: 106.2 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006837/0.6765, allocations: 0.6853 MB / 0.5759 GB, free: 105.5 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000423/0.6769, allocations: 487 kB / 0.5764 GB, free: 105 MB / 462.1 MB Notification: Performance of Backend: time 5.01e-07/0.677, allocations: 0 / 0.5764 GB, free: 105 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007585/0.6845, allocations: 2.856 MB / 0.5792 GB, free: 102.4 MB / 462.1 MB Notification: Performance of SimCode: time 0.002601/0.6872, allocations: 2.458 MB / 0.5816 GB, free: 99.87 MB / 462.1 MB Notification: Performance of Templates: time 0.05848/0.7457, allocations: 57.46 MB / 0.6377 GB, free: 42.54 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.makefile (rm -f Modelica_4.0.0_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe ; mkfifo Modelica_4.0.0_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe >> ../files/Modelica_4.0.0_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.sim & ./Modelica_4.0.0_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches