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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 185.2 kB / 8.135 MB, free: 2.191 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.176/1.176, allocations: 221.4 MB / 229.9 MB, free: 3.051 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.000908/0.0009081, allocations: 105.1 kB / 280.8 MB, free: 1.203 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.384e-06/7.404e-06, allocations: 0 / 336.5 MB, free: 9.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2233, allocations: 50.39 MB / 386.9 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09129/0.3146, allocations: 83.65 MB / 470.5 MB, free: 3.117 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001936/0.3149, allocations: 71.97 kB / 470.6 MB, free: 3.047 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.2419/0.5568, allocations: 41.11 MB / 0.4997 GB, free: 90.26 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.308e-05/0.5569, allocations: 34.59 kB / 0.4998 GB, free: 90.26 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.002622/0.5595, allocations: 1.498 MB / 0.5012 GB, free: 89.32 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.5596, allocations: 10.91 kB / 0.5012 GB, free: 89.32 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004337/0.56, allocations: 164.2 kB / 0.5014 GB, free: 89.24 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002369/0.5624, allocations: 0.9086 MB / 0.5023 GB, free: 88.96 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001949/0.5626, allocations: 149.1 kB / 0.5024 GB, free: 88.86 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002688/0.5629, allocations: 90.14 kB / 0.5025 GB, free: 88.86 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002707/0.5656, allocations: 0.8739 MB / 0.5034 GB, free: 88.86 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003177/0.5688, allocations: 1.283 MB / 0.5046 GB, free: 88.53 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.65e-05/0.5689, allocations: 3 kB / 0.5046 GB, free: 88.53 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001652/0.5691, allocations: 17.06 kB / 0.5046 GB, free: 88.53 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.718e-05/0.5692, allocations: 50.25 kB / 0.5047 GB, free: 88.53 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008085/0.5773, allocations: 5.273 MB / 0.5098 GB, free: 85.99 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001679/0.579, allocations: 1.123 MB / 0.5109 GB, free: 85.47 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000859/0.5799, allocations: 0.4917 MB / 0.5114 GB, free: 85.38 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000147/0.58, allocations: 102.5 kB / 0.5115 GB, free: 85.29 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001276/0.5813, allocations: 0.8042 MB / 0.5123 GB, free: 84.96 MB / 378.7 MB Notification: Performance of pre-optimization done (n=133): time 4.829e-06/0.5814, allocations: 0 / 0.5123 GB, free: 84.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=133): time 0.001541/0.5829, allocations: 0.8631 MB / 0.5131 GB, free: 84.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001161/0.583, allocations: 0.5969 MB / 0.5137 GB, free: 84.16 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008517/0.5839, allocations: 0.819 MB / 0.5145 GB, free: 83.99 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001521/0.5841, allocations: 84.27 kB / 0.5146 GB, free: 83.96 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002101/0.5843, allocations: 404.9 kB / 0.515 GB, free: 83.74 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002219/0.5845, allocations: 318.7 kB / 0.5153 GB, free: 83.58 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.43e-05/0.5846, allocations: 0 / 0.5153 GB, free: 83.58 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.5847, allocations: 436.1 kB / 0.5157 GB, free: 83.22 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005949/0.5853, allocations: 413.5 kB / 0.5161 GB, free: 83.05 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007389/0.586, allocations: 0.8503 MB / 0.5169 GB, free: 82.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006367/0.5867, allocations: 465.9 kB / 0.5174 GB, free: 82.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.5867, allocations: 7.875 kB / 0.5174 GB, free: 82.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.00165/0.5884, allocations: 1.287 MB / 0.5186 GB, free: 81.67 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.5884, allocations: 3.875 kB / 0.5186 GB, free: 81.67 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/0.5884, allocations: 11.81 kB / 0.5187 GB, free: 81.67 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.002e-05/0.5884, allocations: 22.03 kB / 0.5187 GB, free: 81.67 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005965/0.589, allocations: 195.2 kB / 0.5189 GB, free: 81.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.756e-05/0.5891, allocations: 26.8 kB / 0.5189 GB, free: 81.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000566/0.5896, allocations: 79.8 kB / 0.519 GB, free: 81.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001265/0.5898, allocations: 72.47 kB / 0.519 GB, free: 81.57 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 () * 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.0003278/0.5901, allocations: 381.7 kB / 0.5194 GB, free: 81.29 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001583/0.5903, allocations: 106.8 kB / 0.5195 GB, free: 81.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001618/0.5919, allocations: 0.9616 MB / 0.5204 GB, free: 80.86 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.311e-05/0.5919, allocations: 13.84 kB / 0.5204 GB, free: 80.86 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.5919, allocations: 2.969 kB / 0.5204 GB, free: 80.86 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.429e-05/0.592, allocations: 6.453 kB / 0.5205 GB, free: 80.86 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00369/0.5957, allocations: 2.403 MB / 0.5228 GB, free: 79.78 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.5957, allocations: 1.094 kB / 0.5228 GB, free: 79.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000372/0.5961, allocations: 84.92 kB / 0.5229 GB, free: 79.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.101e-05/0.5961, allocations: 5.594 kB / 0.5229 GB, free: 79.76 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.598e-05/0.5962, allocations: 31.41 kB / 0.5229 GB, free: 79.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.345e-06/0.5962, allocations: 4.906 kB / 0.5229 GB, free: 79.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.5962, allocations: 5.312 kB / 0.5229 GB, free: 79.75 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002109/0.5983, allocations: 1.737 MB / 0.5246 GB, free: 78.3 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004343/0.5988, allocations: 338 kB / 0.5249 GB, free: 78 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002156/0.599, allocations: 42.56 kB / 0.525 GB, free: 77.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004313/0.5994, allocations: 42.23 kB / 0.525 GB, free: 77.93 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002799/0.5997, allocations: 153.5 kB / 0.5252 GB, free: 77.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.969e-05/0.5998, allocations: 58.08 kB / 0.5252 GB, free: 77.79 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0005688/0.6004, allocations: 0.5404 MB / 0.5258 GB, free: 77.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001038/0.6014, allocations: 259 kB / 0.526 GB, free: 77.05 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) * 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.0008167/0.6023, allocations: 473.9 kB / 0.5265 GB, free: 76.72 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001489/0.6038, allocations: 1.243 MB / 0.5277 GB, free: 75.51 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.6038, allocations: 0 / 0.5277 GB, free: 75.51 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007811/0.6046, allocations: 0.7517 MB / 0.5284 GB, free: 74.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008107/0.6054, allocations: 168.5 kB / 0.5286 GB, free: 74.63 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003163/0.6085, allocations: 1.766 MB / 0.5303 GB, free: 72.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000873/0.6094, allocations: 1.315 MB / 0.5316 GB, free: 71.82 MB / 378.7 MB Notification: Performance of SimCode: time 4.81e-07/0.6095, allocations: 0 / 0.5316 GB, free: 71.82 MB / 378.7 MB Notification: Performance of Templates: time 0.02284/0.6323, allocations: 15.24 MB / 0.5465 GB, free: 59.85 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