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.001428/0.001428, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.00105/0.00105, allocations: 161 kB / 24.56 MB, free: 16 kB / 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 0.9867/0.9867, allocations: 177.1 MB / 205 MB, free: 5.633 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.703e-06/1.703e-06, allocations: 0 / 273 MB, free: 1.562 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.413e-05/2.583e-05, allocations: 2.312 kB / 273 MB, free: 1.559 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.01199/0.01201, allocations: 12.06 MB / 285 MB, free: 5.445 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008672/0.02068, allocations: 5.326 MB / 290.3 MB, free: 112 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001618/0.0223, allocations: 71.38 kB / 290.4 MB, free: 40 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.118/0.1403, allocations: 0.8312 MB / 291.2 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003043/0.1433, allocations: 1.506 MB / 292.8 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003526/0.1468, allocations: 2.024 MB / 294.8 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005458/0.1523, allocations: 5.087 MB / 299.9 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002531/0.1548, allocations: 1.814 MB / 301.7 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003157/0.158, allocations: 2.421 MB / 304.1 MB, free: 11.56 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00194/0.1599, allocations: 1.467 MB / 305.6 MB, free: 10.89 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000798/0.1607, allocations: 311.4 kB / 305.9 MB, free: 10.89 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001204/0.1619, allocations: 0.6512 MB / 306.5 MB, free: 10.74 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005159/0.1625, allocations: 0.9037 MB / 307.4 MB, free: 10.11 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008903/0.1633, allocations: 0.9706 MB / 308.4 MB, free: 9.582 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002584/0.1659, allocations: 2.671 MB / 311.1 MB, free: 8.004 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1659, allocations: 0 / 311.1 MB, free: 8.004 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1659, allocations: 0 / 311.1 MB, free: 8.004 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.602e-05/0.166, allocations: 0 / 311.1 MB, free: 8.004 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.003751/0.1697, allocations: 3.178 MB / 314.2 MB, free: 5.559 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.1698, allocations: 13.7 kB / 314.3 MB, free: 5.555 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001099/0.1709, allocations: 0.545 MB / 314.8 MB, free: 5.23 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001335/0.1722, allocations: 1.394 MB / 316.2 MB, free: 3.859 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000161/0.1724, allocations: 406.2 kB / 316.6 MB, free: 3.418 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001887/0.1726, allocations: 230.3 kB / 316.8 MB, free: 3.195 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002112/0.1747, allocations: 2.523 MB / 319.3 MB, free: 376 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.539e-05/0.1747, allocations: 11.31 kB / 319.4 MB, free: 368 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000131/0.1748, allocations: 95.11 kB / 319.4 MB, free: 276 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.044e-05/0.1749, allocations: 99.69 kB / 319.5 MB, free: 176 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001738/0.1766, allocations: 1.123 MB / 320.7 MB, free: 15.06 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008566/0.1852, allocations: 10.24 MB / 330.9 MB, free: 4.777 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001473/0.1867, allocations: 1.204 MB / 332.1 MB, free: 3.457 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007439/0.1874, allocations: 0.6379 MB / 332.7 MB, free: 2.773 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004187/0.1916, allocations: 3.519 MB / 336.3 MB, free: 15.28 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001362/0.193, allocations: 1.521 MB / 337.8 MB, free: 13.57 MB / 298.7 MB Notification: Performance of pre-optimization done (n=205): time 4.138e-06/0.193, allocations: 0 / 337.8 MB, free: 13.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=215): time 0.008167/0.2011, allocations: 6.628 MB / 344.4 MB, free: 6.84 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002364/0.2014, allocations: 0.6953 MB / 345.1 MB, free: 5.992 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001244/0.2026, allocations: 1.289 MB / 346.4 MB, free: 4.668 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001688/0.2028, allocations: 125.7 kB / 346.5 MB, free: 4.539 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005864/0.2034, allocations: 0.9996 MB / 347.5 MB, free: 3.559 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004389/0.2038, allocations: 0.6318 MB / 348.2 MB, free: 2.945 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006019/0.2044, allocations: 0.5706 MB / 348.7 MB, free: 2.367 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.2045, allocations: 476.8 kB / 349.2 MB, free: 1.898 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007928/0.2053, allocations: 0.5295 MB / 349.7 MB, free: 1.344 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001271/0.2066, allocations: 1.706 MB / 351.4 MB, free: 15.18 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001872/0.2085, allocations: 1.954 MB / 353.4 MB, free: 12.92 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.22e-05/0.2085, allocations: 11.38 kB / 353.4 MB, free: 12.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=350) (initialization): time 0.003065/0.2115, allocations: 2.292 MB / 355.7 MB, free: 10.68 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.08e-05/0.2116, allocations: 109.2 kB / 355.8 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.677e-05/0.2116, allocations: 20 kB / 355.8 MB, free: 10.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000704/0.2123, allocations: 382 kB / 356.2 MB, free: 10.15 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008494/0.2132, allocations: 399.6 kB / 356.6 MB, free: 9.797 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001368/0.2146, allocations: 2.598 MB / 359.2 MB, free: 7.117 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009974/0.2156, allocations: 119.8 kB / 359.3 MB, free: 7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001498/0.2157, allocations: 116 kB / 359.4 MB, free: 6.887 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,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.0007338/0.2164, allocations: 0.5466 MB / 359.9 MB, free: 6.305 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003656/0.2168, allocations: 274.8 kB / 360.2 MB, free: 6.035 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002866/0.2197, allocations: 2.208 MB / 362.4 MB, free: 3.797 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-05/0.2197, allocations: 31.94 kB / 362.5 MB, free: 3.766 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.2197, allocations: 4 kB / 362.5 MB, free: 3.762 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.444e-05/0.2197, allocations: 11.95 kB / 362.5 MB, free: 3.75 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006158/0.2259, allocations: 3.786 MB / 366.3 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/0.2259, allocations: 4 kB / 366.3 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007705/0.2267, allocations: 247.5 kB / 366.5 MB, free: 15.67 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006676/0.2273, allocations: 350.8 kB / 366.8 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001477/0.2275, allocations: 67.95 kB / 366.9 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00172/0.2292, allocations: 2.568 MB / 369.5 MB, free: 12.59 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.2292, allocations: 11.88 kB / 369.5 MB, free: 12.58 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00442/0.2336, allocations: 2.808 MB / 372.3 MB, free: 9.645 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009869/0.2346, allocations: 426.4 kB / 372.7 MB, free: 9.227 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003298/0.2349, allocations: 71.98 kB / 372.8 MB, free: 9.156 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007425/0.2357, allocations: 91.88 kB / 372.9 MB, free: 9.066 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004189/0.2361, allocations: 217.6 kB / 373.1 MB, free: 8.852 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001638/0.2363, allocations: 87.95 kB / 373.2 MB, free: 8.766 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000863/0.2371, allocations: 0.6824 MB / 373.9 MB, free: 8.082 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2371, allocations: 0 / 373.9 MB, free: 8.082 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001677/0.2388, allocations: 0.6169 MB / 374.5 MB, free: 7.465 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 (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.001512/0.2403, allocations: 0.6859 MB / 375.2 MB, free: 6.93 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003688/0.244, allocations: 1.987 MB / 377.1 MB, free: 4.871 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.244, allocations: 4 kB / 377.2 MB, free: 4.867 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00174/0.2457, allocations: 1.108 MB / 378.3 MB, free: 3.707 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002429/0.2482, allocations: 0.7589 MB / 379 MB, free: 2.973 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006811/0.255, allocations: 3.942 MB / 383 MB, free: 14.94 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004042/0.2554, allocations: 455.5 kB / 383.4 MB, free: 14.46 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001661/0.257, allocations: 485 kB / 383.9 MB, free: 13.99 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005339/0.2576, allocations: 220.4 kB / 384.1 MB, free: 13.77 MB / 346.7 MB Notification: Performance of SimCode: time 1.713e-06/0.2576, allocations: 0 / 384.1 MB, free: 13.77 MB / 346.7 MB Notification: Performance of Templates: time 0.0496/0.3072, allocations: 40.33 MB / 424.4 MB, free: 5.98 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: 4.269490688573569]