Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 78.28 kB / 21.42 MB, free: 3.078 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 151 kB / 24.81 MB, free: 8.934 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9152/0.9152, allocations: 173.4 MB / 201.5 MB, free: 8.301 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 268.4 MB, free: 9.781 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.967e-05/2.128e-05, allocations: 2.312 kB / 268.4 MB, free: 9.777 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.009242/0.009264, allocations: 11.72 MB / 280.1 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00771/0.01697, allocations: 5.208 MB / 285.3 MB, free: 8.809 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001398/0.01837, allocations: 67.44 kB / 285.4 MB, free: 8.742 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001752/0.02012, allocations: 0.8351 MB / 286.2 MB, free: 7.902 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002735/0.02286, allocations: 1.456 MB / 287.7 MB, free: 6.438 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003886/0.02674, allocations: 2.128 MB / 289.8 MB, free: 4.305 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005231/0.03198, allocations: 5.058 MB / 294.9 MB, free: 15.23 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002568/0.03454, allocations: 1.789 MB / 296.7 MB, free: 13.4 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004174/0.03872, allocations: 2.538 MB / 299.2 MB, free: 10.91 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001958/0.04068, allocations: 1.418 MB / 300.6 MB, free: 9.484 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006223/0.0413, allocations: 300 kB / 300.9 MB, free: 9.191 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001159/0.04246, allocations: 0.6399 MB / 301.6 MB, free: 8.551 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006264/0.04308, allocations: 0.884 MB / 302.4 MB, free: 7.664 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001048/0.04413, allocations: 0.9431 MB / 303.4 MB, free: 6.719 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002851/0.04698, allocations: 2.647 MB / 306 MB, free: 4.062 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.04699, allocations: 4 kB / 306 MB, free: 4.059 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.04699, allocations: 3.938 kB / 306 MB, free: 4.055 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.37e-05/0.04703, allocations: 0 / 306 MB, free: 4.055 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.003475/0.0505, allocations: 3.158 MB / 309.2 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.05054, allocations: 12.03 kB / 309.2 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007436/0.05128, allocations: 494.9 kB / 309.7 MB, free: 280 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001501/0.05279, allocations: 1.442 MB / 311.1 MB, free: 14.79 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003414/0.05313, allocations: 410.8 kB / 311.5 MB, free: 14.33 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002282/0.05336, allocations: 240.3 kB / 311.8 MB, free: 14.1 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002078/0.05543, allocations: 2.391 MB / 314.2 MB, free: 11.37 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.447e-05/0.05547, allocations: 7.938 kB / 314.2 MB, free: 11.36 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001327/0.0556, allocations: 95.97 kB / 314.3 MB, free: 11.27 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.305e-05/0.05567, allocations: 99.69 kB / 314.4 MB, free: 11.17 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0019/0.05757, allocations: 0.9305 MB / 315.3 MB, free: 10.22 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01117/0.06874, allocations: 9.35 MB / 324.6 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001742/0.07048, allocations: 1.113 MB / 325.7 MB, free: 15.4 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008366/0.07132, allocations: 0.5741 MB / 326.3 MB, free: 14.77 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006434/0.07775, allocations: 3.536 MB / 329.9 MB, free: 11.21 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001638/0.07939, allocations: 1.461 MB / 331.3 MB, free: 9.555 MB / 314.7 MB Notification: Performance of pre-optimization done (n=207): time 5.69e-06/0.0794, allocations: 4 kB / 331.3 MB, free: 9.551 MB / 314.7 MB Notification: Performance of matching and sorting (n=217): time 0.008867/0.08826, allocations: 3.826 MB / 335.1 MB, free: 5.609 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003154/0.08858, allocations: 0.688 MB / 335.8 MB, free: 4.766 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00177/0.09035, allocations: 1.217 MB / 337.1 MB, free: 3.508 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002128/0.09056, allocations: 129.6 kB / 337.2 MB, free: 3.375 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008095/0.09137, allocations: 0.9942 MB / 338.2 MB, free: 2.371 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006242/0.092, allocations: 0.6394 MB / 338.8 MB, free: 1.727 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008843/0.09288, allocations: 0.5977 MB / 339.4 MB, free: 1.121 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.09301, allocations: 484.9 kB / 339.9 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007757/0.09379, allocations: 446.2 kB / 340.3 MB, free: 192 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001518/0.09531, allocations: 1.625 MB / 341.9 MB, free: 14.1 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002458/0.09776, allocations: 1.815 MB / 343.8 MB, free: 11.9 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.458e-05/0.09778, allocations: 8 kB / 343.8 MB, free: 11.89 MB / 330.7 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.003779/0.1016, allocations: 2.129 MB / 345.9 MB, free: 9.707 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.546e-05/0.1016, allocations: 111.9 kB / 346 MB, free: 9.582 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.625e-05/0.1017, allocations: 24 kB / 346 MB, free: 9.559 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007211/0.1024, allocations: 370.7 kB / 346.4 MB, free: 9.184 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007976/0.1032, allocations: 407.2 kB / 346.8 MB, free: 8.785 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001265/0.1045, allocations: 2.579 MB / 349.4 MB, free: 6.109 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009174/0.1054, allocations: 111.8 kB / 349.5 MB, free: 6 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001501/0.1055, allocations: 104.1 kB / 349.6 MB, free: 5.898 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: 188 ($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.start.table.combiTimeTable.nextTimeEvent,$whenCondition12,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition11,$PRE.shut.table.combiTimeTable.nextTimeEvent,$whenCondition10,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],$whenCondition6,$whenCondition4,$whenCondition5,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],$whenCondition3,$whenCondition1,$whenCondition2,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.normal.stateGraphRoot.resume,tankController.normal.stateGraphRoot.suspend,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,$whenCondition13,$whenCondition14,$whenCondition15,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 (325): * Single equations (assignments): 319 * 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.000745/0.1063, allocations: 0.5464 MB / 350.1 MB, free: 5.312 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003607/0.1066, allocations: 278.8 kB / 350.4 MB, free: 5.039 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002405/0.109, allocations: 2.07 MB / 352.5 MB, free: 2.902 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.8e-05/0.1091, allocations: 24 kB / 352.5 MB, free: 2.879 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.1091, allocations: 4 kB / 352.5 MB, free: 2.875 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.662e-05/0.1091, allocations: 11.95 kB / 352.5 MB, free: 2.863 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1199/0.229, allocations: 3.381 MB / 355.9 MB, free: 73.36 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-05/0.229, allocations: 4.25 kB / 355.9 MB, free: 73.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007528/0.2298, allocations: 249.9 kB / 356.1 MB, free: 73.36 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006489/0.2304, allocations: 354.2 kB / 356.5 MB, free: 73.32 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002257/0.2306, allocations: 71.08 kB / 356.6 MB, free: 73.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001011/0.2316, allocations: 2.548 MB / 359.1 MB, free: 70.94 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.2316, allocations: 5.859 kB / 359.1 MB, free: 70.94 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003702/0.2353, allocations: 2.576 MB / 361.7 MB, free: 70.22 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007264/0.2361, allocations: 418.6 kB / 362.1 MB, free: 70.22 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002884/0.2364, allocations: 74.72 kB / 362.2 MB, free: 70.22 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005611/0.2369, allocations: 89 kB / 362.3 MB, free: 70.22 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003177/0.2372, allocations: 223.9 kB / 362.5 MB, free: 70.22 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001188/0.2374, allocations: 80.09 kB / 362.5 MB, free: 70.22 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004406/0.2378, allocations: 0.6079 MB / 363.2 MB, free: 70.07 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2378, allocations: 0 / 363.2 MB, free: 70.07 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001312/0.2391, allocations: 0.6158 MB / 363.8 MB, free: 70.07 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: 120 (tankController.normal.stateGraphRoot.suspend,tankController.s1.active,tankController.normal.fillTank1.localActive,tankController.normal.fillTank2.active,tankController.normal.T2.enableFire,tankController.normal.emptyTank2.active,tankController.normal.T4.enableFire,tankController.normal.wait1.active,tankController.normal.wait2.active,tankController.s2.active,tankController.emptyTanks.active,$cse1,$cse2,$cse5,$cse6,$cse7,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition9,tankController.s1.localActive,tankController.s1.inPort[2].occupied,tankController.s1.newActive,tankController.s1.oldActive,tankController.normal.stateGraphRoot.resume,tankController.normal.active,tankController.normal.newActive,tankController.normal.activeSteps,tankController.normal.fillTank1.active,tankController.normal.fillTank1.newActive,tankController.normal.fillTank1.oldActive,tankController.normal.T1.localCondition,tankController.normal.T1.enableFire,tankController.normal.fillTank2.localActive,tankController.normal.fillTank2.newActive,tankController.normal.fillTank2.oldActive,tankController.normal.T3.localCondition,tankController.normal.T3.enableFire,tankController.normal.emptyTank2.localActive,tankController.normal.emptyTank2.newActive,tankController.normal.emptyTank2.oldActive,tankController.normal.wait1.localActive,tankController.normal.wait1.newActive,tankController.normal.wait1.oldActive,tankController.normal.T2.fire,tankController.normal.T2.t_start,tankController.normal.wait2.localActive,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.T3.enableFire,tankController.s2.localActive,tankController.s2.outPort[2].available,tankController.s2.newActive,tankController.s2.oldActive,tankController.T4.enableFire,tankController.T5.enableFire,tankController.emptyTanks.localActive,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,start.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEventScaled,tankController.emptyTanks.newActive,tankController.s2.newActive,tankController.normal.newActive,tankController.normal.wait2.newActive,tankController.normal.wait1.newActive,tankController.normal.emptyTank2.newActive,tankController.normal.fillTank2.newActive,tankController.normal.fillTank1.newActive,tankController.s1.newActive,$whenCondition9,shut.on,$whenCondition8,$whenCondition7,shut.pre_reset[2],shut.pre_reset[1],shut.reset[1],shut.reset[2],shut.table.y,$whenCondition6,stop.on,$whenCondition5,$whenCondition4,stop.pre_reset[2],stop.pre_reset[1],stop.reset[1],stop.reset[2],stop.table.y,$whenCondition3,start.on,$whenCondition2,$whenCondition1,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 (219): * Single equations (assignments): 183 * 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.001305/0.2404, allocations: 0.7094 MB / 364.5 MB, free: 69.92 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002097/0.2425, allocations: 1.815 MB / 366.3 MB, free: 69.47 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.2425, allocations: 1.016 kB / 366.3 MB, free: 69.47 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001067/0.2436, allocations: 1.032 MB / 367.3 MB, free: 69.16 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001714/0.2453, allocations: 0.7463 MB / 368.1 MB, free: 69.09 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005003/0.2503, allocations: 3.898 MB / 372 MB, free: 67.35 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/0.2506, allocations: 453.8 kB / 372.4 MB, free: 67.24 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001174/0.2518, allocations: 417.1 kB / 372.8 MB, free: 67.12 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001391/0.2532, allocations: 0.8564 MB / 373.7 MB, free: 67.05 MB / 330.7 MB Notification: Performance of SimCode: time 1.613e-06/0.2532, allocations: 4 kB / 373.7 MB, free: 67.05 MB / 330.7 MB Notification: Performance of Templates: time 0.04552/0.2987, allocations: 44.47 MB / 418.2 MB, free: 25.7 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; mkfifo Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe >> ../files/Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.sim & ./Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.121382103767246]