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.001437/0.001437, allocations: 72.08 kB / 21.69 MB, free: 2.859 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.001013/0.001013, allocations: 143.2 kB / 24.97 MB, free: 8.781 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 1.027/1.027, allocations: 173.3 MB / 201.5 MB, free: 9.324 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 2.385e-06/2.385e-06, allocations: 0 / 268 MB, free: 6.734 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.593e-05/2.831e-05, allocations: 14.19 kB / 268.1 MB, free: 6.719 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.1369/0.1369, allocations: 28.46 MB / 296.5 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008278/0.1452, allocations: 7.602 MB / 304.1 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001117/0.1463, allocations: 68.62 kB / 304.2 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001698/0.148, allocations: 1.018 MB / 305.2 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002626/0.1506, allocations: 1.64 MB / 306.9 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004275/0.1549, allocations: 2.332 MB / 309.2 MB, free: 11.69 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004413/0.1593, allocations: 5.098 MB / 314.3 MB, free: 8.961 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001803/0.1611, allocations: 1.796 MB / 316.1 MB, free: 7.723 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002432/0.1636, allocations: 2.497 MB / 318.6 MB, free: 6.125 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001759/0.1653, allocations: 1.456 MB / 320 MB, free: 5.258 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004951/0.1658, allocations: 314.6 kB / 320.3 MB, free: 5.254 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001511/0.1673, allocations: 0.8861 MB / 321.2 MB, free: 4.895 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000417/0.1677, allocations: 0.9035 MB / 322.1 MB, free: 3.988 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006885/0.1684, allocations: 0.9626 MB / 323.1 MB, free: 3.023 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002368/0.1708, allocations: 2.858 MB / 326 MB, free: 160 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1708, allocations: 0 / 326 MB, free: 160 kB / 266.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1708, allocations: 0 / 326 MB, free: 160 kB / 266.7 MB Notification: Performance of Transformations before backend: time 2.026e-05/0.1708, allocations: 4 kB / 326 MB, free: 156 kB / 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.003726/0.1745, allocations: 3.193 MB / 329.1 MB, free: 12.83 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.1746, allocations: 12.91 kB / 329.2 MB, free: 12.82 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007674/0.1754, allocations: 0.4911 MB / 329.7 MB, free: 12.32 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001522/0.1769, allocations: 1.376 MB / 331 MB, free: 10.9 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002228/0.1771, allocations: 412.5 kB / 331.4 MB, free: 10.45 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002345/0.1773, allocations: 236.3 kB / 331.7 MB, free: 10.22 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002638/0.18, allocations: 2.539 MB / 334.2 MB, free: 7.352 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.024e-05/0.18, allocations: 15.83 kB / 334.2 MB, free: 7.336 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001597/0.1802, allocations: 87.98 kB / 334.3 MB, free: 7.25 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.849e-05/0.1802, allocations: 99.69 kB / 334.4 MB, free: 7.152 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002182/0.1824, allocations: 1.139 MB / 335.5 MB, free: 5.992 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007843/0.1903, allocations: 9.641 MB / 345.2 MB, free: 12.13 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001548/0.1918, allocations: 1.23 MB / 346.4 MB, free: 10.78 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008141/0.1926, allocations: 0.6561 MB / 347.1 MB, free: 10.07 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004487/0.1971, allocations: 3.59 MB / 350.7 MB, free: 6.449 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001433/0.1986, allocations: 1.536 MB / 352.2 MB, free: 4.719 MB / 298.7 MB Notification: Performance of pre-optimization done (n=207): time 3.867e-06/0.1986, allocations: 0 / 352.2 MB, free: 4.719 MB / 298.7 MB Notification: Performance of matching and sorting (n=217): time 0.008405/0.207, allocations: 6.624 MB / 358.8 MB, free: 13.95 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002198/0.2072, allocations: 0.6918 MB / 359.5 MB, free: 13.11 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/0.2083, allocations: 1.253 MB / 360.8 MB, free: 11.81 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001658/0.2085, allocations: 125.7 kB / 360.9 MB, free: 11.68 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005411/0.209, allocations: 0.9789 MB / 361.9 MB, free: 10.7 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004334/0.2095, allocations: 0.6356 MB / 362.5 MB, free: 10.05 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000603/0.2101, allocations: 0.5827 MB / 363.1 MB, free: 9.465 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003481/0.2104, allocations: 484.7 kB / 363.6 MB, free: 8.988 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000864/0.2113, allocations: 0.5373 MB / 364.1 MB, free: 8.43 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001358/0.2126, allocations: 1.723 MB / 365.8 MB, free: 6.242 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001995/0.2146, allocations: 1.945 MB / 367.8 MB, free: 3.918 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.199e-05/0.2147, allocations: 4 kB / 367.8 MB, free: 3.914 MB / 314.7 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.003435/0.2181, allocations: 2.346 MB / 370.1 MB, free: 1.512 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.83e-05/0.2182, allocations: 112.2 kB / 370.2 MB, free: 1.387 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.232e-05/0.2182, allocations: 25.17 kB / 370.2 MB, free: 1.363 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006374/0.2188, allocations: 378.8 kB / 370.6 MB, free: 0.9805 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008096/0.2196, allocations: 411.1 kB / 371 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001273/0.2209, allocations: 2.598 MB / 373.6 MB, free: 13.89 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007213/0.2216, allocations: 119.8 kB / 373.7 MB, free: 13.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001536/0.2218, allocations: 127.9 kB / 373.9 MB, free: 13.64 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,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.0006291/0.2224, allocations: 0.5387 MB / 374.4 MB, free: 13.07 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003261/0.2227, allocations: 278.8 kB / 374.7 MB, free: 12.79 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002958/0.2257, allocations: 2.25 MB / 376.9 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-05/0.2257, allocations: 31.94 kB / 376.9 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.2257, allocations: 8 kB / 377 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.7e-05/0.2257, allocations: 11.95 kB / 377 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004979/0.2307, allocations: 3.855 MB / 380.8 MB, free: 6.488 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.2307, allocations: 4 kB / 380.8 MB, free: 6.484 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005659/0.2313, allocations: 255.5 kB / 381.1 MB, free: 6.234 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005221/0.2318, allocations: 354.8 kB / 381.4 MB, free: 5.875 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001117/0.2319, allocations: 67.95 kB / 381.5 MB, free: 5.809 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001126/0.233, allocations: 2.576 MB / 384.1 MB, free: 3.137 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.233, allocations: 0 / 384.1 MB, free: 3.137 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003695/0.2367, allocations: 2.876 MB / 386.9 MB, free: 96 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005451/0.2373, allocations: 438.5 kB / 387.4 MB, free: 15.66 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002312/0.2375, allocations: 83.91 kB / 387.4 MB, free: 15.58 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000507/0.238, allocations: 96.06 kB / 387.5 MB, free: 15.48 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003322/0.2384, allocations: 229.6 kB / 387.8 MB, free: 15.26 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001286/0.2385, allocations: 95.94 kB / 387.9 MB, free: 15.17 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006178/0.2391, allocations: 0.6658 MB / 388.5 MB, free: 14.5 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2391, allocations: 4 kB / 388.5 MB, free: 14.5 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001303/0.2404, allocations: 0.6908 MB / 389.2 MB, free: 13.81 MB / 346.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 (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.001438/0.2418, allocations: 0.8643 MB / 390.1 MB, free: 13.08 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002794/0.2446, allocations: 2.002 MB / 392.1 MB, free: 11 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.2446, allocations: 4.062 kB / 392.1 MB, free: 10.99 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001347/0.246, allocations: 1.131 MB / 393.2 MB, free: 9.801 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001663/0.2477, allocations: 0.7516 MB / 394 MB, free: 9.066 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005215/0.2529, allocations: 3.964 MB / 397.9 MB, free: 4.996 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.2532, allocations: 451.8 kB / 398.4 MB, free: 4.523 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001255/0.2544, allocations: 0.4966 MB / 398.9 MB, free: 4.027 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004197/0.2549, allocations: 232.3 kB / 399.1 MB, free: 3.801 MB / 346.7 MB Notification: Performance of SimCode: time 9.32e-07/0.2549, allocations: 0 / 399.1 MB, free: 3.801 MB / 346.7 MB Notification: Performance of Templates: time 0.1389/0.3937, allocations: 42.78 MB / 441.9 MB, free: 131.7 MB / 378.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.186897312058136]