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.001025/0.001025, allocations: 83.59 kB / 21.18 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.0009354/0.0009354, allocations: 165 kB / 24.56 MB, free: 12 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.9695/0.9695, allocations: 177.1 MB / 205 MB, free: 5.609 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 2.444e-06/2.444e-06, allocations: 3.984 kB / 273 MB, free: 1.543 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.466e-05/1.71e-05, allocations: 2.312 kB / 273 MB, free: 1.539 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.009475/0.009492, allocations: 12.06 MB / 285 MB, free: 5.426 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007024/0.01652, allocations: 5.33 MB / 290.4 MB, free: 92 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009746/0.01749, allocations: 71.38 kB / 290.4 MB, free: 20 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1129/0.1304, allocations: 0.8257 MB / 291.3 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003003/0.1334, allocations: 1.518 MB / 292.8 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003156/0.1365, allocations: 2.031 MB / 294.8 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005119/0.1416, allocations: 5.084 MB / 299.9 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002085/0.1437, allocations: 1.806 MB / 301.7 MB, free: 12.53 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002986/0.1467, allocations: 2.541 MB / 304.2 MB, free: 11.54 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001474/0.1482, allocations: 1.42 MB / 305.7 MB, free: 10.88 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005024/0.1487, allocations: 306.9 kB / 306 MB, free: 10.88 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009933/0.1497, allocations: 0.638 MB / 306.6 MB, free: 10.72 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004541/0.1501, allocations: 0.881 MB / 307.5 MB, free: 10.11 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007826/0.1509, allocations: 0.95 MB / 308.4 MB, free: 9.602 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001986/0.1529, allocations: 2.662 MB / 311.1 MB, free: 8.039 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1529, allocations: 0 / 311.1 MB, free: 8.039 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1529, allocations: 3.938 kB / 311.1 MB, free: 8.035 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.47e-05/0.1529, allocations: 0 / 311.1 MB, free: 8.035 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.002873/0.1558, allocations: 3.157 MB / 314.2 MB, free: 5.609 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.1558, allocations: 9.438 kB / 314.3 MB, free: 5.609 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009879/0.1568, allocations: 0.5447 MB / 314.8 MB, free: 5.285 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00129/0.1581, allocations: 1.506 MB / 316.3 MB, free: 3.809 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001399/0.1583, allocations: 409.9 kB / 316.7 MB, free: 3.363 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001858/0.1584, allocations: 227.6 kB / 316.9 MB, free: 3.145 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001985/0.1604, allocations: 2.533 MB / 319.5 MB, free: 308 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.66e-05/0.1605, allocations: 15.22 kB / 319.5 MB, free: 296 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001353/0.1606, allocations: 93.45 kB / 319.6 MB, free: 208 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.259e-05/0.1607, allocations: 99.69 kB / 319.7 MB, free: 108 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001621/0.1623, allocations: 1.123 MB / 320.8 MB, free: 15 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007925/0.1702, allocations: 10.22 MB / 331 MB, free: 4.73 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001346/0.1715, allocations: 1.201 MB / 332.2 MB, free: 3.414 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006941/0.1722, allocations: 0.6472 MB / 332.9 MB, free: 2.727 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003575/0.1758, allocations: 3.493 MB / 336.3 MB, free: 15.25 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001576/0.1774, allocations: 1.524 MB / 337.9 MB, free: 13.54 MB / 298.7 MB Notification: Performance of pre-optimization done (n=205): time 2.875e-06/0.1774, allocations: 0 / 337.9 MB, free: 13.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=215): time 0.00759/0.185, allocations: 6.628 MB / 344.5 MB, free: 6.812 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002052/0.1852, allocations: 0.6982 MB / 345.2 MB, free: 5.961 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001046/0.1862, allocations: 1.259 MB / 346.5 MB, free: 4.664 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001514/0.1864, allocations: 129.7 kB / 346.6 MB, free: 4.531 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005058/0.1869, allocations: 0.9958 MB / 347.6 MB, free: 3.555 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004006/0.1873, allocations: 0.6255 MB / 348.2 MB, free: 2.945 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006192/0.1879, allocations: 0.5746 MB / 348.8 MB, free: 2.363 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.188, allocations: 476.8 kB / 349.2 MB, free: 1.895 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000787/0.1888, allocations: 0.5256 MB / 349.8 MB, free: 1.344 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001485/0.1903, allocations: 1.714 MB / 351.5 MB, free: 15.18 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001824/0.1921, allocations: 1.956 MB / 353.4 MB, free: 12.91 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.177e-06/0.1921, allocations: 4 kB / 353.4 MB, free: 12.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=350) (initialization): time 0.002714/0.1948, allocations: 2.293 MB / 355.7 MB, free: 10.68 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.105e-05/0.1949, allocations: 113.1 kB / 355.8 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/0.1949, allocations: 20.86 kB / 355.9 MB, free: 10.53 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005852/0.1955, allocations: 380.9 kB / 356.2 MB, free: 10.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007804/0.1963, allocations: 410.8 kB / 356.6 MB, free: 9.785 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001447/0.1977, allocations: 2.599 MB / 359.2 MB, free: 7.094 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006422/0.1984, allocations: 111.9 kB / 359.4 MB, free: 6.984 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001389/0.1985, allocations: 116 kB / 359.5 MB, free: 6.871 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.0005346/0.1991, allocations: 0.5384 MB / 360 MB, free: 6.293 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002956/0.1993, allocations: 282.8 kB / 360.3 MB, free: 6.016 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002662/0.202, allocations: 2.204 MB / 362.5 MB, free: 3.781 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-05/0.202, allocations: 24 kB / 362.5 MB, free: 3.758 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.202, allocations: 3.984 kB / 362.5 MB, free: 3.754 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.414e-05/0.202, allocations: 11.97 kB / 362.5 MB, free: 3.742 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00448/0.2065, allocations: 3.758 MB / 366.3 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.2065, allocations: 0 / 366.3 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005455/0.2071, allocations: 243.6 kB / 366.5 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004942/0.2076, allocations: 354.8 kB / 366.9 MB, free: 15.34 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001043/0.2077, allocations: 67.95 kB / 366.9 MB, free: 15.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001022/0.2087, allocations: 2.568 MB / 369.5 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.2087, allocations: 4 kB / 369.5 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003055/0.2118, allocations: 2.788 MB / 372.3 MB, free: 9.699 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007173/0.2125, allocations: 418.5 kB / 372.7 MB, free: 9.289 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002154/0.2127, allocations: 83.86 kB / 372.8 MB, free: 9.207 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004847/0.2132, allocations: 79.95 kB / 372.9 MB, free: 9.129 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003091/0.2135, allocations: 217.5 kB / 373.1 MB, free: 8.914 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001149/0.2136, allocations: 91.95 kB / 373.2 MB, free: 8.824 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005646/0.2142, allocations: 0.6628 MB / 373.8 MB, free: 8.16 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2142, allocations: 0 / 373.8 MB, free: 8.16 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001007/0.2152, allocations: 0.6129 MB / 374.4 MB, free: 7.547 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (tank1.level,tank1.medium.T,tank2.level,tank2.medium.T) * Number of discrete variables: 113 (tankController.T3.enableFire,tankController.emptyTanks.localActive,tankController.s2.localActive,tankController.normal.T4.enableFire,tankController.normal.wait2.localActive,tankController.normal.T2.enableFire,tankController.normal.wait1.localActive,tankController.normal.emptyTank2.localActive,tankController.normal.fillTank2.localActive,tankController.normal.fillTank1.active,tankController.s1.localActive,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition8,$whenCondition7,$whenCondition9,$whenCondition11,$whenCondition10,$whenCondition12,$whenCondition14,$whenCondition13,$whenCondition15,tankController.s1.active,tankController.s1.inPort[2].occupied,tankController.s1.newActive,tankController.s1.oldActive,tankController.normal.active,tankController.normal.newActive,tankController.normal.activeSteps,tankController.normal.fillTank1.localActive,tankController.normal.fillTank1.newActive,tankController.normal.fillTank1.oldActive,tankController.normal.T1.localCondition,tankController.normal.T1.enableFire,tankController.normal.fillTank2.active,tankController.normal.fillTank2.newActive,tankController.normal.fillTank2.oldActive,tankController.normal.T3.localCondition,tankController.normal.T3.enableFire,tankController.normal.emptyTank2.active,tankController.normal.emptyTank2.newActive,tankController.normal.emptyTank2.oldActive,tankController.normal.wait1.active,tankController.normal.wait1.newActive,tankController.normal.wait1.oldActive,tankController.normal.T2.fire,tankController.normal.T2.t_start,tankController.normal.wait2.active,tankController.normal.wait2.newActive,tankController.normal.wait2.oldActive,tankController.normal.T4.fire,tankController.normal.T4.t_start,tankController.T1.enableFire,tankController.T2.localCondition,tankController.T2.enableFire,tankController.s2.active,tankController.s2.outPort[2].available,tankController.s2.newActive,tankController.s2.oldActive,tankController.T4.enableFire,tankController.T5.enableFire,tankController.emptyTanks.active,tankController.emptyTanks.newActive,tankController.emptyTanks.oldActive,tankController.T6.localCondition,tankController.T6.enableFire,tankController.valve2,tankController.valve3,tankController.stateGraphRoot.activeSteps,start.reset[1],start.reset[2],start.on,start.table.y,start.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEventScaled,start.pre_reset[1],start.pre_reset[2],stop.reset[1],stop.reset[2],stop.on,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEventScaled,stop.pre_reset[1],stop.pre_reset[2],shut.reset[1],shut.reset[2],shut.on,shut.table.y,shut.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEventScaled,shut.pre_reset[1],shut.pre_reset[2],tank1.regularFlow[1],tank1.regularFlow[2],tank1.inFlow[1],tank1.inFlow[2],tank2.regularFlow[1],tank2.regularFlow[2],tank2.inFlow[1],tank2.inFlow[2],tankController.normal.T1.t_start,tankController.normal.T3.t_start,tankController.T1.t_start,tankController.T2.t_start,tankController.T3.t_start,tankController.T4.t_start,tankController.T5.t_start,tankController.T6.t_start) * Number of discrete states: 50 (tankController.T6.t_start,tankController.T5.t_start,tankController.T4.t_start,tankController.T3.t_start,tankController.T2.t_start,tankController.T1.t_start,tankController.normal.T3.t_start,tankController.normal.T1.t_start,shut.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEvent,tankController.s1.newActive,tankController.normal.fillTank1.newActive,tankController.normal.fillTank2.newActive,tankController.normal.emptyTank2.newActive,tankController.normal.wait1.newActive,tankController.normal.wait2.newActive,tankController.normal.newActive,tankController.s2.newActive,tankController.emptyTanks.newActive,shut.table.combiTimeTable.nextTimeEventScaled,$whenCondition9,shut.on,$whenCondition8,$whenCondition7,shut.pre_reset[2],shut.pre_reset[1],shut.reset[1],shut.reset[2],shut.table.y,stop.table.combiTimeTable.nextTimeEventScaled,$whenCondition12,stop.on,$whenCondition11,$whenCondition10,stop.pre_reset[2],stop.pre_reset[1],stop.reset[1],stop.reset[2],stop.table.y,start.table.combiTimeTable.nextTimeEventScaled,$whenCondition15,start.on,$whenCondition14,$whenCondition13,start.pre_reset[2],start.pre_reset[1],start.reset[1],start.reset[2],start.table.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (212): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 6 * When equations: 24 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,3), (4,4), (2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001193/0.2164, allocations: 0.6883 MB / 375.1 MB, free: 7.012 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002314/0.2187, allocations: 1.978 MB / 377.1 MB, free: 4.961 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.2187, allocations: 8 kB / 377.1 MB, free: 4.953 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001234/0.2199, allocations: 1.102 MB / 378.2 MB, free: 3.797 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001566/0.2215, allocations: 0.7466 MB / 379 MB, free: 3.074 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005249/0.2267, allocations: 3.926 MB / 382.9 MB, free: 15.05 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.227, allocations: 455.4 kB / 383.3 MB, free: 14.57 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.00092/0.228, allocations: 489 kB / 383.8 MB, free: 14.09 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004087/0.2284, allocations: 220.4 kB / 384 MB, free: 13.88 MB / 346.7 MB Notification: Performance of SimCode: time 1.152e-06/0.2284, allocations: 0 / 384 MB, free: 13.88 MB / 346.7 MB Notification: Performance of Templates: time 0.04528/0.2737, allocations: 43.38 MB / 427.4 MB, free: 3.039 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.246881857980043]