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.001401/0.001401, allocations: 84.25 kB / 22.21 MB, free: 2.281 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.001515/0.001515, allocations: 164.2 kB / 25.61 MB, free: 8.574 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.9499/0.9499, allocations: 177 MB / 205.9 MB, free: 4.43 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.703e-06/1.703e-06, allocations: 0 / 274.1 MB, free: 4.301 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.39e-05/1.56e-05, allocations: 2.312 kB / 274.1 MB, free: 4.297 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.009276/0.009292, allocations: 11.83 MB / 285.9 MB, free: 8.441 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006452/0.01574, allocations: 5.305 MB / 291.2 MB, free: 3.121 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006953/0.01644, allocations: 71.44 kB / 291.3 MB, free: 3.051 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001206/0.01765, allocations: 0.8311 MB / 292.1 MB, free: 2.215 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001757/0.0194, allocations: 1.518 MB / 293.6 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002616/0.02202, allocations: 2.019 MB / 295.7 MB, free: 14.66 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003365/0.02538, allocations: 5.097 MB / 300.8 MB, free: 9.555 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001476/0.02686, allocations: 1.8 MB / 302.6 MB, free: 7.707 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002372/0.02923, allocations: 2.549 MB / 305.1 MB, free: 5.211 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0012/0.03043, allocations: 1.426 MB / 306.5 MB, free: 3.781 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002963/0.03073, allocations: 300 kB / 306.8 MB, free: 3.488 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007921/0.03152, allocations: 0.6399 MB / 307.5 MB, free: 2.848 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005067/0.03203, allocations: 0.884 MB / 308.4 MB, free: 1.961 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007034/0.03273, allocations: 0.947 MB / 309.3 MB, free: 1.012 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002038/0.03477, allocations: 2.667 MB / 312 MB, free: 14.34 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.03477, allocations: 4 kB / 312 MB, free: 14.33 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.03477, allocations: 0 / 312 MB, free: 14.33 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.134e-05/0.0348, allocations: 0 / 312 MB, free: 14.33 MB / 298.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.003012/0.03781, allocations: 3.166 MB / 315.1 MB, free: 11.04 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.873e-05/0.03784, allocations: 8.031 kB / 315.1 MB, free: 11.03 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009034/0.03874, allocations: 0.5301 MB / 315.7 MB, free: 10.5 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001446/0.04019, allocations: 1.462 MB / 317.1 MB, free: 8.992 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001965/0.04038, allocations: 414.8 kB / 317.5 MB, free: 8.535 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002244/0.04061, allocations: 236.3 kB / 317.8 MB, free: 8.305 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002005/0.04261, allocations: 2.368 MB / 320.1 MB, free: 5.602 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.499e-05/0.04265, allocations: 8.109 kB / 320.1 MB, free: 5.594 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001462/0.04279, allocations: 99.92 kB / 320.2 MB, free: 5.496 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.969e-05/0.04286, allocations: 103.6 kB / 320.3 MB, free: 5.395 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00106/0.04392, allocations: 0.9111 MB / 321.3 MB, free: 4.461 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007319/0.05124, allocations: 9.922 MB / 331.2 MB, free: 10.29 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/0.05229, allocations: 1.096 MB / 332.3 MB, free: 9.066 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005606/0.05285, allocations: 0.5663 MB / 332.8 MB, free: 8.449 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003655/0.05651, allocations: 3.442 MB / 336.3 MB, free: 4.973 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001065/0.05757, allocations: 1.461 MB / 337.7 MB, free: 3.32 MB / 314.7 MB Notification: Performance of pre-optimization done (n=205): time 3.326e-06/0.05757, allocations: 0 / 337.7 MB, free: 3.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=215): time 0.005553/0.06313, allocations: 3.799 MB / 341.5 MB, free: 15.41 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002316/0.06336, allocations: 0.688 MB / 342.2 MB, free: 14.56 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009178/0.06428, allocations: 1.246 MB / 343.5 MB, free: 13.28 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001515/0.06443, allocations: 125.7 kB / 343.6 MB, free: 13.15 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005709/0.065, allocations: 1.002 MB / 344.6 MB, free: 12.14 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003898/0.06539, allocations: 0.6394 MB / 345.2 MB, free: 11.49 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005544/0.06594, allocations: 0.5898 MB / 345.8 MB, free: 10.89 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.06605, allocations: 488.7 kB / 346.3 MB, free: 10.41 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004826/0.06653, allocations: 430.2 kB / 346.7 MB, free: 9.969 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001028/0.06756, allocations: 1.617 MB / 348.3 MB, free: 7.883 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001424/0.06898, allocations: 1.815 MB / 350.2 MB, free: 5.688 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.775e-06/0.06899, allocations: 4 kB / 350.2 MB, free: 5.684 MB / 330.7 MB Notification: Performance of matching and sorting (n=350) (initialization): time 0.002186/0.07118, allocations: 2.086 MB / 352.3 MB, free: 3.543 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.121e-05/0.07124, allocations: 109 kB / 352.4 MB, free: 3.418 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.811e-05/0.07126, allocations: 20 kB / 352.4 MB, free: 3.398 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005253/0.07178, allocations: 375.1 kB / 352.7 MB, free: 3.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007465/0.07253, allocations: 407.2 kB / 353.1 MB, free: 2.621 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1239/0.1965, allocations: 2.567 MB / 355.7 MB, free: 67.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/0.1978, allocations: 110.8 kB / 355.8 MB, free: 67.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001704/0.1979, allocations: 100.7 kB / 355.9 MB, free: 67.82 MB / 330.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.0007807/0.1987, allocations: 0.5325 MB / 356.4 MB, free: 67.53 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003704/0.1991, allocations: 281 kB / 356.7 MB, free: 67.53 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002524/0.2016, allocations: 2.025 MB / 358.7 MB, free: 67.17 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.178e-05/0.2016, allocations: 25.64 kB / 358.8 MB, free: 67.17 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.2016, allocations: 3.781 kB / 358.8 MB, free: 67.17 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.892e-05/0.2017, allocations: 14.2 kB / 358.8 MB, free: 67.17 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003844/0.2055, allocations: 3.322 MB / 362.1 MB, free: 66.62 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.331e-06/0.2055, allocations: 4.219 kB / 362.1 MB, free: 66.62 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005154/0.206, allocations: 241.4 kB / 362.4 MB, free: 66.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004643/0.2065, allocations: 348.3 kB / 362.7 MB, free: 66.58 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001009/0.2066, allocations: 66.27 kB / 362.8 MB, free: 66.58 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007001/0.2073, allocations: 2.55 MB / 365.3 MB, free: 64.2 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.2073, allocations: 2.75 kB / 365.3 MB, free: 64.2 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002287/0.2096, allocations: 2.514 MB / 367.8 MB, free: 63.52 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004349/0.21, allocations: 404.2 kB / 368.2 MB, free: 63.45 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002079/0.2102, allocations: 73.14 kB / 368.3 MB, free: 63.45 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000481/0.2107, allocations: 86.69 kB / 368.4 MB, free: 63.44 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002788/0.211, allocations: 201.5 kB / 368.6 MB, free: 63.44 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001054/0.2111, allocations: 74.45 kB / 368.6 MB, free: 63.44 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003811/0.2115, allocations: 0.6236 MB / 369.3 MB, free: 63.29 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2115, allocations: 0 / 369.3 MB, free: 63.29 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001044/0.2125, allocations: 0.613 MB / 369.9 MB, free: 63.29 MB / 330.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.001078/0.2136, allocations: 0.6809 MB / 370.6 MB, free: 63.09 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001705/0.2153, allocations: 1.785 MB / 372.3 MB, free: 62.64 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.2153, allocations: 3.656 kB / 372.4 MB, free: 62.64 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009807/0.2163, allocations: 1.023 MB / 373.4 MB, free: 62.33 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001631/0.2179, allocations: 0.7461 MB / 374.1 MB, free: 62.23 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004257/0.2222, allocations: 3.87 MB / 378 MB, free: 59.82 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.2224, allocations: 452.2 kB / 378.4 MB, free: 59.49 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007989/0.2232, allocations: 408 kB / 378.8 MB, free: 59.17 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001205/0.2244, allocations: 0.8388 MB / 379.7 MB, free: 58.54 MB / 330.7 MB Notification: Performance of SimCode: time 8.12e-07/0.2244, allocations: 0 / 379.7 MB, free: 58.54 MB / 330.7 MB Notification: Performance of Templates: time 0.03903/0.2635, allocations: 44.55 MB / 424.2 MB, free: 15.86 MB / 330.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: 4.169014647137374]