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.001537/0.001537, allocations: 91.67 kB / 21.2 MB, free: 3.367 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.001833/0.001833, allocations: 160.5 kB / 24.56 MB, free: 12 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.003/1.003, allocations: 177 MB / 204.8 MB, free: 5.574 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.473e-06/1.473e-06, allocations: 0 / 272.9 MB, free: 1.461 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.719e-05/2.866e-05, allocations: 5.266 kB / 272.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.02583/0.02586, allocations: 12.06 MB / 285 MB, free: 5.336 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01262/0.03849, allocations: 5.325 MB / 290.3 MB, free: 0 / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00088/0.03937, allocations: 67.42 kB / 290.4 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001421/0.04079, allocations: 0.8299 MB / 291.2 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002012/0.0428, allocations: 1.506 MB / 292.7 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002746/0.04555, allocations: 2.025 MB / 294.7 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004287/0.04983, allocations: 5.091 MB / 299.8 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001812/0.05165, allocations: 1.803 MB / 301.6 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002355/0.054, allocations: 2.427 MB / 304 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001533/0.05553, allocations: 1.462 MB / 305.5 MB, free: 10.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004684/0.056, allocations: 312.5 kB / 305.8 MB, free: 10.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000875/0.05688, allocations: 0.6494 MB / 306.5 MB, free: 10.67 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004457/0.05732, allocations: 0.8978 MB / 307.4 MB, free: 10.04 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006872/0.05801, allocations: 0.9704 MB / 308.3 MB, free: 9.512 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001782/0.05979, allocations: 2.678 MB / 311 MB, free: 7.93 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.05979, allocations: 0 / 311 MB, free: 7.93 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.0598, allocations: 0 / 311 MB, free: 7.93 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.945e-05/0.05984, allocations: 0 / 311 MB, free: 7.93 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.003097/0.06293, allocations: 3.178 MB / 314.2 MB, free: 5.484 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.06297, allocations: 13.05 kB / 314.2 MB, free: 5.48 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009309/0.0639, allocations: 0.5247 MB / 314.7 MB, free: 5.137 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001323/0.06522, allocations: 1.394 MB / 316.1 MB, free: 3.77 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001598/0.06538, allocations: 410.6 kB / 316.5 MB, free: 3.324 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002004/0.06558, allocations: 234 kB / 316.7 MB, free: 3.098 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002106/0.06769, allocations: 2.518 MB / 319.3 MB, free: 280 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.676e-05/0.06772, allocations: 7.562 kB / 319.3 MB, free: 276 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001316/0.06785, allocations: 99.05 kB / 319.4 MB, free: 180 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.135e-05/0.06792, allocations: 103.7 kB / 319.5 MB, free: 76 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001797/0.06971, allocations: 1.119 MB / 320.6 MB, free: 14.97 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008715/0.07843, allocations: 10.24 MB / 330.8 MB, free: 4.688 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001368/0.0798, allocations: 1.21 MB / 332 MB, free: 3.371 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000724/0.08052, allocations: 0.6414 MB / 332.7 MB, free: 2.684 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004126/0.08465, allocations: 3.521 MB / 336.2 MB, free: 15.18 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001288/0.08593, allocations: 1.518 MB / 337.7 MB, free: 13.48 MB / 298.7 MB Notification: Performance of pre-optimization done (n=205): time 2.915e-06/0.08594, allocations: 0 / 337.7 MB, free: 13.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=215): time 0.007523/0.09346, allocations: 6.63 MB / 344.3 MB, free: 6.746 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000216/0.09368, allocations: 0.6866 MB / 345 MB, free: 5.91 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/0.09474, allocations: 1.298 MB / 346.3 MB, free: 4.574 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001364/0.09488, allocations: 125.7 kB / 346.4 MB, free: 4.445 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005032/0.09538, allocations: 0.9958 MB / 347.4 MB, free: 3.469 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003956/0.09578, allocations: 0.6301 MB / 348.1 MB, free: 2.855 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005783/0.09636, allocations: 0.5746 MB / 348.7 MB, free: 2.273 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002333/0.09659, allocations: 480.8 kB / 349.1 MB, free: 1.801 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007428/0.09733, allocations: 0.5256 MB / 349.6 MB, free: 1.25 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001241/0.09857, allocations: 1.706 MB / 351.4 MB, free: 15.09 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001778/0.1004, allocations: 1.951 MB / 353.3 MB, free: 12.83 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.018e-05/0.1004, allocations: 8 kB / 353.3 MB, free: 12.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=350) (initialization): time 0.002775/0.1031, allocations: 2.295 MB / 355.6 MB, free: 10.55 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.097e-05/0.1032, allocations: 111.9 kB / 355.7 MB, free: 10.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.848e-05/0.1032, allocations: 20.06 kB / 355.7 MB, free: 10.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005761/0.1038, allocations: 383.7 kB / 356.1 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007569/0.1045, allocations: 403.2 kB / 356.5 MB, free: 9.625 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001149/0.1057, allocations: 2.6 MB / 359.1 MB, free: 6.938 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006163/0.1063, allocations: 119.8 kB / 359.2 MB, free: 6.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001386/0.1065, allocations: 120 kB / 359.3 MB, free: 6.703 MB / 314.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.0005263/0.107, allocations: 0.5384 MB / 359.9 MB, free: 6.125 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002936/0.1073, allocations: 282.7 kB / 360.2 MB, free: 5.848 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002685/0.11, allocations: 2.201 MB / 362.4 MB, free: 3.625 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-05/0.11, allocations: 24 kB / 362.4 MB, free: 3.602 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.11, allocations: 7.938 kB / 362.4 MB, free: 3.594 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.343e-05/0.11, allocations: 11.95 kB / 362.4 MB, free: 3.582 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004506/0.1145, allocations: 3.788 MB / 366.2 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.1145, allocations: 4 kB / 366.2 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005522/0.1151, allocations: 247.5 kB / 366.4 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004989/0.1156, allocations: 354.8 kB / 366.8 MB, free: 15.14 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001063/0.1157, allocations: 63.95 kB / 366.8 MB, free: 15.08 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001092/0.1168, allocations: 2.566 MB / 369.4 MB, free: 12.42 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.1168, allocations: 7.875 kB / 369.4 MB, free: 12.41 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003305/0.1201, allocations: 2.808 MB / 372.2 MB, free: 9.477 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005243/0.1206, allocations: 426.3 kB / 372.6 MB, free: 9.059 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001977/0.1208, allocations: 76.05 kB / 372.7 MB, free: 8.984 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000481/0.1213, allocations: 87.94 kB / 372.8 MB, free: 8.898 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003004/0.1216, allocations: 217.6 kB / 373 MB, free: 8.684 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001126/0.1217, allocations: 91.95 kB / 373.1 MB, free: 8.594 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006016/0.1223, allocations: 0.6785 MB / 373.8 MB, free: 7.914 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1223, allocations: 0 / 373.8 MB, free: 7.914 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001005/0.1233, allocations: 0.6208 MB / 374.4 MB, free: 7.293 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 (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.001166/0.1245, allocations: 0.6844 MB / 375.1 MB, free: 6.738 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00233/0.1268, allocations: 1.989 MB / 377.1 MB, free: 4.684 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.1268, allocations: 8.125 kB / 377.1 MB, free: 4.676 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0014/0.1282, allocations: 1.105 MB / 378.2 MB, free: 3.512 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001567/0.1298, allocations: 0.7529 MB / 378.9 MB, free: 2.777 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004819/0.1346, allocations: 3.936 MB / 382.9 MB, free: 14.74 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.1349, allocations: 459.5 kB / 383.3 MB, free: 14.27 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0008539/0.1357, allocations: 489 kB / 383.8 MB, free: 13.79 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003957/0.1361, allocations: 212.4 kB / 384 MB, free: 13.58 MB / 346.7 MB Notification: Performance of SimCode: time 6.01e-07/0.1361, allocations: 0 / 384 MB, free: 13.58 MB / 346.7 MB Notification: Performance of Templates: time 0.04282/0.179, allocations: 40.31 MB / 424.3 MB, free: 5.723 MB / 378.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.373806098941714]