Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.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.StateGraph.Examples.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank2.level|shut.on|shut.reset.1.|shut.reset.2.|start.on|start.reset.1.|start.reset.2.|stop.on|stop.reset.1.|stop.reset.2.|tankController.T1.enableFire|tankController.T2.enableFire|tankController.T3.enableFire|tankController.T4.enableFire|tankController.T5.enableFire|tankController.T6.enableFire|tankController.makeProduct.T1.enableFire|tankController.makeProduct.T2.enableFire|tankController.makeProduct.T3.enableFire|tankController.makeProduct.T4.enableFire",fileNamePrefix="Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks") translateModel(Modelica.StateGraph.Examples.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank2.level|shut.on|shut.reset.1.|shut.reset.2.|start.on|start.reset.1.|start.reset.2.|stop.on|stop.reset.1.|stop.reset.2.|tankController.T1.enableFire|tankController.T2.enableFire|tankController.T3.enableFire|tankController.T4.enableFire|tankController.T5.enableFire|tankController.T6.enableFire|tankController.makeProduct.T1.enableFire|tankController.makeProduct.T2.enableFire|tankController.makeProduct.T3.enableFire|tankController.makeProduct.T4.enableFire",fileNamePrefix="Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001884/0.001884, allocations: 113.6 kB / 17.69 MB, free: 5.309 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.002243/0.002243, allocations: 192 kB / 18.63 MB, free: 4.375 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.657/1.657, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001125/0.001125, allocations: 47.52 kB / 302 MB, free: 5.184 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1455, allocations: 49.46 MB / 351.5 MB, free: 3.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.00653/0.152, allocations: 3.812 MB / 355.3 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005484/0.1576, allocations: 2.576 MB / 357.9 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001406/0.159, allocations: 23.88 kB / 357.9 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001953/0.1611, allocations: 0.5638 MB / 358.5 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001968/0.163, allocations: 425.8 kB / 358.9 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003968/0.167, allocations: 1.086 MB / 360 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004322/0.1714, allocations: 2.15 MB / 362.1 MB, free: 9.031 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002288/0.1737, allocations: 1.232 MB / 363.4 MB, free: 7.773 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001462/0.1752, allocations: 0.7281 MB / 364.1 MB, free: 7.043 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001138/0.1764, allocations: 0.7274 MB / 364.8 MB, free: 6.312 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003783/0.1768, allocations: 204 kB / 365 MB, free: 6.113 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005946/0.1774, allocations: 295.9 kB / 365.3 MB, free: 5.824 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005025/0.1779, allocations: 494.7 kB / 365.8 MB, free: 5.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008643/0.1787, allocations: 0.7854 MB / 366.6 MB, free: 4.551 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002558/0.1813, allocations: 2.317 MB / 368.9 MB, free: 2.227 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1813, allocations: 0 / 368.9 MB, free: 2.227 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1814, allocations: 0 / 368.9 MB, free: 2.227 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.051e-05/0.1814, allocations: 4 kB / 368.9 MB, free: 2.223 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 319 * Number of variables: 319 Notification: Performance of Generate backend data structure: time 0.003631/0.185, allocations: 1.898 MB / 370.8 MB, free: 212 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.1851, allocations: 8.031 kB / 370.8 MB, free: 204 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003944/0.1855, allocations: 167 kB / 371 MB, free: 36 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.266/0.4516, allocations: 0.9113 MB / 371.9 MB, free: 24.95 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000314/0.452, allocations: 208.6 kB / 372.1 MB, free: 24.85 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003864/0.4524, allocations: 144.8 kB / 372.2 MB, free: 24.85 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003453/0.4558, allocations: 1.487 MB / 373.7 MB, free: 24.17 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.37e-05/0.4559, allocations: 4.969 kB / 373.7 MB, free: 24.16 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000113/0.456, allocations: 57.02 kB / 373.8 MB, free: 24.13 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.958e-05/0.4561, allocations: 56.25 kB / 373.8 MB, free: 24.12 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002233/0.4583, allocations: 0.9875 MB / 374.8 MB, free: 23.72 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007377/0.4657, allocations: 5.482 MB / 380.3 MB, free: 19.86 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002323/0.4681, allocations: 1.262 MB / 381.6 MB, free: 19.01 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001025/0.4692, allocations: 0.5259 MB / 382.1 MB, free: 18.75 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001747/0.4694, allocations: 101.8 kB / 382.2 MB, free: 18.64 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001713/0.4711, allocations: 0.9012 MB / 383.1 MB, free: 18.11 MB / 302.1 MB Notification: Performance of pre-optimization done (n=133): time 7.464e-06/0.4711, allocations: 3.938 kB / 383.1 MB, free: 18.1 MB / 302.1 MB Notification: Performance of matching and sorting (n=133): time 0.003708/0.4748, allocations: 1.482 MB / 384.6 MB, free: 17.48 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003394/0.4752, allocations: 0.6144 MB / 385.2 MB, free: 16.77 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002187/0.4774, allocations: 0.9342 MB / 386.1 MB, free: 16.35 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003137/0.4777, allocations: 111.3 kB / 386.2 MB, free: 16.28 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004895/0.4782, allocations: 0.516 MB / 386.7 MB, free: 15.89 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004508/0.4787, allocations: 339.8 kB / 387.1 MB, free: 15.65 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006222/0.4793, allocations: 377.4 kB / 387.4 MB, free: 15.49 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.4795, allocations: 363.3 kB / 387.8 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001045/0.4806, allocations: 472.9 kB / 388.3 MB, free: 14.99 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001426/0.482, allocations: 0.9199 MB / 389.2 MB, free: 14.29 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00204/0.4841, allocations: 1.381 MB / 390.6 MB, free: 13.23 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-05/0.4841, allocations: 4.406 kB / 390.6 MB, free: 13.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.003687/0.4878, allocations: 1.58 MB / 392.1 MB, free: 12.43 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001335/0.488, allocations: 107.9 kB / 392.2 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.956e-05/0.488, allocations: 11.78 kB / 392.3 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.645e-05/0.4881, allocations: 22.06 kB / 392.3 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000622/0.4887, allocations: 187.4 kB / 392.5 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-05/0.4888, allocations: 28.12 kB / 392.5 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009718/0.4897, allocations: 145.4 kB / 392.6 MB, free: 12.15 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000132/0.4899, allocations: 73.77 kB / 392.7 MB, free: 12.14 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 180 ($PRE.tankController.makeProduct.T1.enableFire,$PRE.tankController.makeProduct.T3.enableFire,$PRE.tankController.makeProduct.T2.enableFire,$PRE.tankController.makeProduct.T4.enableFire,$PRE.tankController.T1.enableFire,$PRE.tankController.T2.enableFire,$PRE.tankController.T3.enableFire,$PRE.tankController.T4.enableFire,$PRE.tankController.T5.enableFire,$PRE.tankController.T6.enableFire,$PRE.start.pre_reset[1],$PRE.start.pre_reset[2],$PRE.stop.pre_reset[1],$PRE.stop.pre_reset[2],$PRE.shut.pre_reset[1],$PRE.shut.pre_reset[2],$PRE.shut.table.combiTimeTable.nextTimeEvent,$whenCondition6,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition5,$PRE.start.table.combiTimeTable.nextTimeEvent,$whenCondition4,stateGraphRoot.activeSteps,valve3.valveControl,valve2.valveControl,shut.on,$PRE.shut.on,shut.reset[2],shut.reset[1],stop.on,$PRE.stop.on,stop.reset[2],stop.reset[1],start.on,$PRE.start.on,start.reset[2],start.reset[1],tankController.T6.enableFire,tankController.T6.localCondition,tankController.emptyTanks.oldActive,$PRE.tankController.emptyTanks.oldActive,tankController.emptyTanks.newActive,$PRE.tankController.emptyTanks.newActive,tankController.emptyTanks.localActive,$PRE.tankController.emptyTanks.localActive,tankController.emptyTanks.active,tankController.T5.enableFire,tankController.T4.enableFire,tankController.s2.oldActive,$PRE.tankController.s2.oldActive,tankController.s2.newActive,$PRE.tankController.s2.newActive,tankController.s2.outPort[2].available,tankController.s2.localActive,$PRE.tankController.s2.localActive,tankController.s2.active,tankController.T3.enableFire,tankController.T2.enableFire,tankController.T2.localCondition,tankController.T1.enableFire,tankController.makeProduct.T4.t_start,$PRE.tankController.makeProduct.T4.t_start,tankController.makeProduct.T4.fire,tankController.makeProduct.T4.enableFire,tankController.makeProduct.wait2.oldActive,$PRE.tankController.makeProduct.wait2.oldActive,tankController.makeProduct.wait2.newActive,$PRE.tankController.makeProduct.wait2.newActive,tankController.makeProduct.wait2.localActive,$PRE.tankController.makeProduct.wait2.localActive,tankController.makeProduct.wait2.active,tankController.makeProduct.T2.t_start,$PRE.tankController.makeProduct.T2.t_start,tankController.makeProduct.T2.fire,tankController.makeProduct.T2.enableFire,tankController.makeProduct.wait1.oldActive,$PRE.tankController.makeProduct.wait1.oldActive,tankController.makeProduct.wait1.newActive,$PRE.tankController.makeProduct.wait1.newActive,tankController.makeProduct.wait1.localActive,$PRE.tankController.makeProduct.wait1.localActive,tankController.makeProduct.wait1.active,tankController.makeProduct.emptyTank2.oldActive,$PRE.tankController.makeProduct.emptyTank2.oldActive,tankController.makeProduct.emptyTank2.newActive,$PRE.tankController.makeProduct.emptyTank2.newActive,tankController.makeProduct.emptyTank2.localActive,$PRE.tankController.makeProduct.emptyTank2.localActive,tankController.makeProduct.emptyTank2.active,tankController.makeProduct.T3.enableFire,tankController.makeProduct.T3.localCondition,tankController.makeProduct.fillTank2.oldActive,$PRE.tankController.makeProduct.fillTank2.oldActive,tankController.makeProduct.fillTank2.newActive,$PRE.tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.fillTank2.localActive,$PRE.tankController.makeProduct.fillTank2.localActive,tankController.makeProduct.fillTank2.active,tankController.makeProduct.T1.enableFire,tankController.makeProduct.T1.localCondition,tankController.makeProduct.fillTank1.oldActive,$PRE.tankController.makeProduct.fillTank1.oldActive,tankController.makeProduct.fillTank1.newActive,$PRE.tankController.makeProduct.fillTank1.newActive,tankController.makeProduct.fillTank1.localActive,$PRE.tankController.makeProduct.fillTank1.localActive,tankController.makeProduct.fillTank1.active,tankController.makeProduct.activeSteps,tankController.makeProduct.newActive,$PRE.tankController.makeProduct.newActive,tankController.makeProduct.active,tankController.makeProduct.stateGraphRoot.resume,tankController.makeProduct.stateGraphRoot.suspend,tankController.s1.oldActive,$PRE.tankController.s1.oldActive,tankController.s1.newActive,$PRE.tankController.s1.newActive,tankController.s1.inPort[2].occupied,tankController.s1.localActive,$PRE.tankController.s1.localActive,tankController.s1.active,$whenCondition1,$whenCondition2,$whenCondition3,shut.pre_reset[2],shut.pre_reset[1],shut.table.combiTimeTable.nextTimeEventScaled,$PRE.shut.table.combiTimeTable.nextTimeEventScaled,shut.table.combiTimeTable.nextTimeEvent,shut.table.y,$PRE.shut.table.y,$PRE.shut.reset[2],$PRE.shut.reset[1],$whenCondition9,$whenCondition7,$whenCondition8,stop.pre_reset[2],stop.pre_reset[1],stop.table.combiTimeTable.nextTimeEventScaled,$PRE.stop.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEvent,stop.table.y,$PRE.stop.table.y,$PRE.stop.reset[2],$PRE.stop.reset[1],$whenCondition12,$whenCondition10,$whenCondition11,start.pre_reset[2],start.pre_reset[1],start.table.combiTimeTable.nextTimeEventScaled,$PRE.start.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEvent,start.table.y,$PRE.start.table.y,$PRE.start.reset[2],$PRE.start.reset[1],$whenCondition15,$whenCondition13,$whenCondition14,tankController.makeProduct.T1.t_start,$PRE.tankController.makeProduct.T1.t_start,tankController.makeProduct.T3.t_start,$PRE.tankController.makeProduct.T3.t_start,tankController.T1.t_start,$PRE.tankController.T1.t_start,tankController.T2.t_start,$PRE.tankController.T2.t_start,tankController.T3.t_start,$PRE.tankController.T3.t_start,tankController.T4.t_start,$PRE.tankController.T4.t_start,tankController.T5.t_start,$PRE.tankController.T5.t_start,tankController.T6.t_start,$PRE.tankController.T6.t_start,stateGraphRoot.resume,stateGraphRoot.suspend,tankController.makeProduct.T4.condition,tankController.makeProduct.T2.condition) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (214): * Single equations (assignments): 211 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001063/0.4909, allocations: 0.6468 MB / 393.3 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002841/0.4912, allocations: 113.4 kB / 393.5 MB, free: 11.6 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002045/0.4933, allocations: 1.197 MB / 394.7 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-05/0.4933, allocations: 17.5 kB / 394.7 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.278e-05/0.4934, allocations: 2.781 kB / 394.7 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.509e-05/0.4934, allocations: 9.406 kB / 394.7 MB, free: 10.9 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004325/0.4977, allocations: 2.719 MB / 397.4 MB, free: 9.113 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.667e-06/0.4978, allocations: 4 kB / 397.4 MB, free: 9.109 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00034/0.4981, allocations: 77.3 kB / 397.5 MB, free: 9.082 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-05/0.4981, allocations: 8.688 kB / 397.5 MB, free: 9.082 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-05/0.4982, allocations: 43.09 kB / 397.5 MB, free: 9.059 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.12e-05/0.4982, allocations: 11.39 kB / 397.5 MB, free: 9.051 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.4982, allocations: 3.5 kB / 397.5 MB, free: 9.051 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002641/0.5009, allocations: 1.917 MB / 399.5 MB, free: 7.523 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004912/0.5014, allocations: 299.5 kB / 399.8 MB, free: 7.211 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001925/0.5016, allocations: 68.03 kB / 399.8 MB, free: 7.145 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003738/0.502, allocations: 39.97 kB / 399.9 MB, free: 7.105 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003226/0.5023, allocations: 144.8 kB / 400 MB, free: 6.965 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.874e-05/0.5024, allocations: 59.95 kB / 400.1 MB, free: 6.906 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007432/0.5032, allocations: 0.5771 MB / 400.6 MB, free: 6.336 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5032, allocations: 0 / 400.6 MB, free: 6.336 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001383/0.5046, allocations: 349.7 kB / 401 MB, free: 5.996 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (tank1.level,tank2.level) * Number of discrete variables: 112 (tankController.T6.t_start,tankController.T5.t_start,tankController.T4.t_start,tankController.T3.t_start,tankController.T2.t_start,tankController.T1.t_start,tankController.makeProduct.T3.t_start,tankController.makeProduct.T1.t_start,tankController.makeProduct.stateGraphRoot.suspend,tankController.emptyTanks.active,tankController.s2.active,tankController.makeProduct.T4.enableFire,tankController.makeProduct.wait2.active,tankController.makeProduct.T2.enableFire,tankController.makeProduct.wait1.active,tankController.makeProduct.emptyTank2.active,tankController.makeProduct.fillTank2.active,tankController.makeProduct.fillTank1.localActive,tankController.s1.active,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition8,$whenCondition7,$whenCondition9,$whenCondition11,$whenCondition10,$whenCondition12,$whenCondition14,$whenCondition13,$whenCondition15,tankController.s1.localActive,tankController.s1.inPort[2].occupied,tankController.s1.newActive,tankController.s1.oldActive,tankController.makeProduct.stateGraphRoot.resume,tankController.makeProduct.active,tankController.makeProduct.newActive,tankController.makeProduct.activeSteps,tankController.makeProduct.fillTank1.active,tankController.makeProduct.fillTank1.newActive,tankController.makeProduct.fillTank1.oldActive,tankController.makeProduct.T1.localCondition,tankController.makeProduct.T1.enableFire,tankController.makeProduct.fillTank2.localActive,tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.fillTank2.oldActive,tankController.makeProduct.T3.localCondition,tankController.makeProduct.T3.enableFire,tankController.makeProduct.emptyTank2.localActive,tankController.makeProduct.emptyTank2.newActive,tankController.makeProduct.emptyTank2.oldActive,tankController.makeProduct.wait1.localActive,tankController.makeProduct.wait1.newActive,tankController.makeProduct.wait1.oldActive,tankController.makeProduct.T2.fire,tankController.makeProduct.T2.t_start,tankController.makeProduct.wait2.localActive,tankController.makeProduct.wait2.newActive,tankController.makeProduct.wait2.oldActive,tankController.makeProduct.T4.fire,tankController.makeProduct.T4.t_start,tankController.T1.enableFire,tankController.T2.localCondition,tankController.T2.enableFire,tankController.T3.enableFire,tankController.s2.localActive,tankController.s2.outPort[2].available,tankController.s2.newActive,tankController.s2.oldActive,tankController.T4.enableFire,tankController.T5.enableFire,tankController.emptyTanks.localActive,tankController.emptyTanks.newActive,tankController.emptyTanks.oldActive,tankController.T6.localCondition,tankController.T6.enableFire,start.reset[1],start.reset[2],start.on,start.table.y,start.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEventScaled,start.pre_reset[1],start.pre_reset[2],stop.reset[1],stop.reset[2],stop.on,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEventScaled,stop.pre_reset[1],stop.pre_reset[2],shut.reset[1],shut.reset[2],shut.on,shut.table.y,shut.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEventScaled,shut.pre_reset[1],shut.pre_reset[2],valve2.valveControl,valve3.valveControl,stateGraphRoot.activeSteps) * Number of discrete states: 50 (shut.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEvent,tankController.s1.newActive,tankController.makeProduct.fillTank1.newActive,tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.emptyTank2.newActive,tankController.makeProduct.wait1.newActive,tankController.makeProduct.wait2.newActive,tankController.makeProduct.newActive,tankController.s2.newActive,tankController.emptyTanks.newActive,shut.table.combiTimeTable.nextTimeEventScaled,$whenCondition9,shut.on,$whenCondition8,$whenCondition7,shut.pre_reset[2],shut.pre_reset[1],shut.reset[1],shut.reset[2],shut.table.y,stop.table.combiTimeTable.nextTimeEventScaled,$whenCondition12,stop.on,$whenCondition11,$whenCondition10,stop.pre_reset[2],stop.pre_reset[1],stop.reset[1],stop.reset[2],stop.table.y,start.table.combiTimeTable.nextTimeEventScaled,$whenCondition15,start.on,$whenCondition14,$whenCondition13,start.pre_reset[2],start.pre_reset[1],start.reset[1],start.reset[2],start.table.y,tankController.makeProduct.T1.t_start,tankController.makeProduct.T3.t_start,tankController.T1.t_start,tankController.T2.t_start,tankController.T3.t_start,tankController.T4.t_start,tankController.T5.t_start,tankController.T6.t_start) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (123): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 24 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001315/0.5059, allocations: 0.5592 MB / 401.5 MB, free: 5.609 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002222/0.5081, allocations: 1.483 MB / 403 MB, free: 4.09 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/0.5082, allocations: 0 / 403 MB, free: 4.09 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009754/0.5091, allocations: 0.866 MB / 403.9 MB, free: 3.191 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/0.5103, allocations: 240.9 kB / 404.1 MB, free: 2.969 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003831/0.5141, allocations: 2.246 MB / 406.4 MB, free: 0.6758 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008287/0.515, allocations: 1.162 MB / 407.5 MB, free: 15.48 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0009024/0.5159, allocations: 197.7 kB / 407.7 MB, free: 15.29 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003271/0.5162, allocations: 115.4 kB / 407.8 MB, free: 15.18 MB / 318.1 MB Notification: Performance of SimCode: time 1.843e-06/0.5162, allocations: 0 / 407.8 MB, free: 15.18 MB / 318.1 MB Notification: Performance of Templates: time 0.03809/0.5543, allocations: 15.14 MB / 423 MB, free: 116 kB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.makefile (rm -f Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.pipe ; mkfifo Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.pipe >> ../files/Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.sim & ./Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/StateGraph/Examples/ControlledTanks/ControlledTanks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches