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.001343/0.001343, allocations: 81.73 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001371/0.001371, allocations: 145.3 kB / 23.93 MB, free: 4.168 MB / 14.72 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 1.446/1.446, allocations: 173.4 MB / 200.4 MB, free: 12.87 MB / 190.1 MB " [Timeout remaining time 178] 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.1.|shut.reset.2.|start.on|start.reset.1.|start.reset.2.|stop.on|stop.reset.1.|stop.reset.2.|tankController.T1.enableFire|tankController.T2.enableFire|tankController.T3.enableFire|tankController.T4.enableFire|tankController.T5.enableFire|tankController.T6.enableFire|tankController.normal.T1.enableFire|tankController.normal.T2.enableFire|tankController.normal.T3.enableFire|tankController.normal.T4.enableFire",fileNamePrefix="Modelica_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.1.|shut.reset.2.|start.on|start.reset.1.|start.reset.2.|stop.on|stop.reset.1.|stop.reset.2.|tankController.T1.enableFire|tankController.T2.enableFire|tankController.T3.enableFire|tankController.T4.enableFire|tankController.T5.enableFire|tankController.T6.enableFire|tankController.normal.T1.enableFire|tankController.normal.T2.enableFire|tankController.normal.T3.enableFire|tankController.normal.T4.enableFire",fileNamePrefix="Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 318.9 MB, free: 3.551 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.055e-05/2.173e-05, allocations: 5.375 kB / 318.9 MB, free: 3.547 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.02994/0.02997, allocations: 25.22 MB / 344.1 MB, free: 1.82 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01336/0.04333, allocations: 7.093 MB / 351.2 MB, free: 11.3 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002293/0.04562, allocations: 71.44 kB / 351.3 MB, free: 11.23 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002815/0.04844, allocations: 1.013 MB / 352.3 MB, free: 10.21 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004226/0.05266, allocations: 1.658 MB / 354 MB, free: 8.543 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006296/0.05896, allocations: 2.336 MB / 356.3 MB, free: 6.223 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007102/0.06606, allocations: 5.081 MB / 361.4 MB, free: 1.125 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003064/0.06913, allocations: 1.71 MB / 363.1 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004241/0.07337, allocations: 2.491 MB / 365.6 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002298/0.07567, allocations: 1.457 MB / 367 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005251/0.07619, allocations: 308 kB / 367.3 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00216/0.07835, allocations: 0.8931 MB / 368.2 MB, free: 10.22 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000938/0.07929, allocations: 0.8996 MB / 369.1 MB, free: 9.316 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001409/0.0807, allocations: 0.9665 MB / 370.1 MB, free: 8.348 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005951/0.08665, allocations: 4.378 MB / 374.5 MB, free: 3.957 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.08665, allocations: 0 / 374.5 MB, free: 3.957 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.577e-06/0.08666, allocations: 4 kB / 374.5 MB, free: 3.953 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.987e-05/0.0867, allocations: 0 / 374.5 MB, free: 3.953 MB / 334.1 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.006101/0.09281, allocations: 3.074 MB / 377.6 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.09285, allocations: 8.922 kB / 377.6 MB, free: 0.75 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008763/0.09372, allocations: 311.2 kB / 377.9 MB, free: 456 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002519/0.09624, allocations: 1.373 MB / 379.2 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003589/0.0966, allocations: 406.8 kB / 379.6 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003729/0.09697, allocations: 228.3 kB / 379.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005153/0.1021, allocations: 3.299 MB / 383.2 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.79e-05/0.1022, allocations: 11.94 kB / 383.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002489/0.1024, allocations: 95.97 kB / 383.3 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001276/0.1025, allocations: 99.69 kB / 383.4 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004264/0.1068, allocations: 2.295 MB / 385.7 MB, free: 8.258 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01341/0.1202, allocations: 8.506 MB / 394.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003185/0.1234, allocations: 1.806 MB / 396 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001854/0.1253, allocations: 1.084 MB / 397.1 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00784/0.1331, allocations: 3.813 MB / 400.9 MB, free: 8.695 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002838/0.1359, allocations: 1.939 MB / 402.8 MB, free: 6.574 MB / 366.1 MB Notification: Performance of pre-optimization done (n=207): time 4.538e-06/0.1359, allocations: 4 kB / 402.8 MB, free: 6.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=217): time 0.01737/0.1533, allocations: 8.598 MB / 411.4 MB, free: 13.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004325/0.1538, allocations: 0.6997 MB / 412.1 MB, free: 12.98 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001975/0.1557, allocations: 1.4 MB / 413.5 MB, free: 11.56 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003106/0.156, allocations: 129.7 kB / 413.6 MB, free: 11.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008755/0.1569, allocations: 0.925 MB / 414.6 MB, free: 10.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006905/0.1576, allocations: 0.6239 MB / 415.2 MB, free: 9.867 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009039/0.1585, allocations: 0.5719 MB / 415.8 MB, free: 9.289 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.1586, allocations: 304.9 kB / 416.1 MB, free: 8.992 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001999/0.1606, allocations: 1.061 MB / 417.1 MB, free: 7.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002806/0.1634, allocations: 1.984 MB / 419.1 MB, free: 5.562 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004311/0.1678, allocations: 2.62 MB / 421.7 MB, free: 2.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.27e-05/0.1678, allocations: 8 kB / 421.7 MB, free: 2.652 MB / 382.1 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.006516/0.1743, allocations: 3.277 MB / 425 MB, free: 15.32 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001045/0.1744, allocations: 105.1 kB / 425.1 MB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.764e-05/0.1744, allocations: 16 kB / 425.1 MB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001362/0.1758, allocations: 0.5882 MB / 425.7 MB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001607/0.1774, allocations: 403.1 kB / 426.1 MB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002572/0.18, allocations: 2.258 MB / 428.4 MB, free: 11.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001601/0.1816, allocations: 127.8 kB / 428.5 MB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002663/0.1818, allocations: 124 kB / 428.6 MB, free: 11.61 MB / 398.1 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,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.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) * 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.001433/0.1833, allocations: 0.8135 MB / 429.4 MB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004459/0.1837, allocations: 206.8 kB / 429.6 MB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006288/0.19, allocations: 3.197 MB / 432.8 MB, free: 7.297 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.138e-05/0.19, allocations: 27.98 kB / 432.9 MB, free: 7.27 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/0.19, allocations: 4 kB / 432.9 MB, free: 7.266 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.537e-05/0.1901, allocations: 11.95 kB / 432.9 MB, free: 7.254 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009672/0.1997, allocations: 5.035 MB / 437.9 MB, free: 2.125 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/0.1997, allocations: 0 / 437.9 MB, free: 2.125 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001181/0.2009, allocations: 255.5 kB / 438.2 MB, free: 1.875 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001244/0.2022, allocations: 0.5606 MB / 438.7 MB, free: 1.305 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001805/0.2024, allocations: 67.95 kB / 438.8 MB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002479/0.2048, allocations: 2.235 MB / 441 MB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.2048, allocations: 7.938 kB / 441 MB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008267/0.2131, allocations: 4.53 MB / 445.6 MB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001095/0.2142, allocations: 450.3 kB / 446 MB, free: 9.793 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003872/0.2146, allocations: 75.98 kB / 446.1 MB, free: 9.719 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001177/0.2158, allocations: 103.9 kB / 446.2 MB, free: 9.617 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006064/0.2164, allocations: 269.5 kB / 446.4 MB, free: 9.352 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002222/0.2166, allocations: 99.94 kB / 446.5 MB, free: 9.254 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001302/0.2179, allocations: 0.8535 MB / 447.4 MB, free: 8.398 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2179, allocations: 0 / 447.4 MB, free: 8.398 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002167/0.2201, allocations: 0.6947 MB / 448.1 MB, free: 7.703 MB / 414.1 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 (222): * Single equations (assignments): 186 * 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.002696/0.2228, allocations: 0.915 MB / 449 MB, free: 6.973 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005882/0.2286, allocations: 2.879 MB / 451.9 MB, free: 4.02 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.2286, allocations: 4.125 kB / 451.9 MB, free: 4.016 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003681/0.2323, allocations: 1.66 MB / 453.5 MB, free: 2.301 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003454/0.2358, allocations: 0.6914 MB / 454.2 MB, free: 1.625 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009666/0.2454, allocations: 4.512 MB / 458.7 MB, free: 13.04 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001287/0.2467, allocations: 1.031 MB / 459.8 MB, free: 11.96 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001896/0.2486, allocations: 0.5358 MB / 460.3 MB, free: 11.43 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006941/0.2493, allocations: 220.4 kB / 460.5 MB, free: 11.21 MB / 430.1 MB Notification: Performance of SimCode: time 9.12e-07/0.2493, allocations: 0 / 460.5 MB, free: 11.21 MB / 430.1 MB Notification: Performance of Templates: time 0.2001/0.4494, allocations: 42.61 MB / 0.4913 GB, free: 120.2 MB / 430.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.4104324243962765]