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.003148/0.003148, allocations: 88.73 kB / 21.5 MB, free: 2.988 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.001393/0.001393, allocations: 160.2 kB / 24.91 MB, free: 8.723 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.8907/0.8907, allocations: 177 MB / 205.2 MB, free: 5.465 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.543e-06/1.543e-06, allocations: 0 / 273.4 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.156e-05/2.31e-05, allocations: 2.312 kB / 273.4 MB, free: 1.242 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.009421/0.009444, allocations: 11.87 MB / 285.2 MB, free: 5.32 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1177/0.1272, allocations: 5.421 MB / 290.7 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00153/0.1287, allocations: 68.66 kB / 290.7 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001592/0.1303, allocations: 0.8268 MB / 291.6 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002584/0.1329, allocations: 1.531 MB / 293.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003325/0.1362, allocations: 2.022 MB / 295.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005474/0.1417, allocations: 5.076 MB / 300.2 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002448/0.1441, allocations: 1.822 MB / 302 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00345/0.1476, allocations: 2.544 MB / 304.5 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001747/0.1493, allocations: 1.373 MB / 305.9 MB, free: 10.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005574/0.1499, allocations: 303.1 kB / 306.2 MB, free: 10.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001002/0.1509, allocations: 0.6406 MB / 306.9 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004637/0.1514, allocations: 0.8739 MB / 307.7 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001139/0.1525, allocations: 0.9539 MB / 308.7 MB, free: 9.539 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002384/0.1549, allocations: 2.664 MB / 311.3 MB, free: 7.973 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1549, allocations: 0 / 311.3 MB, free: 7.973 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1549, allocations: 0 / 311.3 MB, free: 7.973 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.288e-05/0.155, allocations: 0 / 311.3 MB, free: 7.973 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.003172/0.1581, allocations: 2.98 MB / 314.3 MB, free: 5.809 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.1582, allocations: 11.98 kB / 314.3 MB, free: 5.797 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008654/0.159, allocations: 467.9 kB / 314.8 MB, free: 5.348 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001371/0.1604, allocations: 1.105 MB / 315.9 MB, free: 4.27 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001448/0.1606, allocations: 408.3 kB / 316.3 MB, free: 3.82 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001839/0.1607, allocations: 235.2 kB / 316.5 MB, free: 3.594 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001561/0.1623, allocations: 2.305 MB / 318.8 MB, free: 1.105 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.977e-05/0.1623, allocations: 18.8 kB / 318.9 MB, free: 1.094 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001208/0.1625, allocations: 95.67 kB / 318.9 MB, free: 1.004 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.809e-05/0.1625, allocations: 102.6 kB / 319 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009132/0.1634, allocations: 0.8534 MB / 319.9 MB, free: 64 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007103/0.1705, allocations: 7.121 MB / 327 MB, free: 9.066 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009582/0.1715, allocations: 1.008 MB / 328 MB, free: 8.02 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006868/0.1722, allocations: 490 kB / 328.5 MB, free: 7.508 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003247/0.1754, allocations: 2.588 MB / 331.1 MB, free: 4.98 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009968/0.1764, allocations: 1.421 MB / 332.5 MB, free: 3.457 MB / 282.7 MB Notification: Performance of pre-optimization done (n=205): time 3.447e-06/0.1764, allocations: 0 / 332.5 MB, free: 3.457 MB / 282.7 MB Notification: Performance of matching and sorting (n=215): time 0.004907/0.1813, allocations: 3.406 MB / 335.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002019/0.1815, allocations: 0.6904 MB / 336.6 MB, free: 15.15 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008115/0.1823, allocations: 1.156 MB / 337.8 MB, free: 14.19 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001413/0.1825, allocations: 129.7 kB / 337.9 MB, free: 14.05 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003697/0.1829, allocations: 0.747 MB / 338.6 MB, free: 13.38 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00037/0.1832, allocations: 0.6322 MB / 339.3 MB, free: 12.81 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004794/0.1837, allocations: 0.5441 MB / 339.8 MB, free: 12.35 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.344e-05/0.1838, allocations: 306.9 kB / 340.1 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004648/0.1842, allocations: 402.2 kB / 340.5 MB, free: 11.64 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008053/0.185, allocations: 1.312 MB / 341.8 MB, free: 10.04 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001519/0.1866, allocations: 1.6 MB / 343.4 MB, free: 8.285 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-05/0.1866, allocations: 4 kB / 343.4 MB, free: 8.281 MB / 298.7 MB Notification: Performance of matching and sorting (n=350) (initialization): time 0.001846/0.1884, allocations: 1.674 MB / 345.1 MB, free: 6.672 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.219e-05/0.1885, allocations: 115.2 kB / 345.2 MB, free: 6.543 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-05/0.1885, allocations: 20 kB / 345.2 MB, free: 6.523 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005292/0.189, allocations: 372.5 kB / 345.6 MB, free: 6.152 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007235/0.1898, allocations: 398.6 kB / 346 MB, free: 5.797 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009278/0.1907, allocations: 1.749 MB / 347.7 MB, free: 3.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007079/0.1914, allocations: 111.9 kB / 347.8 MB, free: 3.871 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001212/0.1915, allocations: 100 kB / 347.9 MB, free: 3.773 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.0005852/0.1921, allocations: 0.4981 MB / 348.4 MB, free: 3.238 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000245/0.1923, allocations: 207.7 kB / 348.6 MB, free: 3.035 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002168/0.1945, allocations: 1.669 MB / 350.3 MB, free: 1.348 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.313e-05/0.1945, allocations: 28 kB / 350.3 MB, free: 1.32 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.1945, allocations: 8 kB / 350.3 MB, free: 1.312 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.786e-05/0.1946, allocations: 15.95 kB / 350.4 MB, free: 1.297 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00336/0.1979, allocations: 2.62 MB / 353 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.1979, allocations: 3.938 kB / 353 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004926/0.1984, allocations: 243.5 kB / 353.2 MB, free: 14.56 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004685/0.1989, allocations: 341.6 kB / 353.6 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001033/0.199, allocations: 55.95 kB / 353.6 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008404/0.1998, allocations: 1.74 MB / 355.4 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.1998, allocations: 4 kB / 355.4 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002345/0.2022, allocations: 2.071 MB / 357.4 MB, free: 10.21 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004627/0.2026, allocations: 272.4 kB / 357.7 MB, free: 9.941 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002177/0.2029, allocations: 83.94 kB / 357.8 MB, free: 9.859 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004578/0.2033, allocations: 75.95 kB / 357.9 MB, free: 9.785 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002863/0.2036, allocations: 205.5 kB / 358.1 MB, free: 9.582 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001059/0.2037, allocations: 71.94 kB / 358.1 MB, free: 9.512 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003822/0.2041, allocations: 494.6 kB / 358.6 MB, free: 9.082 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2041, allocations: 4 kB / 358.6 MB, free: 9.078 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001211/0.2053, allocations: 0.613 MB / 359.2 MB, free: 8.465 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.001449/0.2067, allocations: 0.7875 MB / 360 MB, free: 7.879 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001984/0.2087, allocations: 1.679 MB / 361.7 MB, free: 6.156 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-05/0.2088, allocations: 16.5 kB / 361.7 MB, free: 6.141 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009808/0.2097, allocations: 0.9536 MB / 362.7 MB, free: 5.152 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001615/0.2113, allocations: 0.7664 MB / 363.4 MB, free: 4.402 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004998/0.2163, allocations: 3.765 MB / 367.2 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/0.2167, allocations: 447.4 kB / 367.6 MB, free: 132 kB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0009363/0.2176, allocations: 405.2 kB / 368 MB, free: 15.73 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001299/0.2189, allocations: 0.7239 MB / 368.7 MB, free: 15 MB / 330.7 MB Notification: Performance of SimCode: time 1.343e-06/0.2189, allocations: 0 / 368.7 MB, free: 15 MB / 330.7 MB Notification: Performance of Templates: time 0.04696/0.2659, allocations: 43.61 MB / 412.4 MB, free: 3.848 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 -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.85258413804695]