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.001423/0.001423, allocations: 86.59 kB / 21.43 MB, free: 3.07 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.001012/0.001012, allocations: 167 kB / 24.82 MB, free: 9.258 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 1.046/1.046, allocations: 177 MB / 205.1 MB, free: 5.477 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.733e-06/1.733e-06, allocations: 0 / 273.3 MB, free: 1.238 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.994e-05/2.167e-05, allocations: 2.312 kB / 273.3 MB, free: 1.234 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.0105/0.01052, allocations: 11.83 MB / 285.2 MB, free: 5.348 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006369/0.01689, allocations: 5.294 MB / 290.4 MB, free: 44 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.1155/0.1324, allocations: 65.55 kB / 290.5 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001812/0.1342, allocations: 0.8317 MB / 291.3 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002588/0.1368, allocations: 1.522 MB / 292.9 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003414/0.1402, allocations: 2.026 MB / 294.9 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005561/0.1458, allocations: 5.084 MB / 300 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002123/0.1479, allocations: 1.803 MB / 301.8 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003738/0.1516, allocations: 2.546 MB / 304.3 MB, free: 11.62 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001504/0.1531, allocations: 1.42 MB / 305.7 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004343/0.1536, allocations: 301.1 kB / 306 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008863/0.1545, allocations: 0.6396 MB / 306.7 MB, free: 10.79 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000408/0.1549, allocations: 0.8762 MB / 307.5 MB, free: 10.19 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007087/0.1556, allocations: 0.9548 MB / 308.5 MB, free: 9.672 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00183/0.1574, allocations: 2.655 MB / 311.2 MB, free: 8.113 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.1574, allocations: 0 / 311.2 MB, free: 8.113 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.1574, allocations: 0 / 311.2 MB, free: 8.113 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.215e-05/0.1574, allocations: 4 kB / 311.2 MB, free: 8.109 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.00263/0.1601, allocations: 3.178 MB / 314.3 MB, free: 5.746 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.1601, allocations: 11.98 kB / 314.4 MB, free: 5.734 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008354/0.1609, allocations: 0.5294 MB / 314.9 MB, free: 5.207 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001193/0.1621, allocations: 1.465 MB / 316.3 MB, free: 3.773 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001358/0.1623, allocations: 413.9 kB / 316.8 MB, free: 3.324 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001928/0.1624, allocations: 237.9 kB / 317 MB, free: 3.098 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001536/0.164, allocations: 2.371 MB / 319.4 MB, free: 0.5 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.096e-05/0.164, allocations: 6.844 kB / 319.4 MB, free: 0.5 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001224/0.1641, allocations: 99.83 kB / 319.5 MB, free: 416 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.251e-05/0.1642, allocations: 99.69 kB / 319.6 MB, free: 316 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001001/0.1652, allocations: 0.92 MB / 320.5 MB, free: 15.4 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007739/0.1729, allocations: 9.918 MB / 330.4 MB, free: 5.617 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/0.174, allocations: 1.099 MB / 331.5 MB, free: 4.449 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000494/0.1745, allocations: 0.5571 MB / 332.1 MB, free: 3.855 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003908/0.1784, allocations: 3.471 MB / 335.5 MB, free: 460 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001087/0.1795, allocations: 1.451 MB / 337 MB, free: 14.88 MB / 298.7 MB Notification: Performance of pre-optimization done (n=205): time 2.946e-06/0.1795, allocations: 0 / 337 MB, free: 14.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=215): time 0.006022/0.1855, allocations: 3.792 MB / 340.8 MB, free: 11.02 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000209/0.1857, allocations: 0.6907 MB / 341.5 MB, free: 10.18 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008996/0.1866, allocations: 1.249 MB / 342.7 MB, free: 9.117 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001503/0.1867, allocations: 133.7 kB / 342.8 MB, free: 8.98 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005388/0.1873, allocations: 0.9938 MB / 343.8 MB, free: 8.062 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004117/0.1877, allocations: 0.6414 MB / 344.5 MB, free: 7.48 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005774/0.1883, allocations: 0.5855 MB / 345.1 MB, free: 6.98 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.1884, allocations: 480.7 kB / 345.5 MB, free: 6.508 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005455/0.1889, allocations: 438.2 kB / 346 MB, free: 6.059 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001316/0.1902, allocations: 1.621 MB / 347.6 MB, free: 4.047 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0015/0.1917, allocations: 1.817 MB / 349.4 MB, free: 1.98 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.588e-06/0.1917, allocations: 8 kB / 349.4 MB, free: 1.973 MB / 298.7 MB Notification: Performance of matching and sorting (n=350) (initialization): time 0.002248/0.194, allocations: 2.083 MB / 351.5 MB, free: 15.95 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.375e-05/0.1941, allocations: 113 kB / 351.6 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.214e-05/0.1941, allocations: 20 kB / 351.6 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005259/0.1946, allocations: 376.9 kB / 352 MB, free: 15.42 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007353/0.1953, allocations: 403.2 kB / 352.4 MB, free: 15.03 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001343/0.1967, allocations: 2.581 MB / 355 MB, free: 12.37 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006582/0.1973, allocations: 111.9 kB / 355.1 MB, free: 12.26 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/0.1975, allocations: 99.97 kB / 355.2 MB, free: 12.16 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,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.0005356/0.198, allocations: 0.5352 MB / 355.7 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002849/0.1983, allocations: 278.7 kB / 356 MB, free: 11.31 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002296/0.2006, allocations: 2.031 MB / 358 MB, free: 9.266 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.726e-05/0.2006, allocations: 24 kB / 358 MB, free: 9.242 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.2006, allocations: 11.92 kB / 358 MB, free: 9.23 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.321e-05/0.2006, allocations: 7.969 kB / 358 MB, free: 9.223 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003768/0.2044, allocations: 3.325 MB / 361.4 MB, free: 6.012 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.2044, allocations: 7.938 kB / 361.4 MB, free: 6.004 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005089/0.2049, allocations: 239.6 kB / 361.6 MB, free: 5.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004742/0.2054, allocations: 348.4 kB / 362 MB, free: 5.422 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001089/0.2055, allocations: 71.95 kB / 362 MB, free: 5.352 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001131/0.2066, allocations: 2.542 MB / 364.6 MB, free: 2.73 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.2066, allocations: 4 kB / 364.6 MB, free: 2.727 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002463/0.2091, allocations: 2.52 MB / 367.1 MB, free: 132 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004772/0.2096, allocations: 402.6 kB / 367.5 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001951/0.2098, allocations: 71.94 kB / 367.6 MB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004762/0.2102, allocations: 83.98 kB / 367.6 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002738/0.2105, allocations: 213.3 kB / 367.8 MB, free: 15.37 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001052/0.2106, allocations: 75.95 kB / 367.9 MB, free: 15.3 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004241/0.211, allocations: 0.6126 MB / 368.5 MB, free: 14.74 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.211, allocations: 0 / 368.5 MB, free: 14.74 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001126/0.2122, allocations: 0.6208 MB / 369.1 MB, free: 14.12 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.00121/0.2134, allocations: 0.6737 MB / 369.8 MB, free: 13.57 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001819/0.2152, allocations: 1.781 MB / 371.6 MB, free: 11.75 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2152, allocations: 4.062 kB / 371.6 MB, free: 11.74 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001033/0.2162, allocations: 1.013 MB / 372.6 MB, free: 10.69 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001553/0.2178, allocations: 0.7443 MB / 373.4 MB, free: 9.965 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004936/0.2227, allocations: 3.885 MB / 377.3 MB, free: 6.016 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/0.2231, allocations: 451.4 kB / 377.7 MB, free: 5.547 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008788/0.2239, allocations: 409.2 kB / 378.1 MB, free: 5.145 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001313/0.2253, allocations: 0.8479 MB / 378.9 MB, free: 4.297 MB / 330.7 MB Notification: Performance of SimCode: time 1.052e-06/0.2253, allocations: 0 / 378.9 MB, free: 4.297 MB / 330.7 MB Notification: Performance of Templates: time 0.04659/0.2718, allocations: 43.74 MB / 422.7 MB, free: 9.02 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: 3.9550755098462105]