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.00193/0.00193, allocations: 99.53 kB / 20.96 MB, free: 3.453 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.002146/0.002146, allocations: 156.8 kB / 24.27 MB, free: 156 kB / 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 1.546/1.546, allocations: 177 MB / 204.4 MB, free: 5.609 MB / 186.7 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.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.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.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.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.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.323e-06/1.323e-06, allocations: 0 / 272.2 MB, free: 1.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.727e-05/2.86e-05, allocations: 2.312 kB / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.1576/0.1577, allocations: 28.56 MB / 300.7 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01076/0.1684, allocations: 7.702 MB / 308.4 MB, free: 9.27 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001775/0.1702, allocations: 71.88 kB / 308.5 MB, free: 9.23 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002385/0.1726, allocations: 1.01 MB / 309.5 MB, free: 8.75 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003824/0.1764, allocations: 1.711 MB / 311.2 MB, free: 7.734 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005658/0.1821, allocations: 2.228 MB / 313.5 MB, free: 5.988 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005489/0.1876, allocations: 5.122 MB / 318.6 MB, free: 2.879 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00226/0.1898, allocations: 1.81 MB / 320.4 MB, free: 1.551 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003312/0.1931, allocations: 2.512 MB / 322.9 MB, free: 15.4 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002742/0.1959, allocations: 1.467 MB / 324.4 MB, free: 13.93 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006712/0.1965, allocations: 312 kB / 324.7 MB, free: 13.63 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002478/0.199, allocations: 0.8931 MB / 325.6 MB, free: 12.73 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001103/0.2001, allocations: 0.9035 MB / 326.5 MB, free: 11.83 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001793/0.2019, allocations: 0.9672 MB / 327.4 MB, free: 10.86 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006693/0.2086, allocations: 4.444 MB / 331.9 MB, free: 6.402 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.2086, allocations: 0 / 331.9 MB, free: 6.402 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.2086, allocations: 0 / 331.9 MB, free: 6.402 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.053e-05/0.2087, allocations: 0 / 331.9 MB, free: 6.402 MB / 282.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.007416/0.2161, allocations: 3.423 MB / 335.3 MB, free: 2.852 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.2161, allocations: 11.98 kB / 335.3 MB, free: 2.84 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001778/0.2179, allocations: 0.5339 MB / 335.9 MB, free: 2.305 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002951/0.2209, allocations: 1.396 MB / 337.3 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004113/0.2213, allocations: 414.7 kB / 337.7 MB, free: 412 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004617/0.2217, allocations: 240.3 kB / 337.9 MB, free: 172 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005711/0.2274, allocations: 3.18 MB / 341.1 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.329e-05/0.2275, allocations: 4.312 kB / 341.1 MB, free: 12.65 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002448/0.2277, allocations: 103.9 kB / 341.2 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001381/0.2279, allocations: 103.7 kB / 341.3 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003871/0.2318, allocations: 1.842 MB / 343.1 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01954/0.2513, allocations: 12.39 MB / 355.5 MB, free: 13.8 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003197/0.2545, allocations: 1.674 MB / 357.2 MB, free: 11.99 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001748/0.2562, allocations: 0.949 MB / 358.1 MB, free: 10.99 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008271/0.2645, allocations: 3.939 MB / 362.1 MB, free: 7.016 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003131/0.2676, allocations: 1.903 MB / 364 MB, free: 4.918 MB / 314.7 MB Notification: Performance of pre-optimization done (n=205): time 4.197e-06/0.2676, allocations: 0 / 364 MB, free: 4.918 MB / 314.7 MB Notification: Performance of matching and sorting (n=215): time 0.01668/0.2843, allocations: 7.943 MB / 371.9 MB, free: 12.84 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005165/0.2848, allocations: 0.6919 MB / 372.6 MB, free: 11.99 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002744/0.2876, allocations: 1.809 MB / 374.4 MB, free: 10.14 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002899/0.2879, allocations: 125.6 kB / 374.5 MB, free: 10.01 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001161/0.289, allocations: 1.088 MB / 375.6 MB, free: 8.914 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008574/0.2899, allocations: 0.7021 MB / 376.3 MB, free: 8.207 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001519/0.2914, allocations: 0.8051 MB / 377.1 MB, free: 7.395 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002407/0.2916, allocations: 476.8 kB / 377.6 MB, free: 6.926 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001813/0.2935, allocations: 0.8848 MB / 378.5 MB, free: 6.02 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003151/0.2966, allocations: 2.156 MB / 380.6 MB, free: 3.402 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00476/0.3014, allocations: 2.648 MB / 383.3 MB, free: 376 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.732e-05/0.3014, allocations: 8 kB / 383.3 MB, free: 368 kB / 330.7 MB Notification: Performance of matching and sorting (n=350) (initialization): time 0.006334/0.3077, allocations: 3.005 MB / 386.3 MB, free: 13.3 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001166/0.3078, allocations: 109.3 kB / 386.4 MB, free: 13.17 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.153e-05/0.3079, allocations: 16 kB / 386.4 MB, free: 13.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001283/0.3092, allocations: 483.3 kB / 386.9 MB, free: 12.67 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001589/0.3107, allocations: 403.2 kB / 387.3 MB, free: 12.28 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00293/0.3137, allocations: 2.836 MB / 390.1 MB, free: 9.352 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/0.3152, allocations: 115.9 kB / 390.2 MB, free: 9.238 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004043/0.3156, allocations: 116.1 kB / 390.4 MB, free: 9.125 MB / 346.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,tankController.stateGraphRoot.resume,tankController.stateGraphRoot.suspend,tankController.normal.T4.condition,tankController.normal.T2.condition,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) * 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.001371/0.3169, allocations: 0.7531 MB / 391.1 MB, free: 8.332 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006026/0.3175, allocations: 290.7 kB / 391.4 MB, free: 8.047 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005887/0.3234, allocations: 2.76 MB / 394.2 MB, free: 5.27 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.51e-05/0.3235, allocations: 32 kB / 394.2 MB, free: 5.238 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.284e-05/0.3235, allocations: 7.938 kB / 394.2 MB, free: 5.23 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.611e-05/0.3235, allocations: 15.89 kB / 394.2 MB, free: 5.215 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01018/0.3337, allocations: 5.008 MB / 399.2 MB, free: 108 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/0.3337, allocations: 0 / 399.2 MB, free: 108 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001149/0.3348, allocations: 251.6 kB / 399.5 MB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001153/0.336, allocations: 462.7 kB / 399.9 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001839/0.3362, allocations: 67.95 kB / 400 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002743/0.3389, allocations: 2.786 MB / 402.8 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.967e-06/0.3389, allocations: 12 kB / 402.8 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00745/0.3464, allocations: 3.949 MB / 406.7 MB, free: 8.355 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001215/0.3476, allocations: 422.4 kB / 407.1 MB, free: 7.941 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003864/0.348, allocations: 84.03 kB / 407.2 MB, free: 7.859 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001048/0.349, allocations: 87.94 kB / 407.3 MB, free: 7.773 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006136/0.3496, allocations: 269.5 kB / 407.6 MB, free: 7.508 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002049/0.3498, allocations: 91.95 kB / 407.7 MB, free: 7.418 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001457/0.3513, allocations: 0.9167 MB / 408.6 MB, free: 6.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3513, allocations: 0 / 408.6 MB, free: 6.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002151/0.3535, allocations: 0.683 MB / 409.3 MB, free: 5.816 MB / 362.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 (215): * Single equations (assignments): 179 * 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.0038/0.3573, allocations: 0.8692 MB / 410.1 MB, free: 5.094 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005872/0.3631, allocations: 2.739 MB / 412.9 MB, free: 2.281 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.3631, allocations: 0 / 412.9 MB, free: 2.281 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003069/0.3662, allocations: 1.47 MB / 414.3 MB, free: 0.7539 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003388/0.3696, allocations: 0.7534 MB / 415.1 MB, free: 16 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009786/0.3794, allocations: 4.331 MB / 419.4 MB, free: 11.58 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001275/0.3807, allocations: 0.9995 MB / 420.4 MB, free: 10.54 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001803/0.3825, allocations: 492.1 kB / 420.9 MB, free: 10.06 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006322/0.3831, allocations: 208.4 kB / 421.1 MB, free: 9.855 MB / 378.7 MB Notification: Performance of SimCode: time 1.353e-06/0.3831, allocations: 3.938 kB / 421.1 MB, free: 9.852 MB / 378.7 MB Notification: Performance of Templates: time 0.1755/0.5586, allocations: 42.34 MB / 463.4 MB, free: 106.4 MB / 378.7 MB " [Timeout remaining time 659] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.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: 6.4794141470920295]