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.001192/0.001192, allocations: 176.3 kB / 17.4 MB, free: 4.418 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.559/1.559, allocations: 223.3 MB / 241.4 MB, free: 9.957 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.0009287/0.0009287, allocations: 108.3 kB / 292.6 MB, free: 10.55 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003441/0.0003443, allocations: 8 kB / 352.3 MB, free: 14.81 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3362, allocations: 50.41 MB / 402.7 MB, free: 32.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1513/0.4876, allocations: 84.53 MB / 487.3 MB, free: 11.75 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002952/0.4879, allocations: 71.97 kB / 487.3 MB, free: 11.68 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3506/0.8386, allocations: 42.23 MB / 0.5172 GB, free: 88.06 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.248e-06/0.8386, allocations: 4 kB / 0.5172 GB, free: 88.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001901/0.8388, allocations: 45.39 kB / 0.5172 GB, free: 88.05 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.005244/0.8441, allocations: 1.612 MB / 0.5188 GB, free: 86.97 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.847e-05/0.8442, allocations: 11.69 kB / 0.5188 GB, free: 86.97 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001014/0.8452, allocations: 161.3 kB / 0.5189 GB, free: 86.89 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002697/0.8479, allocations: 0.9304 MB / 0.5199 GB, free: 86.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002703/0.8482, allocations: 203.3 kB / 0.5201 GB, free: 86.47 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005552/0.8488, allocations: 146.2 kB / 0.5202 GB, free: 86.47 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0044/0.8532, allocations: 1.481 MB / 0.5216 GB, free: 86.12 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.334e-05/0.8533, allocations: 11.78 kB / 0.5216 GB, free: 86.11 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002901/0.8536, allocations: 59.2 kB / 0.5217 GB, free: 86.11 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-05/0.8537, allocations: 51.12 kB / 0.5218 GB, free: 86.1 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002441/0.8562, allocations: 0.989 MB / 0.5227 GB, free: 85.91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007307/0.8635, allocations: 5.52 MB / 0.5281 GB, free: 82.04 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001903/0.8654, allocations: 1.269 MB / 0.5293 GB, free: 81.17 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008007/0.8663, allocations: 0.5291 MB / 0.5299 GB, free: 80.9 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001392/0.8664, allocations: 94.8 kB / 0.53 GB, free: 80.8 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001201/0.8676, allocations: 0.9104 MB / 0.5308 GB, free: 80.24 MB / 378.7 MB Notification: Performance of pre-optimization done (n=133): time 4.679e-06/0.8677, allocations: 3.688 kB / 0.5308 GB, free: 80.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=133): time 0.002642/0.8703, allocations: 1.486 MB / 0.5323 GB, free: 79.04 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001619/0.8705, allocations: 0.6105 MB / 0.5329 GB, free: 78.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001522/0.872, allocations: 0.9361 MB / 0.5338 GB, free: 77.49 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002309/0.8723, allocations: 113.1 kB / 0.5339 GB, free: 77.38 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004762/0.8728, allocations: 0.5204 MB / 0.5344 GB, free: 76.92 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003454/0.8731, allocations: 327.4 kB / 0.5347 GB, free: 76.65 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.666e-05/0.8732, allocations: 36 kB / 0.5348 GB, free: 76.61 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.8734, allocations: 421.9 kB / 0.5352 GB, free: 76.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008628/0.8743, allocations: 475.8 kB / 0.5356 GB, free: 75.82 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/0.8753, allocations: 0.9139 MB / 0.5365 GB, free: 74.81 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00159/0.8769, allocations: 1.368 MB / 0.5379 GB, free: 73.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.34e-05/0.8769, allocations: 7.938 kB / 0.5379 GB, free: 73.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.002623/0.8796, allocations: 1.566 MB / 0.5394 GB, free: 71.81 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.524e-05/0.8797, allocations: 105.7 kB / 0.5395 GB, free: 71.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.453e-05/0.8797, allocations: 12.88 kB / 0.5395 GB, free: 71.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.503e-05/0.8798, allocations: 22.77 kB / 0.5395 GB, free: 71.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006085/0.8804, allocations: 190.4 kB / 0.5397 GB, free: 71.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.619e-05/0.8804, allocations: 26.66 kB / 0.5397 GB, free: 71.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001046/0.8815, allocations: 105.8 kB / 0.5398 GB, free: 71.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001678/0.8817, allocations: 79.22 kB / 0.5399 GB, free: 71.31 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.001128/0.8828, allocations: 0.6308 MB / 0.5405 GB, free: 70.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000368/0.8832, allocations: 122.7 kB / 0.5406 GB, free: 70.57 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002087/0.8853, allocations: 1.223 MB / 0.5418 GB, free: 69.47 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/0.8853, allocations: 16 kB / 0.5419 GB, free: 69.45 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.8853, allocations: 5.531 kB / 0.5419 GB, free: 69.45 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.348e-05/0.8853, allocations: 7.188 kB / 0.5419 GB, free: 69.45 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00453/0.8899, allocations: 2.815 MB / 0.5446 GB, free: 66.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.8899, allocations: 4 kB / 0.5446 GB, free: 66.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003244/0.8902, allocations: 75.83 kB / 0.5447 GB, free: 66.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.228e-05/0.8903, allocations: 8 kB / 0.5447 GB, free: 66.71 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.523e-05/0.8904, allocations: 43.95 kB / 0.5447 GB, free: 66.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.088e-05/0.8904, allocations: 11.94 kB / 0.5448 GB, free: 66.66 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.8904, allocations: 3.938 kB / 0.5448 GB, free: 66.66 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002766/0.8932, allocations: 1.945 MB / 0.5467 GB, free: 64.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005549/0.8937, allocations: 319.6 kB / 0.547 GB, free: 64.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002922/0.894, allocations: 59.97 kB / 0.547 GB, free: 64.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005247/0.8946, allocations: 51.97 kB / 0.5471 GB, free: 64.21 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003253/0.8949, allocations: 168.8 kB / 0.5472 GB, free: 64.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001048/0.895, allocations: 51.97 kB / 0.5473 GB, free: 64 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000916/0.8959, allocations: 0.5771 MB / 0.5478 GB, free: 63.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.8959, allocations: 0 / 0.5478 GB, free: 63.43 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001506/0.8975, allocations: 311.8 kB / 0.5481 GB, free: 63.12 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.001331/0.8988, allocations: 0.5817 MB / 0.5487 GB, free: 62.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002564/0.9014, allocations: 1.497 MB / 0.5502 GB, free: 61.19 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/0.9014, allocations: 4.938 kB / 0.5502 GB, free: 61.19 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001114/0.9025, allocations: 0.8671 MB / 0.551 GB, free: 60.29 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001622/0.9042, allocations: 215 kB / 0.5512 GB, free: 60.08 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004272/0.9085, allocations: 2.644 MB / 0.5538 GB, free: 57.39 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008709/0.9094, allocations: 1.162 MB / 0.5549 GB, free: 56.19 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001018/0.9104, allocations: 213.7 kB / 0.5551 GB, free: 55.99 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004493/0.9109, allocations: 115.4 kB / 0.5553 GB, free: 55.88 MB / 378.7 MB Notification: Performance of SimCode: time 1.112e-06/0.9109, allocations: 4 kB / 0.5553 GB, free: 55.87 MB / 378.7 MB Notification: Performance of Templates: time 0.02746/0.9384, allocations: 14.58 MB / 0.5695 GB, free: 41.37 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/jenkins1/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