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.001075/0.001075, allocations: 180.4 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 223.2 MB / 240.3 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 93.98 kB / 291.5 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003666/0.0003666, allocations: 7.938 kB / 351.1 MB, free: 15.35 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2701/0.2704, allocations: 50.41 MB / 401.5 MB, free: 32.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.111/0.3815, allocations: 84.46 MB / 485.9 MB, free: 12.05 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002495/0.3818, allocations: 72.75 kB / 486 MB, free: 11.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3444/0.7262, allocations: 42.24 MB / 0.5159 GB, free: 87.97 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.407e-06/0.7263, allocations: 0 / 0.5159 GB, free: 87.97 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001434/0.7265, allocations: 41.81 kB / 0.5159 GB, free: 87.96 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.003691/0.7302, allocations: 1.635 MB / 0.5175 GB, free: 86.88 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.7302, allocations: 7.5 kB / 0.5175 GB, free: 86.88 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006248/0.7309, allocations: 162.5 kB / 0.5177 GB, free: 86.8 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001909/0.7328, allocations: 0.9039 MB / 0.5186 GB, free: 86.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001917/0.733, allocations: 199.8 kB / 0.5187 GB, free: 86.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002615/0.7333, allocations: 144.7 kB / 0.5189 GB, free: 86.41 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002526/0.7358, allocations: 1.468 MB / 0.5203 GB, free: 86.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.051e-05/0.7359, allocations: 11.31 kB / 0.5203 GB, free: 86.06 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001232/0.736, allocations: 65.83 kB / 0.5204 GB, free: 86.05 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.805e-05/0.7361, allocations: 47.62 kB / 0.5204 GB, free: 86.05 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00198/0.7381, allocations: 0.9871 MB / 0.5214 GB, free: 85.97 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006425/0.7445, allocations: 5.512 MB / 0.5268 GB, free: 82.1 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001854/0.7464, allocations: 1.271 MB / 0.528 GB, free: 81.24 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001467/0.7466, allocations: 104.1 kB / 0.5281 GB, free: 81.14 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001107/0.7477, allocations: 0.8942 MB / 0.529 GB, free: 80.59 MB / 378.7 MB Notification: Performance of pre-optimization done (n=133): time 3.407e-06/0.7477, allocations: 0 / 0.529 GB, free: 80.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=133): time 0.00278/0.7505, allocations: 1.732 MB / 0.5307 GB, free: 79.48 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000186/0.7507, allocations: 0.6072 MB / 0.5313 GB, free: 78.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00132/0.7521, allocations: 0.8524 MB / 0.5321 GB, free: 78 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002307/0.7523, allocations: 109.5 kB / 0.5322 GB, free: 77.89 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003985/0.7527, allocations: 0.5182 MB / 0.5327 GB, free: 77.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002765/0.753, allocations: 329.7 kB / 0.533 GB, free: 77.16 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.266e-05/0.7531, allocations: 40 kB / 0.5331 GB, free: 77.12 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.7532, allocations: 427.8 kB / 0.5335 GB, free: 76.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007184/0.754, allocations: 469.3 kB / 0.5339 GB, free: 76.33 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009041/0.7549, allocations: 0.9109 MB / 0.5348 GB, free: 75.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008184/0.7557, allocations: 0.5809 MB / 0.5354 GB, free: 74.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.225e-06/0.7557, allocations: 4 kB / 0.5354 GB, free: 74.74 MB / 378.7 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.002433/0.7582, allocations: 1.571 MB / 0.5369 GB, free: 73.27 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.165e-05/0.7583, allocations: 100.8 kB / 0.537 GB, free: 73.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.019e-05/0.7583, allocations: 12 kB / 0.537 GB, free: 73.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.81e-05/0.7583, allocations: 24 kB / 0.5371 GB, free: 73.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005586/0.7589, allocations: 189.2 kB / 0.5372 GB, free: 72.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.534e-05/0.7589, allocations: 35.62 kB / 0.5373 GB, free: 72.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008004/0.7597, allocations: 107.5 kB / 0.5374 GB, free: 72.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001254/0.7599, allocations: 83.17 kB / 0.5374 GB, free: 72.76 MB / 378.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001021/0.7609, allocations: 0.6302 MB / 0.5381 GB, free: 72.13 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002871/0.7612, allocations: 106.8 kB / 0.5382 GB, free: 72.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001881/0.7631, allocations: 1.227 MB / 0.5394 GB, free: 70.91 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.7631, allocations: 16 kB / 0.5394 GB, free: 70.9 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/0.7631, allocations: 4 kB / 0.5394 GB, free: 70.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.7631, allocations: 7.234 kB / 0.5394 GB, free: 70.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003921/0.7671, allocations: 2.803 MB / 0.5421 GB, free: 68.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/0.7671, allocations: 8 kB / 0.5421 GB, free: 68.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003521/0.7675, allocations: 87.28 kB / 0.5422 GB, free: 68.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.059e-05/0.7675, allocations: 8 kB / 0.5422 GB, free: 68.45 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.922e-05/0.7676, allocations: 39.97 kB / 0.5423 GB, free: 68.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.137e-06/0.7676, allocations: 12.05 kB / 0.5423 GB, free: 68.4 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.7676, allocations: 4 kB / 0.5423 GB, free: 68.4 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00254/0.7702, allocations: 2.025 MB / 0.5443 GB, free: 66.27 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005572/0.7707, allocations: 331.5 kB / 0.5446 GB, free: 65.92 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001927/0.7709, allocations: 59.97 kB / 0.5446 GB, free: 65.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004076/0.7714, allocations: 56.03 kB / 0.5447 GB, free: 65.81 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003297/0.7717, allocations: 168.7 kB / 0.5448 GB, free: 65.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001052/0.7718, allocations: 55.97 kB / 0.5449 GB, free: 65.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007977/0.7726, allocations: 0.5732 MB / 0.5455 GB, free: 65.02 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7726, allocations: 0 / 0.5455 GB, free: 65.02 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001626/0.7743, allocations: 311.8 kB / 0.5458 GB, free: 64.71 MB / 378.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) * Number of clocked states: 0 () * 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.001284/0.7756, allocations: 0.5745 MB / 0.5463 GB, free: 64.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002344/0.7779, allocations: 1.501 MB / 0.5478 GB, free: 62.79 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/0.778, allocations: 0 / 0.5478 GB, free: 62.79 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009947/0.779, allocations: 0.8787 MB / 0.5486 GB, free: 61.87 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/0.78, allocations: 189.6 kB / 0.5488 GB, free: 61.69 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004084/0.7841, allocations: 2.616 MB / 0.5514 GB, free: 59.03 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006924/0.7849, allocations: 1.193 MB / 0.5525 GB, free: 57.8 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0009581/0.7858, allocations: 210.7 kB / 0.5527 GB, free: 57.61 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003136/0.7862, allocations: 115.4 kB / 0.5529 GB, free: 57.49 MB / 378.7 MB Notification: Performance of SimCode: time 1.302e-06/0.7862, allocations: 0 / 0.5529 GB, free: 57.49 MB / 378.7 MB Notification: Performance of Templates: time 0.02432/0.8105, allocations: 14.46 MB / 0.567 GB, free: 43.12 MB / 378.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