Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.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.0008956/0.0008956, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 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.0009088/0.0009088, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 18.57 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 0.8879/0.8879, allocations: 177 MB / 205.2 MB, free: 5.051 MB / 186.7 MB " [Timeout remaining time 179] 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.Fluid.Examples.ControlledTankSystem.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5036,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|shut.on|shut.reset.[0-9,]+.|start.on|start.reset.[0-9,]+.|stop.on|stop.reset.[0-9,]+.|tankController.T1.enableFire|tankController.T2.enableFire|tankController.T3.enableFire|tankController.T4.enableFire|tankController.T5.enableFire|tankController.T6.enableFire|tankController.normal.T1.enableFire|tankController.normal.T2.enableFire|tankController.normal.T3.enableFire|tankController.normal.T4.enableFire",fileNamePrefix="Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") translateModel(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5036,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|shut.on|shut.reset.[0-9,]+.|start.on|start.reset.[0-9,]+.|stop.on|stop.reset.[0-9,]+.|tankController.T1.enableFire|tankController.T2.enableFire|tankController.T3.enableFire|tankController.T4.enableFire|tankController.T5.enableFire|tankController.T6.enableFire|tankController.normal.T1.enableFire|tankController.normal.T2.enableFire|tankController.normal.T3.enableFire|tankController.normal.T4.enableFire",fileNamePrefix="Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 273.4 MB, free: 1.047 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.319e-05/1.459e-05, allocations: 2.312 kB / 273.4 MB, free: 1.043 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.009393/0.009408, allocations: 11.9 MB / 285.3 MB, free: 5.09 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.113/0.1224, allocations: 5.441 MB / 290.8 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001602/0.124, allocations: 68.34 kB / 290.8 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001491/0.1255, allocations: 0.8266 MB / 291.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002272/0.1277, allocations: 1.514 MB / 293.2 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002872/0.1306, allocations: 2.004 MB / 295.2 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004507/0.1351, allocations: 5.081 MB / 300.2 MB, free: 13 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001895/0.137, allocations: 1.714 MB / 302 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002286/0.1393, allocations: 2.365 MB / 304.3 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001534/0.1408, allocations: 1.377 MB / 305.7 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003869/0.1412, allocations: 301.9 kB / 306 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008449/0.1421, allocations: 0.6583 MB / 306.7 MB, free: 10.64 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003892/0.1425, allocations: 0.877 MB / 307.5 MB, free: 10.04 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006072/0.1431, allocations: 0.9565 MB / 308.5 MB, free: 9.52 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001612/0.1447, allocations: 2.658 MB / 311.1 MB, free: 7.957 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.1447, allocations: 0 / 311.1 MB, free: 7.957 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1447, allocations: 2.625 kB / 311.1 MB, free: 7.957 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.118e-05/0.1447, allocations: 0 / 311.1 MB, free: 7.957 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 527 * Number of variables: 527 Notification: Performance of Generate backend data structure: time 0.00244/0.1471, allocations: 2.977 MB / 314.1 MB, free: 5.809 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.983e-05/0.1472, allocations: 13.95 kB / 314.1 MB, free: 5.805 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008079/0.148, allocations: 463 kB / 314.6 MB, free: 5.391 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.149, allocations: 1.114 MB / 315.7 MB, free: 4.305 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001304/0.1492, allocations: 409.4 kB / 316.1 MB, free: 3.855 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001702/0.1493, allocations: 234.7 kB / 316.3 MB, free: 3.629 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001364/0.1507, allocations: 2.305 MB / 318.6 MB, free: 1.145 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.377e-05/0.1507, allocations: 14.23 kB / 318.7 MB, free: 1.137 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001073/0.1508, allocations: 97.8 kB / 318.7 MB, free: 1.047 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.126e-05/0.1509, allocations: 99.69 kB / 318.8 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008351/0.1517, allocations: 0.8589 MB / 319.7 MB, free: 104 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006148/0.1579, allocations: 7.116 MB / 326.8 MB, free: 9.113 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009499/0.1588, allocations: 1.009 MB / 327.8 MB, free: 8.066 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004589/0.1593, allocations: 499.2 kB / 328.3 MB, free: 7.551 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003092/0.1624, allocations: 2.582 MB / 330.9 MB, free: 5.023 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001097/0.1635, allocations: 1.41 MB / 332.3 MB, free: 3.512 MB / 282.7 MB Notification: Performance of pre-optimization done (n=205): time 2.775e-06/0.1635, allocations: 0 / 332.3 MB, free: 3.512 MB / 282.7 MB Notification: Performance of matching and sorting (n=215): time 0.004351/0.1678, allocations: 3.415 MB / 335.7 MB, free: 36 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002076/0.168, allocations: 0.6905 MB / 336.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007534/0.1688, allocations: 1.152 MB / 337.6 MB, free: 14.24 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001354/0.1689, allocations: 129.7 kB / 337.7 MB, free: 14.11 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003341/0.1693, allocations: 0.7545 MB / 338.4 MB, free: 13.43 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003317/0.1696, allocations: 0.622 MB / 339.1 MB, free: 12.86 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005947/0.1702, allocations: 0.5445 MB / 339.6 MB, free: 12.41 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.995e-05/0.1703, allocations: 305.1 kB / 339.9 MB, free: 12.11 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004475/0.1707, allocations: 406.2 kB / 340.3 MB, free: 11.69 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007766/0.1715, allocations: 1.314 MB / 341.6 MB, free: 10.08 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001206/0.1727, allocations: 1.595 MB / 343.2 MB, free: 8.336 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/0.1727, allocations: 8 kB / 343.2 MB, free: 8.328 MB / 298.7 MB Notification: Performance of matching and sorting (n=350) (initialization): time 0.00171/0.1744, allocations: 1.677 MB / 344.9 MB, free: 6.719 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.551e-05/0.1745, allocations: 105.1 kB / 345 MB, free: 6.598 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/0.1745, allocations: 20 kB / 345 MB, free: 6.578 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004995/0.175, allocations: 368.1 kB / 345.4 MB, free: 6.211 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008775/0.1758, allocations: 446.8 kB / 345.8 MB, free: 5.785 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008769/0.1767, allocations: 1.758 MB / 347.6 MB, free: 3.961 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005562/0.1773, allocations: 115.8 kB / 347.7 MB, free: 3.848 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/0.1774, allocations: 95.97 kB / 347.8 MB, free: 3.754 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 83 * Number of states: 0 () * Number of discrete variables: 186 ($PRE.tankController.normal.T1.enableFire,$PRE.tankController.normal.T3.enableFire,$PRE.tankController.normal.T2.enableFire,$PRE.tankController.normal.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],tankController.T6.t_start,$PRE.tankController.T6.t_start,tankController.T5.t_start,$PRE.tankController.T5.t_start,tankController.T4.t_start,$PRE.tankController.T4.t_start,tankController.T3.t_start,$PRE.tankController.T3.t_start,tankController.T2.t_start,$PRE.tankController.T2.t_start,tankController.T1.t_start,$PRE.tankController.T1.t_start,tankController.normal.T3.t_start,$PRE.tankController.normal.T3.t_start,tankController.normal.T1.t_start,$PRE.tankController.normal.T1.t_start,$PRE.shut.table.combiTimeTable.nextTimeEvent,$whenCondition6,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition5,$PRE.start.table.combiTimeTable.nextTimeEvent,$whenCondition4,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],$whenCondition12,$whenCondition10,$whenCondition11,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],$whenCondition15,$whenCondition13,$whenCondition14,tank2.inFlow[2],tank2.inFlow[1],tank2.regularFlow[2],tank2.regularFlow[1],tank1.inFlow[2],tank1.inFlow[1],tank1.regularFlow[2],tank1.regularFlow[1],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.stateGraphRoot.activeSteps,tankController.valve3,tankController.valve2,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.normal.T4.t_start,$PRE.tankController.normal.T4.t_start,tankController.normal.T4.fire,tankController.normal.T4.enableFire,tankController.normal.wait2.oldActive,$PRE.tankController.normal.wait2.oldActive,tankController.normal.wait2.newActive,$PRE.tankController.normal.wait2.newActive,tankController.normal.wait2.localActive,$PRE.tankController.normal.wait2.localActive,tankController.normal.wait2.active,tankController.normal.T2.t_start,$PRE.tankController.normal.T2.t_start,tankController.normal.T2.fire,tankController.normal.T2.enableFire,tankController.normal.wait1.oldActive,$PRE.tankController.normal.wait1.oldActive,tankController.normal.wait1.newActive,$PRE.tankController.normal.wait1.newActive,tankController.normal.wait1.localActive,$PRE.tankController.normal.wait1.localActive,tankController.normal.wait1.active,tankController.normal.emptyTank2.oldActive,$PRE.tankController.normal.emptyTank2.oldActive,tankController.normal.emptyTank2.newActive,$PRE.tankController.normal.emptyTank2.newActive,tankController.normal.emptyTank2.localActive,$PRE.tankController.normal.emptyTank2.localActive,tankController.normal.emptyTank2.active,tankController.normal.T3.enableFire,tankController.normal.T3.localCondition,tankController.normal.fillTank2.oldActive,$PRE.tankController.normal.fillTank2.oldActive,tankController.normal.fillTank2.newActive,$PRE.tankController.normal.fillTank2.newActive,tankController.normal.fillTank2.localActive,$PRE.tankController.normal.fillTank2.localActive,tankController.normal.fillTank2.active,tankController.normal.T1.enableFire,tankController.normal.T1.localCondition,tankController.normal.fillTank1.oldActive,$PRE.tankController.normal.fillTank1.oldActive,tankController.normal.fillTank1.newActive,$PRE.tankController.normal.fillTank1.newActive,tankController.normal.fillTank1.localActive,$PRE.tankController.normal.fillTank1.localActive,tankController.normal.fillTank1.active,tankController.normal.activeSteps,tankController.normal.newActive,$PRE.tankController.normal.newActive,tankController.normal.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,$whenCondition1,$whenCondition2,$whenCondition3,tankController.normal.T2.condition,tankController.normal.T4.condition,tankController.stateGraphRoot.suspend,tankController.stateGraphRoot.resume) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (323): * Single equations (assignments): 317 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,3), (4,4), (2,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0004831/0.1779, allocations: 0.4955 MB / 348.3 MB, free: 3.219 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002147/0.1781, allocations: 203.8 kB / 348.5 MB, free: 3.02 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001875/0.18, allocations: 1.671 MB / 350.2 MB, free: 1.336 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.709e-05/0.18, allocations: 27.98 kB / 350.2 MB, free: 1.309 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.18, allocations: 4 kB / 350.2 MB, free: 1.305 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.476e-05/0.18, allocations: 11.95 kB / 350.2 MB, free: 1.293 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003189/0.1832, allocations: 2.635 MB / 352.8 MB, free: 14.78 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.1832, allocations: 7.938 kB / 352.8 MB, free: 14.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005732/0.1838, allocations: 269.2 kB / 353.1 MB, free: 14.51 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000466/0.1842, allocations: 342 kB / 353.4 MB, free: 14.17 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.697e-05/0.1843, allocations: 62.3 kB / 353.5 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008675/0.1852, allocations: 1.741 MB / 355.2 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1852, allocations: 64 / 355.2 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00199/0.1872, allocations: 2.078 MB / 357.3 MB, free: 10.15 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003976/0.1876, allocations: 266.6 kB / 357.6 MB, free: 9.891 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001862/0.1878, allocations: 79.97 kB / 357.7 MB, free: 9.812 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004263/0.1882, allocations: 83.95 kB / 357.7 MB, free: 9.73 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002676/0.1885, allocations: 201.5 kB / 357.9 MB, free: 9.531 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/0.1886, allocations: 67.94 kB / 358 MB, free: 9.465 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003426/0.1889, allocations: 498.5 kB / 358.5 MB, free: 9.031 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1889, allocations: 0 / 358.5 MB, free: 9.031 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009645/0.1899, allocations: 0.6207 MB / 359.1 MB, free: 8.41 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (tank1.level,tank1.medium.T,tank2.level,tank2.medium.T) * Number of discrete variables: 113 (tankController.T3.enableFire,tankController.emptyTanks.localActive,tankController.s2.localActive,tankController.normal.T4.enableFire,tankController.normal.wait2.localActive,tankController.normal.T2.enableFire,tankController.normal.wait1.localActive,tankController.normal.emptyTank2.localActive,tankController.normal.fillTank2.localActive,tankController.normal.fillTank1.active,tankController.s1.localActive,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition8,$whenCondition7,$whenCondition9,$whenCondition11,$whenCondition10,$whenCondition12,$whenCondition14,$whenCondition13,$whenCondition15,tankController.s1.active,tankController.s1.inPort[2].occupied,tankController.s1.newActive,tankController.s1.oldActive,tankController.normal.active,tankController.normal.newActive,tankController.normal.activeSteps,tankController.normal.fillTank1.localActive,tankController.normal.fillTank1.newActive,tankController.normal.fillTank1.oldActive,tankController.normal.T1.localCondition,tankController.normal.T1.enableFire,tankController.normal.fillTank2.active,tankController.normal.fillTank2.newActive,tankController.normal.fillTank2.oldActive,tankController.normal.T3.localCondition,tankController.normal.T3.enableFire,tankController.normal.emptyTank2.active,tankController.normal.emptyTank2.newActive,tankController.normal.emptyTank2.oldActive,tankController.normal.wait1.active,tankController.normal.wait1.newActive,tankController.normal.wait1.oldActive,tankController.normal.T2.fire,tankController.normal.T2.t_start,tankController.normal.wait2.active,tankController.normal.wait2.newActive,tankController.normal.wait2.oldActive,tankController.normal.T4.fire,tankController.normal.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,tankController.valve2,tankController.valve3,tankController.stateGraphRoot.activeSteps,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],tank1.regularFlow[1],tank1.regularFlow[2],tank1.inFlow[1],tank1.inFlow[2],tank2.regularFlow[1],tank2.regularFlow[2],tank2.inFlow[1],tank2.inFlow[2],tankController.normal.T1.t_start,tankController.normal.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 discrete states: 50 (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.normal.T3.t_start,tankController.normal.T1.t_start,shut.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEvent,tankController.s1.newActive,tankController.normal.fillTank1.newActive,tankController.normal.fillTank2.newActive,tankController.normal.emptyTank2.newActive,tankController.normal.wait1.newActive,tankController.normal.wait2.newActive,tankController.normal.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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (212): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 6 * When equations: 24 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,3), (4,4), (2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001329/0.1912, allocations: 0.7831 MB / 359.9 MB, free: 7.836 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001652/0.1929, allocations: 1.679 MB / 361.6 MB, free: 6.113 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.967e-05/0.1929, allocations: 16.5 kB / 361.6 MB, free: 6.098 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009216/0.1938, allocations: 0.9514 MB / 362.5 MB, free: 5.113 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001471/0.1953, allocations: 0.7739 MB / 363.3 MB, free: 4.355 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004385/0.1997, allocations: 3.767 MB / 367.1 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/0.2, allocations: 447.4 kB / 367.5 MB, free: 76 kB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0008245/0.2008, allocations: 405.2 kB / 367.9 MB, free: 15.68 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001261/0.2021, allocations: 0.7231 MB / 368.6 MB, free: 14.95 MB / 330.7 MB Notification: Performance of SimCode: time 8.11e-07/0.2021, allocations: 0 / 368.6 MB, free: 14.95 MB / 330.7 MB Notification: Performance of Templates: time 0.05003/0.2521, allocations: 43.71 MB / 412.3 MB, free: 3.711 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; mkfifo Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe >> ../files/Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.sim & ./Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Fluid/Examples/ControlledTankSystem/ControlledTanks/ControlledTanks.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.814390007406473]