Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002163/0.002163, allocations: 105.1 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002714/0.002714, allocations: 213.7 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.546/1.546, allocations: 230.3 MB / 258 MB, free: 8.27 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.StateGraph.Examples.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5035,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_trunk_Modelica.StateGraph.Examples.ControlledTanks") translateModel(Modelica.StateGraph.Examples.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5035,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_trunk_Modelica.StateGraph.Examples.ControlledTanks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 59.89 kB / 378.7 MB, free: 2.844 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3853/0.3873, allocations: 53.36 MB / 432.1 MB, free: 7.129 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.006867/0.3942, allocations: 3.937 MB / 436 MB, free: 3.176 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005885/0.4001, allocations: 2.751 MB / 438.8 MB, free: 428 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009341/0.401, allocations: 39.75 kB / 438.8 MB, free: 388 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001707/0.4027, allocations: 0.579 MB / 439.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001444/0.4041, allocations: 0.4977 MB / 439.9 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00273/0.4069, allocations: 1.025 MB / 440.9 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003347/0.4102, allocations: 2.22 MB / 443.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001701/0.4119, allocations: 1.007 MB / 444.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009699/0.4129, allocations: 0.7515 MB / 444.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009817/0.4139, allocations: 0.7663 MB / 445.7 MB, free: 9.496 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002997/0.4142, allocations: 200 kB / 445.9 MB, free: 9.301 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006061/0.4148, allocations: 311.8 kB / 446.2 MB, free: 8.996 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005341/0.4153, allocations: 0.4908 MB / 446.7 MB, free: 8.504 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000848/0.4162, allocations: 0.7853 MB / 447.4 MB, free: 7.715 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003073/0.4192, allocations: 2.391 MB / 449.8 MB, free: 5.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.4192, allocations: 7.938 kB / 449.8 MB, free: 5.312 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.4192, allocations: 0 / 449.8 MB, free: 5.312 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.265e-05/0.4193, allocations: 0 / 449.8 MB, free: 5.312 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 319 * Number of variables: 319 Notification: Performance of Generate backend data structure: time 0.003713/0.423, allocations: 1.891 MB / 451.7 MB, free: 3.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.423, allocations: 8.031 kB / 451.7 MB, free: 3.312 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009848/0.424, allocations: 223.8 kB / 452 MB, free: 3.094 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001459/0.4255, allocations: 0.8387 MB / 452.8 MB, free: 2.223 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002275/0.4257, allocations: 212.5 kB / 453 MB, free: 1.992 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002272/0.4259, allocations: 148.4 kB / 453.2 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00263/0.4286, allocations: 1.472 MB / 454.6 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/0.4286, allocations: 0 / 454.6 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001142/0.4287, allocations: 52 kB / 454.7 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.438e-05/0.4288, allocations: 50.17 kB / 454.7 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001909/0.4307, allocations: 0.9726 MB / 455.7 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008034/0.4387, allocations: 5.757 MB / 461.5 MB, free: 9.25 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001816/0.4405, allocations: 0.9276 MB / 462.4 MB, free: 8.242 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008267/0.4414, allocations: 466.5 kB / 462.8 MB, free: 7.762 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.457e-05/0.4414, allocations: 24.92 kB / 462.9 MB, free: 7.734 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001543/0.443, allocations: 0.8934 MB / 463.8 MB, free: 6.766 MB / 366.1 MB Notification: Performance of pre-optimization done (n=131): time 3.667e-06/0.443, allocations: 0 / 463.8 MB, free: 6.766 MB / 366.1 MB Notification: Performance of matching and sorting (n=131): time 0.002936/0.4459, allocations: 1.466 MB / 465.2 MB, free: 5.273 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004164/0.4463, allocations: 0.6039 MB / 465.8 MB, free: 4.535 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001456/0.4478, allocations: 0.9688 MB / 466.8 MB, free: 3.555 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002078/0.448, allocations: 105.7 kB / 466.9 MB, free: 3.445 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005354/0.4485, allocations: 0.5412 MB / 467.4 MB, free: 2.895 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003745/0.4489, allocations: 345.7 kB / 467.8 MB, free: 2.555 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005373/0.4494, allocations: 371.5 kB / 468.1 MB, free: 2.184 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.4496, allocations: 301.1 kB / 468.4 MB, free: 1.887 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008884/0.4505, allocations: 475.7 kB / 468.9 MB, free: 1.422 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001312/0.4518, allocations: 0.9153 MB / 469.8 MB, free: 344 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002092/0.4539, allocations: 1.366 MB / 471.2 MB, free: 14.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.125e-05/0.4539, allocations: 4 kB / 471.2 MB, free: 14.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=224) (initialization): time 0.002807/0.4567, allocations: 1.568 MB / 472.8 MB, free: 13.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001025/0.4568, allocations: 107.6 kB / 472.9 MB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.124e-05/0.4568, allocations: 12 kB / 472.9 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.58e-05/0.4569, allocations: 20 kB / 472.9 MB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006449/0.4575, allocations: 187.5 kB / 473.1 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.034e-05/0.4576, allocations: 23.94 kB / 473.1 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006757/0.4582, allocations: 155 kB / 473.2 MB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/0.4583, allocations: 64 kB / 473.3 MB, free: 12.6 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 178 ($PRE.tankController.makeProduct.T1.enableFire,$PRE.tankController.makeProduct.T3.enableFire,$PRE.tankController.makeProduct.T2.enableFire,$PRE.tankController.makeProduct.T4.enableFire,$PRE.tankController.T1.enableFire,$PRE.tankController.T2.enableFire,$PRE.tankController.T3.enableFire,$PRE.tankController.T4.enableFire,$PRE.tankController.T5.enableFire,$PRE.tankController.T6.enableFire,$PRE.start.pre_reset[1],$PRE.start.pre_reset[2],$PRE.stop.pre_reset[1],$PRE.stop.pre_reset[2],$PRE.shut.pre_reset[1],$PRE.shut.pre_reset[2],$PRE.start.table.combiTimeTable.nextTimeEvent,$whenCondition12,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition11,$PRE.shut.table.combiTimeTable.nextTimeEvent,$whenCondition10,stateGraphRoot.activeSteps,valve3.valveControl,valve2.valveControl,shut.on,$PRE.shut.on,shut.reset[2],shut.reset[1],stop.on,$PRE.stop.on,stop.reset[2],stop.reset[1],start.on,$PRE.start.on,start.reset[2],start.reset[1],tankController.T6.enableFire,tankController.T6.localCondition,tankController.emptyTanks.oldActive,$PRE.tankController.emptyTanks.oldActive,tankController.emptyTanks.newActive,$PRE.tankController.emptyTanks.newActive,tankController.emptyTanks.localActive,$PRE.tankController.emptyTanks.localActive,tankController.emptyTanks.active,tankController.T5.enableFire,tankController.T4.enableFire,tankController.s2.oldActive,$PRE.tankController.s2.oldActive,tankController.s2.newActive,$PRE.tankController.s2.newActive,tankController.s2.outPort[2].available,tankController.s2.localActive,$PRE.tankController.s2.localActive,tankController.s2.active,tankController.T3.enableFire,tankController.T2.enableFire,tankController.T2.localCondition,tankController.T1.enableFire,tankController.makeProduct.T4.t_start,$PRE.tankController.makeProduct.T4.t_start,tankController.makeProduct.T4.fire,tankController.makeProduct.T4.enableFire,tankController.makeProduct.wait2.oldActive,$PRE.tankController.makeProduct.wait2.oldActive,tankController.makeProduct.wait2.newActive,$PRE.tankController.makeProduct.wait2.newActive,tankController.makeProduct.wait2.localActive,$PRE.tankController.makeProduct.wait2.localActive,tankController.makeProduct.wait2.active,tankController.makeProduct.T2.t_start,$PRE.tankController.makeProduct.T2.t_start,tankController.makeProduct.T2.fire,tankController.makeProduct.T2.enableFire,tankController.makeProduct.wait1.oldActive,$PRE.tankController.makeProduct.wait1.oldActive,tankController.makeProduct.wait1.newActive,$PRE.tankController.makeProduct.wait1.newActive,tankController.makeProduct.wait1.localActive,$PRE.tankController.makeProduct.wait1.localActive,tankController.makeProduct.wait1.active,tankController.makeProduct.emptyTank2.oldActive,$PRE.tankController.makeProduct.emptyTank2.oldActive,tankController.makeProduct.emptyTank2.newActive,$PRE.tankController.makeProduct.emptyTank2.newActive,tankController.makeProduct.emptyTank2.localActive,$PRE.tankController.makeProduct.emptyTank2.localActive,tankController.makeProduct.emptyTank2.active,tankController.makeProduct.T3.enableFire,tankController.makeProduct.T3.localCondition,tankController.makeProduct.fillTank2.oldActive,$PRE.tankController.makeProduct.fillTank2.oldActive,tankController.makeProduct.fillTank2.newActive,$PRE.tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.fillTank2.localActive,$PRE.tankController.makeProduct.fillTank2.localActive,tankController.makeProduct.fillTank2.active,tankController.makeProduct.T1.enableFire,tankController.makeProduct.T1.localCondition,tankController.makeProduct.fillTank1.oldActive,$PRE.tankController.makeProduct.fillTank1.oldActive,tankController.makeProduct.fillTank1.newActive,$PRE.tankController.makeProduct.fillTank1.newActive,tankController.makeProduct.fillTank1.localActive,$PRE.tankController.makeProduct.fillTank1.localActive,tankController.makeProduct.fillTank1.active,tankController.makeProduct.activeSteps,tankController.makeProduct.newActive,$PRE.tankController.makeProduct.newActive,tankController.makeProduct.active,tankController.s1.oldActive,$PRE.tankController.s1.oldActive,tankController.s1.newActive,$PRE.tankController.s1.newActive,tankController.s1.inPort[2].occupied,tankController.s1.localActive,$PRE.tankController.s1.localActive,tankController.s1.active,$whenCondition13,$whenCondition14,$whenCondition15,shut.pre_reset[2],shut.pre_reset[1],shut.table.combiTimeTable.nextTimeEventScaled,$PRE.shut.table.combiTimeTable.nextTimeEventScaled,shut.table.combiTimeTable.nextTimeEvent,shut.table.y,$PRE.shut.table.y,$PRE.shut.reset[2],$PRE.shut.reset[1],$whenCondition9,$whenCondition7,$whenCondition8,stop.pre_reset[2],stop.pre_reset[1],stop.table.combiTimeTable.nextTimeEventScaled,$PRE.stop.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEvent,stop.table.y,$PRE.stop.table.y,$PRE.stop.reset[2],$PRE.stop.reset[1],$whenCondition6,$whenCondition4,$whenCondition5,start.pre_reset[2],start.pre_reset[1],start.table.combiTimeTable.nextTimeEventScaled,$PRE.start.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEvent,start.table.y,$PRE.start.table.y,$PRE.start.reset[2],$PRE.start.reset[1],$whenCondition3,$whenCondition1,$whenCondition2,tankController.makeProduct.T1.t_start,$PRE.tankController.makeProduct.T1.t_start,tankController.makeProduct.T3.t_start,$PRE.tankController.makeProduct.T3.t_start,tankController.T1.t_start,$PRE.tankController.T1.t_start,tankController.T2.t_start,$PRE.tankController.T2.t_start,tankController.T3.t_start,$PRE.tankController.T3.t_start,tankController.T4.t_start,$PRE.tankController.T4.t_start,tankController.T5.t_start,$PRE.tankController.T5.t_start,tankController.T6.t_start,$PRE.tankController.T6.t_start,stateGraphRoot.resume,stateGraphRoot.suspend,tankController.makeProduct.T4.condition,tankController.makeProduct.T2.condition) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (212): * Single equations (assignments): 209 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001106/0.4594, allocations: 0.638 MB / 473.9 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000247/0.4597, allocations: 123.2 kB / 474.1 MB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002084/0.4618, allocations: 1.138 MB / 475.2 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.755e-05/0.4618, allocations: 16 kB / 475.2 MB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.156e-06/0.4618, allocations: 0 / 475.2 MB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.425e-05/0.4618, allocations: 11.97 kB / 475.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004402/0.4662, allocations: 2.595 MB / 477.8 MB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.348e-06/0.4662, allocations: 7.984 kB / 477.8 MB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003482/0.4666, allocations: 75.78 kB / 477.9 MB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.227e-05/0.4666, allocations: 4 kB / 477.9 MB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.538e-05/0.4667, allocations: 43.91 kB / 478 MB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.04e-05/0.4667, allocations: 8 kB / 478 MB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.4667, allocations: 4 kB / 478 MB, free: 7.809 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003027/0.4697, allocations: 1.869 MB / 479.8 MB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004377/0.4701, allocations: 215.1 kB / 480 MB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001988/0.4703, allocations: 59.92 kB / 480.1 MB, free: 5.609 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003944/0.4707, allocations: 47.95 kB / 480.2 MB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003056/0.471, allocations: 144.8 kB / 480.3 MB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.99e-05/0.4711, allocations: 47.98 kB / 480.3 MB, free: 5.371 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008252/0.472, allocations: 0.6006 MB / 480.9 MB, free: 4.773 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.472, allocations: 4 kB / 480.9 MB, free: 4.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001205/0.4732, allocations: 343.2 kB / 481.3 MB, free: 4.434 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (tank1.level,tank2.level) * Number of discrete variables: 105 (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.T3.enableFire,tankController.s1.localActive,tankController.makeProduct.fillTank1.active,tankController.makeProduct.fillTank2.localActive,tankController.makeProduct.T2.enableFire,tankController.makeProduct.emptyTank2.localActive,tankController.makeProduct.T4.enableFire,tankController.makeProduct.wait1.localActive,tankController.makeProduct.wait2.localActive,tankController.s2.localActive,tankController.emptyTanks.localActive,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition9,tankController.s1.active,tankController.s1.inPort[2].occupied,tankController.s1.newActive,tankController.s1.oldActive,tankController.makeProduct.active,tankController.makeProduct.newActive,tankController.makeProduct.activeSteps,tankController.makeProduct.fillTank1.localActive,tankController.makeProduct.fillTank1.newActive,tankController.makeProduct.fillTank1.oldActive,tankController.makeProduct.T1.localCondition,tankController.makeProduct.T1.enableFire,tankController.makeProduct.fillTank2.active,tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.fillTank2.oldActive,tankController.makeProduct.T3.localCondition,tankController.makeProduct.T3.enableFire,tankController.makeProduct.emptyTank2.active,tankController.makeProduct.emptyTank2.newActive,tankController.makeProduct.emptyTank2.oldActive,tankController.makeProduct.wait1.active,tankController.makeProduct.wait1.newActive,tankController.makeProduct.wait1.oldActive,tankController.makeProduct.T2.fire,tankController.makeProduct.T2.t_start,tankController.makeProduct.wait2.active,tankController.makeProduct.wait2.newActive,tankController.makeProduct.wait2.oldActive,tankController.makeProduct.T4.fire,tankController.makeProduct.T4.t_start,tankController.T1.enableFire,tankController.T2.localCondition,tankController.T2.enableFire,tankController.s2.active,tankController.s2.outPort[2].available,tankController.s2.newActive,tankController.s2.oldActive,tankController.T4.enableFire,tankController.T5.enableFire,tankController.emptyTanks.active,tankController.emptyTanks.newActive,tankController.emptyTanks.oldActive,tankController.T6.localCondition,tankController.T6.enableFire,start.reset[1],start.reset[2],start.on,start.table.y,start.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEventScaled,start.pre_reset[1],start.pre_reset[2],stop.reset[1],stop.reset[2],stop.on,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEventScaled,stop.pre_reset[1],stop.pre_reset[2],shut.reset[1],shut.reset[2],shut.on,shut.table.y,shut.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEventScaled,shut.pre_reset[1],shut.pre_reset[2],valve2.valveControl,valve3.valveControl,stateGraphRoot.activeSteps) * Number of discrete states: 50 (start.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEventScaled,tankController.emptyTanks.newActive,tankController.s2.newActive,tankController.makeProduct.newActive,tankController.makeProduct.wait2.newActive,tankController.makeProduct.wait1.newActive,tankController.makeProduct.emptyTank2.newActive,tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.fillTank1.newActive,tankController.s1.newActive,$whenCondition9,shut.on,$whenCondition8,$whenCondition7,shut.pre_reset[2],shut.pre_reset[1],shut.reset[1],shut.reset[2],shut.table.y,$whenCondition6,stop.on,$whenCondition5,$whenCondition4,stop.pre_reset[2],stop.pre_reset[1],stop.reset[1],stop.reset[2],stop.table.y,$whenCondition3,start.on,$whenCondition2,$whenCondition1,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 (116): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 24 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001803/0.475, allocations: 0.546 MB / 481.8 MB, free: 4.012 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002392/0.4774, allocations: 1.338 MB / 483.2 MB, free: 2.637 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.451e-06/0.4774, allocations: 4 kB / 483.2 MB, free: 2.633 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001057/0.4784, allocations: 0.7028 MB / 483.9 MB, free: 1.895 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.4795, allocations: 232.9 kB / 484.1 MB, free: 1.676 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004061/0.4835, allocations: 2.299 MB / 486.4 MB, free: 15.32 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008859/0.4844, allocations: 1.166 MB / 487.6 MB, free: 14.12 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006506/0.4851, allocations: 197.6 kB / 487.8 MB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002898/0.4854, allocations: 103.4 kB / 487.9 MB, free: 13.82 MB / 398.1 MB Notification: Performance of SimCode: time 7.81e-07/0.4854, allocations: 0 / 487.9 MB, free: 13.82 MB / 398.1 MB Notification: Performance of Templates: time 0.03505/0.5204, allocations: 15.81 MB / 0.4919 GB, free: 14.06 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.pipe ; mkfifo Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.pipe ; head -c 1048576 < Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.pipe >> ../files/Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.sim & ./Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/StateGraph/Examples/ControlledTanks/ControlledTanks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.898291485384107]