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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.001251/0.001251, allocations: 172.5 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.963/1.963, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.001062/0.001063, allocations: 97.89 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.135e-05/4.139e-05, allocations: 4 kB / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.144, allocations: 47.57 MB / 370 MB, free: 1.723 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.52/7.664, allocations: 2.832 GB / 3.194 GB, free: 116.5 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002663/7.664, allocations: 85.66 kB / 3.194 GB, free: 116.5 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.535/9.2, allocations: 497.5 MB / 3.68 GB, free: 4.309 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.943e-06/9.2, allocations: 0 / 3.68 GB, free: 4.309 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.925e-05/9.2, allocations: 12 kB / 3.68 GB, free: 4.297 MB / 442.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.007203/9.207, allocations: 1.859 MB / 3.681 GB, free: 2.391 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/9.207, allocations: 8.031 kB / 3.681 GB, free: 2.383 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002063/9.209, allocations: 251.1 kB / 3.682 GB, free: 2.141 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/9.21, allocations: 0.5019 MB / 3.682 GB, free: 1.605 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.648e-05/9.21, allocations: 49.31 kB / 3.682 GB, free: 1.559 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/9.21, allocations: 63.94 kB / 3.682 GB, free: 1.496 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001903/9.212, allocations: 0.9345 MB / 3.683 GB, free: 0.5 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/9.212, allocations: 0 / 3.683 GB, free: 0.5 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.884e-05/9.212, allocations: 24 kB / 3.683 GB, free: 488 kB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.664e-05/9.212, allocations: 23.2 kB / 3.683 GB, free: 468 kB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3212/9.534, allocations: 0.7125 MB / 3.684 GB, free: 43.12 MB / 442.7 MB Warning: The model contains alias variables with conflicting start and/or 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.00539/9.539, allocations: 4.178 MB / 3.688 GB, free: 40.35 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002058/9.541, allocations: 0.629 MB / 3.689 GB, free: 40.27 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006457/9.542, allocations: 267.2 kB / 3.689 GB, free: 40.24 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07732/9.619, allocations: 39.01 MB / 3.727 GB, free: 18.85 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001447/9.621, allocations: 0.594 MB / 3.728 GB, free: 18.7 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005792/9.621, allocations: 79.78 kB / 3.728 GB, free: 18.69 MB / 442.7 MB Notification: Performance of pre-optimization done (n=57): time 3.737e-06/9.621, allocations: 0 / 3.728 GB, free: 18.69 MB / 442.7 MB Notification: Performance of matching and sorting (n=65): time 0.009218/9.631, allocations: 3.061 MB / 3.731 GB, free: 17.97 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.81e-05/9.631, allocations: 271.5 kB / 3.731 GB, free: 17.65 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004663/9.631, allocations: 421.4 kB / 3.731 GB, free: 17.54 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.075e-05/9.631, allocations: 36.42 kB / 3.731 GB, free: 17.51 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002023/9.631, allocations: 320.2 kB / 3.732 GB, free: 17.37 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001528/9.632, allocations: 222.2 kB / 3.732 GB, free: 17.27 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.151e-05/9.632, allocations: 17.59 kB / 3.732 GB, free: 17.27 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0007718/9.632, allocations: 371.5 kB / 3.732 GB, free: 32.95 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003695/9.633, allocations: 254.5 kB / 3.732 GB, free: 32.95 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004786/9.633, allocations: 431.8 kB / 3.733 GB, free: 32.75 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004621/9.634, allocations: 357.6 kB / 3.733 GB, free: 32.68 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/9.634, allocations: 3.562 kB / 3.733 GB, free: 32.68 MB / 458.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001522/9.635, allocations: 0.9928 MB / 3.734 GB, free: 32.54 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006948/9.636, allocations: 1.813 MB / 3.736 GB, free: 30.66 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/9.636, allocations: 6.719 kB / 3.736 GB, free: 30.66 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003707/9.64, allocations: 342.9 kB / 3.736 GB, free: 30.65 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006063/9.64, allocations: 136.2 kB / 3.736 GB, free: 30.65 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001342/9.642, allocations: 0.8022 MB / 3.737 GB, free: 30.13 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001089/9.643, allocations: 74.97 kB / 3.737 GB, free: 30.13 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/9.643, allocations: 49.78 kB / 3.737 GB, free: 30.13 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/9.643, allocations: 3.781 kB / 3.737 GB, free: 30.13 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001658/9.645, allocations: 0.9605 MB / 3.738 GB, free: 30.04 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/9.645, allocations: 3.875 kB / 3.738 GB, free: 30.04 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003638/9.648, allocations: 347.2 kB / 3.739 GB, free: 30.04 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000492/9.649, allocations: 136.2 kB / 3.739 GB, free: 30.04 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001121/9.65, allocations: 0.7972 MB / 3.739 GB, free: 29.52 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009704/9.651, allocations: 65.69 kB / 3.74 GB, free: 29.51 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.521e-05/9.651, allocations: 43.36 kB / 3.74 GB, free: 29.51 MB / 458.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 () * 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.0004412/9.651, allocations: 218 kB / 3.74 GB, free: 29.34 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001471/9.652, allocations: 82.11 kB / 3.74 GB, free: 29.31 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005418/9.657, allocations: 4.948 MB / 3.745 GB, free: 29.02 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.017e-05/9.657, allocations: 34.38 kB / 3.745 GB, free: 29.01 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/9.657, allocations: 0 / 3.745 GB, free: 29.01 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.368e-05/9.657, allocations: 10 kB / 3.745 GB, free: 29.01 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006921/9.664, allocations: 6.813 MB / 3.751 GB, free: 28.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.346e-06/9.664, allocations: 10.33 kB / 3.751 GB, free: 28.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004133/9.665, allocations: 113 kB / 3.751 GB, free: 28.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002148/9.667, allocations: 1.274 MB / 3.753 GB, free: 28.29 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-05/9.667, allocations: 25.66 kB / 3.753 GB, free: 28.29 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001967/9.669, allocations: 2.436 MB / 3.755 GB, free: 27.76 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/9.669, allocations: 3.188 kB / 3.755 GB, free: 27.76 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005864/9.675, allocations: 5.81 MB / 3.761 GB, free: 27.38 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004469/9.675, allocations: 242.2 kB / 3.761 GB, free: 27.23 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001522/9.675, allocations: 17.88 kB / 3.761 GB, free: 27.23 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006683/9.676, allocations: 72.78 kB / 3.761 GB, free: 27.23 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/9.676, allocations: 54.55 kB / 3.761 GB, free: 27.22 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-05/9.676, allocations: 35.22 kB / 3.761 GB, free: 27.22 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005673/9.677, allocations: 474.5 kB / 3.762 GB, free: 27.12 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.51e-07/9.677, allocations: 3.594 kB / 3.762 GB, free: 27.12 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006232/9.683, allocations: 1.373 MB / 3.763 GB, free: 27.12 MB / 458.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 ($cse1.region3boundary,$cse2.region3boundary,$cse4.phase,$cse4.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.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) * 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.008773/9.692, allocations: 1.776 MB / 3.765 GB, free: 26.93 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003263/9.695, allocations: 1.764 MB / 3.766 GB, free: 26.65 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/9.695, allocations: 3.625 kB / 3.766 GB, free: 26.65 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001236/9.696, allocations: 0.8638 MB / 3.767 GB, free: 26.52 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001902/9.698, allocations: 310.4 kB / 3.768 GB, free: 26.5 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003/9.701, allocations: 1.713 MB / 3.769 GB, free: 26.04 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005789/9.702, allocations: 1.099 MB / 3.77 GB, free: 25.31 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001128/9.703, allocations: 0.627 MB / 3.771 GB, free: 25.29 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001392/9.703, allocations: 55.31 kB / 3.771 GB, free: 25.28 MB / 458.7 MB Notification: Performance of SimCode: time 9.92e-07/9.703, allocations: 0 / 3.771 GB, free: 25.28 MB / 458.7 MB Notification: Performance of Templates: time 0.06242/9.766, allocations: 50.85 MB / 3.821 GB, free: 19.98 MB / 458.7 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/jenkins/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_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches