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.001121/0.001121, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001195/0.001195, allocations: 174 kB / 24.91 MB, free: 9.195 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 0.896/0.896, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.272e-06/1.272e-06, allocations: 0 / 273.5 MB, free: 1.277 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.297e-05/1.425e-05, allocations: 2.312 kB / 273.5 MB, free: 1.273 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.009048/0.009062, allocations: 11.9 MB / 285.4 MB, free: 5.328 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1048/0.1139, allocations: 5.434 MB / 290.8 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001463/0.1153, allocations: 66.47 kB / 290.9 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001867/0.1172, allocations: 0.8306 MB / 291.7 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002719/0.1199, allocations: 1.509 MB / 293.2 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003081/0.123, allocations: 1.999 MB / 295.2 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004426/0.1274, allocations: 5.09 MB / 300.3 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001854/0.1293, allocations: 1.707 MB / 302 MB, free: 12.6 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002278/0.1316, allocations: 2.37 MB / 304.4 MB, free: 11.67 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001606/0.1332, allocations: 1.375 MB / 305.8 MB, free: 11.03 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004648/0.1336, allocations: 300.9 kB / 306.1 MB, free: 11.03 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008906/0.1345, allocations: 0.6611 MB / 306.7 MB, free: 10.88 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000413/0.1349, allocations: 0.8796 MB / 307.6 MB, free: 10.27 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006509/0.1356, allocations: 0.954 MB / 308.6 MB, free: 9.75 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001565/0.1371, allocations: 2.669 MB / 311.2 MB, free: 8.18 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.1371, allocations: 0 / 311.2 MB, free: 8.18 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.041e-06/0.1372, allocations: 0 / 311.2 MB, free: 8.18 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.871e-05/0.1372, allocations: 0 / 311.2 MB, free: 8.18 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.002257/0.1394, allocations: 2.984 MB / 314.2 MB, free: 6.031 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.804e-05/0.1395, allocations: 9.812 kB / 314.2 MB, free: 6.031 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008361/0.1403, allocations: 479.5 kB / 314.7 MB, free: 5.609 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/0.1414, allocations: 1.102 MB / 315.8 MB, free: 4.531 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001248/0.1415, allocations: 410.1 kB / 316.2 MB, free: 4.082 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001607/0.1416, allocations: 233.5 kB / 316.4 MB, free: 3.859 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001362/0.143, allocations: 2.307 MB / 318.7 MB, free: 1.367 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.445e-05/0.143, allocations: 18.17 kB / 318.7 MB, free: 1.355 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/0.1431, allocations: 85.72 kB / 318.8 MB, free: 1.273 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.211e-05/0.1432, allocations: 99.69 kB / 318.9 MB, free: 1.176 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000839/0.144, allocations: 0.8631 MB / 319.8 MB, free: 332 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006048/0.1501, allocations: 7.117 MB / 326.9 MB, free: 9.34 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008866/0.151, allocations: 1.013 MB / 327.9 MB, free: 8.285 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004258/0.1514, allocations: 0.4899 MB / 328.4 MB, free: 7.77 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002993/0.1544, allocations: 2.583 MB / 331 MB, free: 5.246 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001318/0.1557, allocations: 1.419 MB / 332.4 MB, free: 3.727 MB / 282.7 MB Notification: Performance of pre-optimization done (n=205): time 3.286e-06/0.1557, allocations: 0 / 332.4 MB, free: 3.727 MB / 282.7 MB Notification: Performance of matching and sorting (n=215): time 0.004365/0.1601, allocations: 3.398 MB / 335.8 MB, free: 268 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002109/0.1603, allocations: 0.6911 MB / 336.5 MB, free: 15.42 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000745/0.161, allocations: 1.161 MB / 337.7 MB, free: 14.45 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001333/0.1612, allocations: 129.7 kB / 337.8 MB, free: 14.32 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005868/0.1618, allocations: 0.7463 MB / 338.5 MB, free: 13.65 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003388/0.1621, allocations: 0.6323 MB / 339.2 MB, free: 13.08 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004544/0.1625, allocations: 0.5512 MB / 339.7 MB, free: 12.61 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.979e-05/0.1626, allocations: 301.1 kB / 340 MB, free: 12.32 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004477/0.1631, allocations: 398.2 kB / 340.4 MB, free: 11.91 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007608/0.1638, allocations: 1.309 MB / 341.7 MB, free: 10.31 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001225/0.165, allocations: 1.605 MB / 343.3 MB, free: 8.551 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.858e-06/0.1651, allocations: 4 kB / 343.3 MB, free: 8.547 MB / 298.7 MB Notification: Performance of matching and sorting (n=350) (initialization): time 0.001688/0.1667, allocations: 1.678 MB / 345 MB, free: 6.934 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.37e-05/0.1668, allocations: 105.1 kB / 345.1 MB, free: 6.812 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.83e-05/0.1668, allocations: 20 kB / 345.1 MB, free: 6.793 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004877/0.1673, allocations: 368.3 kB / 345.5 MB, free: 6.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009688/0.1683, allocations: 444.8 kB / 345.9 MB, free: 6.023 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008124/0.1691, allocations: 1.754 MB / 347.7 MB, free: 4.203 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000567/0.1696, allocations: 112 kB / 347.8 MB, free: 4.094 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001234/0.1698, allocations: 103.9 kB / 347.9 MB, free: 3.992 MB / 298.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,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,tankController.normal.T2.condition,tankController.normal.T4.condition,tankController.stateGraphRoot.suspend,tankController.stateGraphRoot.resume) * 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.000474/0.1702, allocations: 0.4954 MB / 348.4 MB, free: 3.457 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002117/0.1705, allocations: 203.8 kB / 348.6 MB, free: 3.258 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001774/0.1722, allocations: 1.682 MB / 350.2 MB, free: 1.551 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.667e-05/0.1722, allocations: 24 kB / 350.3 MB, free: 1.527 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.1723, allocations: 4 kB / 350.3 MB, free: 1.523 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.532e-05/0.1723, allocations: 15.95 kB / 350.3 MB, free: 1.508 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003319/0.1756, allocations: 2.628 MB / 352.9 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.1756, allocations: 0 / 352.9 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005764/0.1762, allocations: 271.5 kB / 353.2 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004537/0.1766, allocations: 346.2 kB / 353.5 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001118/0.1767, allocations: 55.97 kB / 353.6 MB, free: 14.33 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008073/0.1775, allocations: 1.732 MB / 355.3 MB, free: 12.53 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.1775, allocations: 4.125 kB / 355.3 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001983/0.1795, allocations: 2.08 MB / 357.4 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003748/0.1799, allocations: 270.6 kB / 357.7 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001877/0.1801, allocations: 75.92 kB / 357.7 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004178/0.1805, allocations: 91.88 kB / 357.8 MB, free: 9.949 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002827/0.1808, allocations: 205.5 kB / 358 MB, free: 9.746 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/0.1809, allocations: 67.86 kB / 358.1 MB, free: 9.684 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.00034/0.1812, allocations: 492.6 kB / 358.6 MB, free: 9.254 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1812, allocations: 0 / 358.6 MB, free: 9.254 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001012/0.1822, allocations: 0.6208 MB / 359.2 MB, free: 8.633 MB / 314.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.001419/0.1837, allocations: 0.8037 MB / 360 MB, free: 8.074 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002019/0.1857, allocations: 1.677 MB / 361.7 MB, free: 6.352 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.362e-05/0.1857, allocations: 20.44 kB / 361.7 MB, free: 6.332 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009136/0.1866, allocations: 0.9444 MB / 362.6 MB, free: 5.355 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001465/0.1881, allocations: 0.7681 MB / 363.4 MB, free: 4.602 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004386/0.1925, allocations: 3.762 MB / 367.2 MB, free: 0.793 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.1928, allocations: 447.4 kB / 367.6 MB, free: 336 kB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001082/0.1939, allocations: 413.2 kB / 368 MB, free: 15.92 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001252/0.1951, allocations: 0.7244 MB / 368.7 MB, free: 15.2 MB / 330.7 MB Notification: Performance of SimCode: time 8.91e-07/0.1951, allocations: 0 / 368.7 MB, free: 15.2 MB / 330.7 MB Notification: Performance of Templates: time 0.04467/0.2398, allocations: 43.72 MB / 412.4 MB, free: 4 MB / 362.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 -s gbode -gbm=radauIIA3 -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.7382219950668514]