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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 176.2 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 221.5 MB / 230.3 MB, free: 7.598 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009432/0.0009432, allocations: 90.02 kB / 281.2 MB, free: 5.344 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.458e-05/1.461e-05, allocations: 4 kB / 337 MB, free: 10.07 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1442, allocations: 50.42 MB / 387.4 MB, free: 7.602 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5398/0.684, allocations: 83.72 MB / 471.2 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003443/0.6845, allocations: 67.97 kB / 471.2 MB, free: 11.09 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1708/0.8553, allocations: 41.65 MB / 0.5009 GB, free: 1.32 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.8554, allocations: 0 / 0.5009 GB, free: 1.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001027/0.8555, allocations: 39.92 kB / 0.5009 GB, free: 1.281 MB / 378.7 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.003279/0.8588, allocations: 1.497 MB / 0.5024 GB, free: 15.66 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.515e-05/0.8588, allocations: 12.03 kB / 0.5024 GB, free: 15.64 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000433/0.8593, allocations: 162.2 kB / 0.5025 GB, free: 15.48 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001673/0.8609, allocations: 0.9032 MB / 0.5034 GB, free: 14.54 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001863/0.8611, allocations: 147.5 kB / 0.5036 GB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001797/0.8613, allocations: 91.98 kB / 0.5036 GB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001699/0.863, allocations: 0.864 MB / 0.5045 GB, free: 13.42 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002135/0.8652, allocations: 1.28 MB / 0.5057 GB, free: 12.02 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.839e-05/0.8652, allocations: 7.938 kB / 0.5057 GB, free: 12.01 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.329e-05/0.8653, allocations: 11.94 kB / 0.5058 GB, free: 12 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-05/0.8654, allocations: 50.19 kB / 0.5058 GB, free: 11.95 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006467/0.8719, allocations: 5.294 MB / 0.511 GB, free: 6.516 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001708/0.8736, allocations: 1.178 MB / 0.5121 GB, free: 5.203 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007157/0.8743, allocations: 488.1 kB / 0.5126 GB, free: 4.695 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001787/0.8745, allocations: 110.4 kB / 0.5127 GB, free: 4.57 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001355/0.8759, allocations: 0.8539 MB / 0.5135 GB, free: 3.641 MB / 394.7 MB Notification: Performance of pre-optimization done (n=133): time 3.577e-06/0.8759, allocations: 0 / 0.5135 GB, free: 3.641 MB / 394.7 MB Notification: Performance of matching and sorting (n=133): time 0.002134/0.8781, allocations: 0.9292 MB / 0.5144 GB, free: 2.703 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004268/0.8785, allocations: 0.6084 MB / 0.515 GB, free: 1.961 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001433/0.8799, allocations: 0.8074 MB / 0.5158 GB, free: 1.148 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001994/0.8802, allocations: 85.67 kB / 0.5159 GB, free: 1.059 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005375/0.8807, allocations: 0.5166 MB / 0.5164 GB, free: 0.5312 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003411/0.881, allocations: 312 kB / 0.5167 GB, free: 228 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.83e-05/0.8811, allocations: 4 kB / 0.5167 GB, free: 224 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003151/0.8814, allocations: 430.7 kB / 0.5171 GB, free: 15.79 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008109/0.8823, allocations: 420 kB / 0.5175 GB, free: 15.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009997/0.8833, allocations: 0.8418 MB / 0.5183 GB, free: 14.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007902/0.8841, allocations: 466.5 kB / 0.5188 GB, free: 13.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.786e-06/0.8841, allocations: 4 kB / 0.5188 GB, free: 13.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.002095/0.8862, allocations: 1.288 MB / 0.52 GB, free: 12.61 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001035/0.8863, allocations: 105.1 kB / 0.5201 GB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.136e-05/0.8863, allocations: 12 kB / 0.5202 GB, free: 12.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.99e-05/0.8864, allocations: 24.03 kB / 0.5202 GB, free: 12.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006568/0.8871, allocations: 187.5 kB / 0.5204 GB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.335e-05/0.8871, allocations: 31.86 kB / 0.5204 GB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006307/0.8877, allocations: 79.36 kB / 0.5205 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001395/0.8879, allocations: 75.98 kB / 0.5205 GB, free: 12.08 MB / 410.7 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],$whenCondition6,$PRE.shut.table.combiTimeTable.nextTimeEvent,$whenCondition5,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition4,$PRE.start.table.combiTimeTable.nextTimeEvent,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.tankController.s1.localActive,tankController.s1.localActive,tankController.s1.inPort[2].occupied,$PRE.tankController.s1.newActive,tankController.s1.newActive,$PRE.tankController.s1.oldActive,tankController.s1.oldActive,tankController.s1.active,tankController.makeProduct.stateGraphRoot.suspend,tankController.makeProduct.stateGraphRoot.resume,tankController.makeProduct.active,$PRE.tankController.makeProduct.newActive,tankController.makeProduct.newActive,tankController.makeProduct.activeSteps,$PRE.tankController.makeProduct.fillTank1.localActive,tankController.makeProduct.fillTank1.localActive,$PRE.tankController.makeProduct.fillTank1.newActive,tankController.makeProduct.fillTank1.newActive,$PRE.tankController.makeProduct.fillTank1.oldActive,tankController.makeProduct.fillTank1.oldActive,tankController.makeProduct.fillTank1.active,tankController.makeProduct.T1.enableFire,tankController.makeProduct.T1.condition,$PRE.tankController.makeProduct.fillTank2.localActive,tankController.makeProduct.fillTank2.localActive,$PRE.tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.fillTank2.newActive,$PRE.tankController.makeProduct.fillTank2.oldActive,tankController.makeProduct.fillTank2.oldActive,tankController.makeProduct.fillTank2.active,tankController.makeProduct.T3.enableFire,tankController.makeProduct.T3.condition,$PRE.tankController.makeProduct.emptyTank2.localActive,tankController.makeProduct.emptyTank2.localActive,$PRE.tankController.makeProduct.emptyTank2.newActive,tankController.makeProduct.emptyTank2.newActive,$PRE.tankController.makeProduct.emptyTank2.oldActive,tankController.makeProduct.emptyTank2.oldActive,tankController.makeProduct.emptyTank2.active,$PRE.tankController.makeProduct.wait1.localActive,tankController.makeProduct.wait1.localActive,$PRE.tankController.makeProduct.wait1.newActive,tankController.makeProduct.wait1.newActive,$PRE.tankController.makeProduct.wait1.oldActive,tankController.makeProduct.wait1.oldActive,tankController.makeProduct.wait1.active,tankController.makeProduct.T2.enableFire,tankController.makeProduct.T2.fire,$PRE.tankController.makeProduct.T2.t_start,tankController.makeProduct.T2.t_start,$PRE.tankController.makeProduct.wait2.localActive,tankController.makeProduct.wait2.localActive,$PRE.tankController.makeProduct.wait2.newActive,tankController.makeProduct.wait2.newActive,$PRE.tankController.makeProduct.wait2.oldActive,tankController.makeProduct.wait2.oldActive,tankController.makeProduct.wait2.active,tankController.makeProduct.T4.enableFire,tankController.makeProduct.T4.fire,$PRE.tankController.makeProduct.T4.t_start,tankController.makeProduct.T4.t_start,tankController.T1.enableFire,tankController.T2.enableFire,tankController.T2.condition,tankController.T3.enableFire,$PRE.tankController.s2.localActive,tankController.s2.localActive,tankController.s2.outPort[2].available,$PRE.tankController.s2.newActive,tankController.s2.newActive,$PRE.tankController.s2.oldActive,tankController.s2.oldActive,tankController.s2.active,tankController.T4.enableFire,tankController.T5.enableFire,$PRE.tankController.emptyTanks.localActive,tankController.emptyTanks.localActive,$PRE.tankController.emptyTanks.newActive,tankController.emptyTanks.newActive,$PRE.tankController.emptyTanks.oldActive,tankController.emptyTanks.oldActive,tankController.emptyTanks.active,tankController.T6.enableFire,tankController.T6.condition,tankController.valve2,tankController.valve3,start.reset[1],start.reset[2],$PRE.start.on,start.on,stop.reset[1],stop.reset[2],$PRE.stop.on,stop.on,shut.reset[1],shut.reset[2],$PRE.shut.on,shut.on,stateGraphRoot.activeSteps,$whenCondition8,$whenCondition7,$whenCondition9,$PRE.shut.reset[1],$PRE.shut.reset[2],$PRE.shut.table.y,shut.table.y,shut.table.combiTimeTable.nextTimeEvent,$PRE.shut.table.combiTimeTable.nextTimeEventScaled,shut.table.combiTimeTable.nextTimeEventScaled,shut.pre_reset[1],shut.pre_reset[2],$whenCondition11,$whenCondition10,$whenCondition12,$PRE.stop.reset[1],$PRE.stop.reset[2],$PRE.stop.table.y,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,$PRE.stop.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEventScaled,stop.pre_reset[1],stop.pre_reset[2],$whenCondition14,$whenCondition13,$whenCondition15,$PRE.start.reset[1],$PRE.start.reset[2],$PRE.start.table.y,start.table.y,start.table.combiTimeTable.nextTimeEvent,$PRE.start.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEventScaled,start.pre_reset[1],start.pre_reset[2],$PRE.tankController.makeProduct.T1.t_start,tankController.makeProduct.T1.t_start,$PRE.tankController.makeProduct.T3.t_start,tankController.makeProduct.T3.t_start,$PRE.tankController.T1.t_start,tankController.T1.t_start,$PRE.tankController.T2.t_start,tankController.T2.t_start,$PRE.tankController.T3.t_start,tankController.T3.t_start,$PRE.tankController.T4.t_start,tankController.T4.t_start,$PRE.tankController.T5.t_start,tankController.T5.t_start,$PRE.tankController.T6.t_start,tankController.T6.t_start,stateGraphRoot.resume,stateGraphRoot.suspend,tankController.makeProduct.T4.condition,tankController.makeProduct.T2.condition) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005131/0.8884, allocations: 384.6 kB / 0.5209 GB, free: 11.67 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002251/0.8886, allocations: 106.8 kB / 0.521 GB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001841/0.8905, allocations: 1 MB / 0.522 GB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-05/0.8905, allocations: 15.94 kB / 0.522 GB, free: 10.54 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.988e-06/0.8905, allocations: 4 kB / 0.522 GB, free: 10.54 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.474e-05/0.8905, allocations: 7.984 kB / 0.522 GB, free: 10.53 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003774/0.8943, allocations: 2.448 MB / 0.5244 GB, free: 8.035 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.8943, allocations: 4 kB / 0.5244 GB, free: 8.031 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003709/0.8947, allocations: 91.7 kB / 0.5245 GB, free: 7.941 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.4e-05/0.8947, allocations: 8 kB / 0.5245 GB, free: 7.934 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.688e-05/0.8948, allocations: 27.97 kB / 0.5245 GB, free: 7.906 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/0.8948, allocations: 4 kB / 0.5245 GB, free: 7.902 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.513e-06/0.8949, allocations: 4 kB / 0.5245 GB, free: 7.898 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002451/0.8973, allocations: 1.781 MB / 0.5263 GB, free: 6.027 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004557/0.8978, allocations: 323.5 kB / 0.5266 GB, free: 5.691 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002148/0.898, allocations: 47.97 kB / 0.5266 GB, free: 5.645 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003848/0.8984, allocations: 36.31 kB / 0.5267 GB, free: 5.609 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003092/0.8987, allocations: 165 kB / 0.5268 GB, free: 5.445 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-05/0.8988, allocations: 59.97 kB / 0.5269 GB, free: 5.387 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006815/0.8995, allocations: 0.5303 MB / 0.5274 GB, free: 4.859 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.8995, allocations: 0 / 0.5274 GB, free: 4.859 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001166/0.9007, allocations: 267.7 kB / 0.5276 GB, free: 4.598 MB / 410.7 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.localActive,tankController.s2.localActive,tankController.makeProduct.T4.enableFire,tankController.makeProduct.wait2.localActive,tankController.makeProduct.T2.enableFire,tankController.makeProduct.wait1.localActive,tankController.makeProduct.emptyTank2.localActive,tankController.makeProduct.fillTank2.localActive,tankController.makeProduct.fillTank1.localActive,tankController.s1.localActive,$cse4,$cse5,$cse7,$cse9,$cse10,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition8,$whenCondition7,$whenCondition9,$whenCondition11,$whenCondition10,$whenCondition12,$whenCondition14,$whenCondition13,$whenCondition15,tankController.s1.inPort[2].occupied,tankController.s1.newActive,tankController.s1.oldActive,tankController.s1.active,tankController.makeProduct.stateGraphRoot.resume,tankController.makeProduct.active,tankController.makeProduct.newActive,tankController.makeProduct.activeSteps,tankController.makeProduct.fillTank1.newActive,tankController.makeProduct.fillTank1.oldActive,tankController.makeProduct.fillTank1.active,tankController.makeProduct.T1.enableFire,tankController.makeProduct.T1.condition,tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.fillTank2.oldActive,tankController.makeProduct.fillTank2.active,tankController.makeProduct.T3.enableFire,tankController.makeProduct.T3.condition,tankController.makeProduct.emptyTank2.newActive,tankController.makeProduct.emptyTank2.oldActive,tankController.makeProduct.emptyTank2.active,tankController.makeProduct.wait1.newActive,tankController.makeProduct.wait1.oldActive,tankController.makeProduct.wait1.active,tankController.makeProduct.T2.fire,tankController.makeProduct.T2.t_start,tankController.makeProduct.wait2.newActive,tankController.makeProduct.wait2.oldActive,tankController.makeProduct.wait2.active,tankController.makeProduct.T4.fire,tankController.makeProduct.T4.t_start,tankController.T1.enableFire,tankController.T2.enableFire,tankController.T2.condition,tankController.T3.enableFire,tankController.s2.outPort[2].available,tankController.s2.newActive,tankController.s2.oldActive,tankController.s2.active,tankController.T4.enableFire,tankController.T5.enableFire,tankController.emptyTanks.newActive,tankController.emptyTanks.oldActive,tankController.emptyTanks.active,tankController.T6.enableFire,tankController.T6.condition,tankController.valve2,tankController.valve3,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],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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 24 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001086/0.9018, allocations: 0.4992 MB / 0.5281 GB, free: 4.168 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001984/0.9038, allocations: 1.374 MB / 0.5295 GB, free: 2.758 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.9038, allocations: 0 / 0.5295 GB, free: 2.758 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009379/0.9047, allocations: 0.8238 MB / 0.5303 GB, free: 1.898 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008762/0.9056, allocations: 178.3 kB / 0.5304 GB, free: 1.727 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003324/0.909, allocations: 1.748 MB / 0.5322 GB, free: 15.92 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007713/0.9098, allocations: 1.194 MB / 0.5333 GB, free: 14.69 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007357/0.9105, allocations: 213.6 kB / 0.5335 GB, free: 14.48 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003043/0.9108, allocations: 111.4 kB / 0.5336 GB, free: 14.37 MB / 426.7 MB Notification: Performance of SimCode: time 1.082e-06/0.9108, allocations: 0 / 0.5336 GB, free: 14.37 MB / 426.7 MB Notification: Performance of Templates: time 0.0263/0.9371, allocations: 13.68 MB / 0.547 GB, free: 0.7266 MB / 426.7 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/StateGraph/Examples/ControlledTanks/ControlledTanks.csv","../files/Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches