Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 71.77 kB / 21.69 MB, free: 2.855 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 165.7 kB / 24.99 MB, free: 8.789 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.016/1.016, allocations: 177.1 MB / 205.3 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 273 MB, free: 1.867 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.607e-05/2.792e-05, allocations: 2.312 kB / 273 MB, free: 1.863 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.1314/0.1315, allocations: 28.65 MB / 301.7 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007892/0.1393, allocations: 7.682 MB / 309.4 MB, free: 9.328 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001089/0.1404, allocations: 68.62 kB / 309.4 MB, free: 9.293 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001566/0.142, allocations: 1.012 MB / 310.5 MB, free: 8.812 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002152/0.1441, allocations: 1.722 MB / 312.2 MB, free: 7.746 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003397/0.1475, allocations: 2.221 MB / 314.4 MB, free: 6.004 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003005/0.1506, allocations: 5.127 MB / 319.5 MB, free: 2.891 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00141/0.152, allocations: 1.806 MB / 321.3 MB, free: 1.57 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001799/0.1538, allocations: 2.518 MB / 323.9 MB, free: 15.46 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00137/0.1551, allocations: 1.465 MB / 325.3 MB, free: 13.99 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003512/0.1555, allocations: 312 kB / 325.6 MB, free: 13.68 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001196/0.1567, allocations: 0.8931 MB / 326.5 MB, free: 12.79 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005473/0.1572, allocations: 0.9035 MB / 327.4 MB, free: 11.88 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007524/0.158, allocations: 0.9633 MB / 328.4 MB, free: 10.92 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002313/0.1603, allocations: 2.904 MB / 331.3 MB, free: 8.004 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1603, allocations: 0 / 331.3 MB, free: 8.004 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1603, allocations: 0 / 331.3 MB, free: 8.004 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.513e-05/0.1603, allocations: 0 / 331.3 MB, free: 8.004 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.003054/0.1634, allocations: 3.208 MB / 334.5 MB, free: 4.668 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.1634, allocations: 8.031 kB / 334.5 MB, free: 4.66 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/0.1645, allocations: 0.5534 MB / 335.1 MB, free: 4.105 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001398/0.1659, allocations: 1.396 MB / 336.4 MB, free: 2.652 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002048/0.1661, allocations: 410.8 kB / 336.9 MB, free: 2.203 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002205/0.1663, allocations: 236.3 kB / 337.1 MB, free: 1.973 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002316/0.1686, allocations: 2.523 MB / 339.6 MB, free: 15.12 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.506e-05/0.1687, allocations: 8 kB / 339.6 MB, free: 15.11 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001511/0.1688, allocations: 95.92 kB / 339.7 MB, free: 15.02 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.977e-05/0.1689, allocations: 99.69 kB / 339.8 MB, free: 14.92 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001621/0.1705, allocations: 1.123 MB / 340.9 MB, free: 13.78 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007656/0.1782, allocations: 10.24 MB / 351.2 MB, free: 3.273 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001313/0.1795, allocations: 1.214 MB / 352.4 MB, free: 1.926 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007061/0.1802, allocations: 0.637 MB / 353 MB, free: 1.238 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003754/0.1839, allocations: 3.524 MB / 356.5 MB, free: 13.68 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001199/0.1851, allocations: 1.516 MB / 358.1 MB, free: 11.97 MB / 314.7 MB Notification: Performance of pre-optimization done (n=205): time 3.096e-06/0.1851, allocations: 8 kB / 358.1 MB, free: 11.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=215): time 0.007421/0.1925, allocations: 6.636 MB / 364.7 MB, free: 5.188 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001936/0.1927, allocations: 0.6918 MB / 365.4 MB, free: 4.34 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/0.1938, allocations: 1.278 MB / 366.7 MB, free: 3.023 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001377/0.1939, allocations: 125.7 kB / 366.8 MB, free: 2.895 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004848/0.1944, allocations: 0.9947 MB / 367.8 MB, free: 1.891 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003676/0.1947, allocations: 0.6317 MB / 368.4 MB, free: 1.254 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000533/0.1953, allocations: 0.5707 MB / 369 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003124/0.1956, allocations: 480.7 kB / 369.5 MB, free: 208 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007395/0.1963, allocations: 0.5294 MB / 370 MB, free: 15.65 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001221/0.1975, allocations: 1.715 MB / 371.7 MB, free: 13.48 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001737/0.1993, allocations: 1.954 MB / 373.7 MB, free: 11.14 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/0.1993, allocations: 4 kB / 373.7 MB, free: 11.13 MB / 330.7 MB Notification: Performance of matching and sorting (n=350) (initialization): time 0.002886/0.2022, allocations: 2.301 MB / 376 MB, free: 8.777 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.817e-05/0.2022, allocations: 107.1 kB / 376.1 MB, free: 8.656 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.676e-05/0.2023, allocations: 20 kB / 376.1 MB, free: 8.637 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005844/0.2028, allocations: 382.8 kB / 376.5 MB, free: 8.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007715/0.2036, allocations: 407.2 kB / 376.9 MB, free: 7.852 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001146/0.2048, allocations: 2.597 MB / 379.5 MB, free: 5.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006026/0.2054, allocations: 123.8 kB / 379.6 MB, free: 5.039 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001343/0.2055, allocations: 116 kB / 379.7 MB, free: 4.926 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: 186 ($PRE.tankController.normal.T1.enableFire,$PRE.tankController.normal.T3.enableFire,$PRE.tankController.normal.T2.enableFire,$PRE.tankController.normal.T4.enableFire,$PRE.tankController.T1.enableFire,$PRE.tankController.T2.enableFire,$PRE.tankController.T3.enableFire,$PRE.tankController.T4.enableFire,$PRE.tankController.T5.enableFire,$PRE.tankController.T6.enableFire,$PRE.start.pre_reset[1],$PRE.start.pre_reset[2],$PRE.stop.pre_reset[1],$PRE.stop.pre_reset[2],$PRE.shut.pre_reset[1],$PRE.shut.pre_reset[2],tankController.T6.t_start,$PRE.tankController.T6.t_start,tankController.T5.t_start,$PRE.tankController.T5.t_start,tankController.T4.t_start,$PRE.tankController.T4.t_start,tankController.T3.t_start,$PRE.tankController.T3.t_start,tankController.T2.t_start,$PRE.tankController.T2.t_start,tankController.T1.t_start,$PRE.tankController.T1.t_start,tankController.normal.T3.t_start,$PRE.tankController.normal.T3.t_start,tankController.normal.T1.t_start,$PRE.tankController.normal.T1.t_start,$PRE.shut.table.combiTimeTable.nextTimeEvent,$whenCondition6,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition5,$PRE.start.table.combiTimeTable.nextTimeEvent,$whenCondition4,shut.pre_reset[2],shut.pre_reset[1],shut.table.combiTimeTable.nextTimeEventScaled,$PRE.shut.table.combiTimeTable.nextTimeEventScaled,shut.table.combiTimeTable.nextTimeEvent,shut.table.y,$PRE.shut.table.y,$PRE.shut.reset[2],$PRE.shut.reset[1],$whenCondition9,$whenCondition7,$whenCondition8,stop.pre_reset[2],stop.pre_reset[1],stop.table.combiTimeTable.nextTimeEventScaled,$PRE.stop.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEvent,stop.table.y,$PRE.stop.table.y,$PRE.stop.reset[2],$PRE.stop.reset[1],$whenCondition12,$whenCondition10,$whenCondition11,start.pre_reset[2],start.pre_reset[1],start.table.combiTimeTable.nextTimeEventScaled,$PRE.start.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEvent,start.table.y,$PRE.start.table.y,$PRE.start.reset[2],$PRE.start.reset[1],$whenCondition15,$whenCondition13,$whenCondition14,tankController.stateGraphRoot.resume,tankController.stateGraphRoot.suspend,tankController.normal.T4.condition,tankController.normal.T2.condition,tank2.inFlow[2],tank2.inFlow[1],tank2.regularFlow[2],tank2.regularFlow[1],tank1.inFlow[2],tank1.inFlow[1],tank1.regularFlow[2],tank1.regularFlow[1],shut.on,$PRE.shut.on,shut.reset[2],shut.reset[1],stop.on,$PRE.stop.on,stop.reset[2],stop.reset[1],start.on,$PRE.start.on,start.reset[2],start.reset[1],tankController.stateGraphRoot.activeSteps,tankController.valve3,tankController.valve2,tankController.T6.enableFire,tankController.T6.localCondition,tankController.emptyTanks.oldActive,$PRE.tankController.emptyTanks.oldActive,tankController.emptyTanks.newActive,$PRE.tankController.emptyTanks.newActive,tankController.emptyTanks.localActive,$PRE.tankController.emptyTanks.localActive,tankController.emptyTanks.active,tankController.T5.enableFire,tankController.T4.enableFire,tankController.s2.oldActive,$PRE.tankController.s2.oldActive,tankController.s2.newActive,$PRE.tankController.s2.newActive,tankController.s2.outPort[2].available,tankController.s2.localActive,$PRE.tankController.s2.localActive,tankController.s2.active,tankController.T3.enableFire,tankController.T2.enableFire,tankController.T2.localCondition,tankController.T1.enableFire,tankController.normal.T4.t_start,$PRE.tankController.normal.T4.t_start,tankController.normal.T4.fire,tankController.normal.T4.enableFire,tankController.normal.wait2.oldActive,$PRE.tankController.normal.wait2.oldActive,tankController.normal.wait2.newActive,$PRE.tankController.normal.wait2.newActive,tankController.normal.wait2.localActive,$PRE.tankController.normal.wait2.localActive,tankController.normal.wait2.active,tankController.normal.T2.t_start,$PRE.tankController.normal.T2.t_start,tankController.normal.T2.fire,tankController.normal.T2.enableFire,tankController.normal.wait1.oldActive,$PRE.tankController.normal.wait1.oldActive,tankController.normal.wait1.newActive,$PRE.tankController.normal.wait1.newActive,tankController.normal.wait1.localActive,$PRE.tankController.normal.wait1.localActive,tankController.normal.wait1.active,tankController.normal.emptyTank2.oldActive,$PRE.tankController.normal.emptyTank2.oldActive,tankController.normal.emptyTank2.newActive,$PRE.tankController.normal.emptyTank2.newActive,tankController.normal.emptyTank2.localActive,$PRE.tankController.normal.emptyTank2.localActive,tankController.normal.emptyTank2.active,tankController.normal.T3.enableFire,tankController.normal.T3.localCondition,tankController.normal.fillTank2.oldActive,$PRE.tankController.normal.fillTank2.oldActive,tankController.normal.fillTank2.newActive,$PRE.tankController.normal.fillTank2.newActive,tankController.normal.fillTank2.localActive,$PRE.tankController.normal.fillTank2.localActive,tankController.normal.fillTank2.active,tankController.normal.T1.enableFire,tankController.normal.T1.localCondition,tankController.normal.fillTank1.oldActive,$PRE.tankController.normal.fillTank1.oldActive,tankController.normal.fillTank1.newActive,$PRE.tankController.normal.fillTank1.newActive,tankController.normal.fillTank1.localActive,$PRE.tankController.normal.fillTank1.localActive,tankController.normal.fillTank1.active,tankController.normal.activeSteps,tankController.normal.newActive,$PRE.tankController.normal.newActive,tankController.normal.active,tankController.s1.oldActive,$PRE.tankController.s1.oldActive,tankController.s1.newActive,$PRE.tankController.s1.newActive,tankController.s1.inPort[2].occupied,tankController.s1.localActive,$PRE.tankController.s1.localActive,tankController.s1.active,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (323): * Single equations (assignments): 317 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,3), (4,4), (2,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0005445/0.206, allocations: 0.5423 MB / 380.2 MB, free: 4.344 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003026/0.2063, allocations: 274.8 kB / 380.5 MB, free: 4.074 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002751/0.2091, allocations: 2.208 MB / 382.7 MB, free: 1.832 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.84e-05/0.2091, allocations: 27.98 kB / 382.7 MB, free: 1.805 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.2091, allocations: 0 / 382.7 MB, free: 1.805 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.435e-05/0.2091, allocations: 11.97 kB / 382.8 MB, free: 1.793 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004569/0.2137, allocations: 3.789 MB / 386.5 MB, free: 13.9 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.2137, allocations: 0 / 386.5 MB, free: 13.9 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005548/0.2143, allocations: 251.6 kB / 386.8 MB, free: 13.65 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005116/0.2148, allocations: 362.8 kB / 387.1 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001004/0.2149, allocations: 63.97 kB / 387.2 MB, free: 13.22 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001098/0.216, allocations: 2.568 MB / 389.8 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.216, allocations: 7.938 kB / 389.8 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003412/0.2194, allocations: 2.797 MB / 392.6 MB, free: 7.625 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005078/0.2199, allocations: 426.4 kB / 393 MB, free: 7.207 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002158/0.2201, allocations: 83.86 kB / 393.1 MB, free: 7.125 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004872/0.2206, allocations: 83.94 kB / 393.2 MB, free: 7.043 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003085/0.2209, allocations: 217.6 kB / 393.4 MB, free: 6.828 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001131/0.221, allocations: 91.95 kB / 393.5 MB, free: 6.738 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006103/0.2216, allocations: 0.6862 MB / 394.1 MB, free: 6.051 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2216, allocations: 0 / 394.1 MB, free: 6.051 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00122/0.2228, allocations: 0.6869 MB / 394.8 MB, free: 5.363 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: 113 (tankController.T3.enableFire,tankController.emptyTanks.localActive,tankController.s2.localActive,tankController.normal.T4.enableFire,tankController.normal.wait2.localActive,tankController.normal.T2.enableFire,tankController.normal.wait1.localActive,tankController.normal.emptyTank2.localActive,tankController.normal.fillTank2.localActive,tankController.normal.fillTank1.active,tankController.s1.localActive,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition8,$whenCondition7,$whenCondition9,$whenCondition11,$whenCondition10,$whenCondition12,$whenCondition14,$whenCondition13,$whenCondition15,tankController.s1.active,tankController.s1.inPort[2].occupied,tankController.s1.newActive,tankController.s1.oldActive,tankController.normal.active,tankController.normal.newActive,tankController.normal.activeSteps,tankController.normal.fillTank1.localActive,tankController.normal.fillTank1.newActive,tankController.normal.fillTank1.oldActive,tankController.normal.T1.localCondition,tankController.normal.T1.enableFire,tankController.normal.fillTank2.active,tankController.normal.fillTank2.newActive,tankController.normal.fillTank2.oldActive,tankController.normal.T3.localCondition,tankController.normal.T3.enableFire,tankController.normal.emptyTank2.active,tankController.normal.emptyTank2.newActive,tankController.normal.emptyTank2.oldActive,tankController.normal.wait1.active,tankController.normal.wait1.newActive,tankController.normal.wait1.oldActive,tankController.normal.T2.fire,tankController.normal.T2.t_start,tankController.normal.wait2.active,tankController.normal.wait2.newActive,tankController.normal.wait2.oldActive,tankController.normal.T4.fire,tankController.normal.T4.t_start,tankController.T1.enableFire,tankController.T2.localCondition,tankController.T2.enableFire,tankController.s2.active,tankController.s2.outPort[2].available,tankController.s2.newActive,tankController.s2.oldActive,tankController.T4.enableFire,tankController.T5.enableFire,tankController.emptyTanks.active,tankController.emptyTanks.newActive,tankController.emptyTanks.oldActive,tankController.T6.localCondition,tankController.T6.enableFire,tankController.valve2,tankController.valve3,tankController.stateGraphRoot.activeSteps,start.reset[1],start.reset[2],start.on,start.table.y,start.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEventScaled,start.pre_reset[1],start.pre_reset[2],stop.reset[1],stop.reset[2],stop.on,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEventScaled,stop.pre_reset[1],stop.pre_reset[2],shut.reset[1],shut.reset[2],shut.on,shut.table.y,shut.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEventScaled,shut.pre_reset[1],shut.pre_reset[2],tank1.regularFlow[1],tank1.regularFlow[2],tank1.inFlow[1],tank1.inFlow[2],tank2.regularFlow[1],tank2.regularFlow[2],tank2.inFlow[1],tank2.inFlow[2],tankController.normal.T1.t_start,tankController.normal.T3.t_start,tankController.T1.t_start,tankController.T2.t_start,tankController.T3.t_start,tankController.T4.t_start,tankController.T5.t_start,tankController.T6.t_start) * Number of discrete states: 50 (tankController.T6.t_start,tankController.T5.t_start,tankController.T4.t_start,tankController.T3.t_start,tankController.T2.t_start,tankController.T1.t_start,tankController.normal.T3.t_start,tankController.normal.T1.t_start,shut.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEvent,tankController.s1.newActive,tankController.normal.fillTank1.newActive,tankController.normal.fillTank2.newActive,tankController.normal.emptyTank2.newActive,tankController.normal.wait1.newActive,tankController.normal.wait2.newActive,tankController.normal.newActive,tankController.s2.newActive,tankController.emptyTanks.newActive,shut.table.combiTimeTable.nextTimeEventScaled,$whenCondition9,shut.on,$whenCondition8,$whenCondition7,shut.pre_reset[2],shut.pre_reset[1],shut.reset[1],shut.reset[2],shut.table.y,stop.table.combiTimeTable.nextTimeEventScaled,$whenCondition12,stop.on,$whenCondition11,$whenCondition10,stop.pre_reset[2],stop.pre_reset[1],stop.reset[1],stop.reset[2],stop.table.y,start.table.combiTimeTable.nextTimeEventScaled,$whenCondition15,start.on,$whenCondition14,$whenCondition13,start.pre_reset[2],start.pre_reset[1],start.reset[1],start.reset[2],start.table.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (215): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 6 * When equations: 24 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,3), (4,4), (2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001276/0.2241, allocations: 0.8227 MB / 395.7 MB, free: 4.676 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002482/0.2266, allocations: 1.982 MB / 397.6 MB, free: 2.621 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2266, allocations: 0 / 397.6 MB, free: 2.621 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001251/0.2279, allocations: 1.112 MB / 398.7 MB, free: 1.453 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001585/0.2294, allocations: 0.76 MB / 399.5 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004591/0.234, allocations: 3.943 MB / 403.5 MB, free: 12.67 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003141/0.2343, allocations: 455.5 kB / 403.9 MB, free: 12.2 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0008591/0.2352, allocations: 485.3 kB / 404.4 MB, free: 11.72 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005059/0.2357, allocations: 212.4 kB / 404.6 MB, free: 11.52 MB / 362.7 MB Notification: Performance of SimCode: time 7.21e-07/0.2357, allocations: 0 / 404.6 MB, free: 11.52 MB / 362.7 MB Notification: Performance of Templates: time 0.139/0.3747, allocations: 42.39 MB / 447 MB, free: 123.5 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; mkfifo Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe >> ../files/Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.sim & ./Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.9877210799604654]