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.001033/0.001033, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.001141/0.001141, allocations: 167.1 kB / 24.82 MB, free: 8.879 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.044/1.044, allocations: 177.2 MB / 205.3 MB, free: 5.488 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.142e-06/1.142e-06, allocations: 0 / 273.4 MB, free: 1.297 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.551e-05/1.665e-05, allocations: 2.312 kB / 273.4 MB, free: 1.293 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.008911/0.008928, allocations: 11.81 MB / 285.2 MB, free: 5.43 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007161/0.01609, allocations: 5.299 MB / 290.5 MB, free: 124 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00119/0.01728, allocations: 67.44 kB / 290.6 MB, free: 56 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1167/0.1339, allocations: 0.8334 MB / 291.4 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002861/0.1368, allocations: 1.521 MB / 292.9 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003445/0.1402, allocations: 2.019 MB / 295 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004146/0.1444, allocations: 5.087 MB / 300 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001496/0.1459, allocations: 1.807 MB / 301.8 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002484/0.1484, allocations: 2.549 MB / 304.4 MB, free: 11.7 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001192/0.1496, allocations: 1.424 MB / 305.8 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003565/0.1499, allocations: 302 kB / 306.1 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008161/0.1507, allocations: 0.6342 MB / 306.7 MB, free: 10.9 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003854/0.1511, allocations: 0.8826 MB / 307.6 MB, free: 10.29 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005849/0.1517, allocations: 0.9508 MB / 308.6 MB, free: 9.773 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001679/0.1534, allocations: 2.664 MB / 311.2 MB, free: 8.207 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1534, allocations: 0 / 311.2 MB, free: 8.207 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1534, allocations: 0 / 311.2 MB, free: 8.207 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.964e-05/0.1534, allocations: 0 / 311.2 MB, free: 8.207 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.002562/0.156, allocations: 3.176 MB / 314.4 MB, free: 5.863 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.156, allocations: 20.02 kB / 314.4 MB, free: 5.844 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000877/0.1569, allocations: 0.5413 MB / 315 MB, free: 5.305 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001157/0.158, allocations: 1.457 MB / 316.4 MB, free: 3.875 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001289/0.1582, allocations: 410.5 kB / 316.8 MB, free: 3.43 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001845/0.1584, allocations: 235.1 kB / 317.1 MB, free: 3.203 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001474/0.1598, allocations: 2.367 MB / 319.4 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.399e-05/0.1599, allocations: 15.77 kB / 319.5 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001179/0.16, allocations: 90.72 kB / 319.5 MB, free: 0.5117 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.256e-05/0.16, allocations: 103.7 kB / 319.6 MB, free: 420 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009852/0.161, allocations: 0.9203 MB / 320.6 MB, free: 15.5 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0074/0.1684, allocations: 9.919 MB / 330.5 MB, free: 5.723 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/0.1694, allocations: 1.099 MB / 331.6 MB, free: 4.539 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004944/0.1699, allocations: 0.5567 MB / 332.1 MB, free: 3.949 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003661/0.1736, allocations: 3.475 MB / 335.6 MB, free: 0.543 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001023/0.1746, allocations: 1.453 MB / 337.1 MB, free: 14.97 MB / 298.7 MB Notification: Performance of pre-optimization done (n=205): time 3.135e-06/0.1746, allocations: 0 / 337.1 MB, free: 14.97 MB / 298.7 MB Notification: Performance of matching and sorting (n=215): time 0.005514/0.1801, allocations: 3.799 MB / 340.9 MB, free: 11.11 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002017/0.1803, allocations: 0.6874 MB / 341.6 MB, free: 10.27 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008441/0.1812, allocations: 1.25 MB / 342.8 MB, free: 9.203 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001461/0.1813, allocations: 129.7 kB / 342.9 MB, free: 9.07 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004881/0.1818, allocations: 0.9953 MB / 343.9 MB, free: 8.152 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003771/0.1822, allocations: 0.6404 MB / 344.6 MB, free: 7.57 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005424/0.1827, allocations: 0.5875 MB / 345.2 MB, free: 7.066 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.779e-05/0.1828, allocations: 476.8 kB / 345.6 MB, free: 6.598 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004872/0.1833, allocations: 438.2 kB / 346 MB, free: 6.148 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001238/0.1845, allocations: 1.624 MB / 347.7 MB, free: 4.133 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001404/0.186, allocations: 1.823 MB / 349.5 MB, free: 2.066 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/0.186, allocations: 4 kB / 349.5 MB, free: 2.062 MB / 298.7 MB Notification: Performance of matching and sorting (n=350) (initialization): time 0.002178/0.1881, allocations: 2.087 MB / 351.6 MB, free: 36 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.498e-05/0.1882, allocations: 105.1 kB / 351.7 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.928e-05/0.1882, allocations: 20 kB / 351.7 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000512/0.1887, allocations: 375.6 kB / 352.1 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007206/0.1895, allocations: 398.5 kB / 352.5 MB, free: 15.17 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001349/0.1908, allocations: 2.586 MB / 355 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000634/0.1914, allocations: 111.9 kB / 355.2 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001214/0.1916, allocations: 95.97 kB / 355.2 MB, free: 12.32 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,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.0005159/0.1921, allocations: 0.5305 MB / 355.8 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002764/0.1924, allocations: 286.7 kB / 356.1 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002194/0.1945, allocations: 2.025 MB / 358.1 MB, free: 9.426 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.931e-05/0.1946, allocations: 31.92 kB / 358.1 MB, free: 9.395 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.1946, allocations: 4 kB / 358.1 MB, free: 9.391 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.376e-05/0.1946, allocations: 11.97 kB / 358.1 MB, free: 9.379 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003649/0.1982, allocations: 3.327 MB / 361.5 MB, free: 6.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/0.1982, allocations: 4 kB / 361.5 MB, free: 6.156 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005072/0.1987, allocations: 235.6 kB / 361.7 MB, free: 5.926 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004677/0.1992, allocations: 356.8 kB / 362 MB, free: 5.57 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001004/0.1993, allocations: 67.95 kB / 362.1 MB, free: 5.504 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001326/0.2006, allocations: 2.544 MB / 364.7 MB, free: 2.879 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.2006, allocations: 3.938 kB / 364.7 MB, free: 2.875 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002476/0.2031, allocations: 2.521 MB / 367.2 MB, free: 284 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000469/0.2036, allocations: 402.4 kB / 367.6 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001945/0.2038, allocations: 75.98 kB / 367.6 MB, free: 15.81 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004638/0.2042, allocations: 79.95 kB / 367.7 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002725/0.2045, allocations: 219.8 kB / 367.9 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/0.2046, allocations: 75.89 kB / 368 MB, free: 15.44 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004185/0.205, allocations: 0.615 MB / 368.6 MB, free: 14.88 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.205, allocations: 0 / 368.6 MB, free: 14.88 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00106/0.2061, allocations: 0.6208 MB / 369.2 MB, free: 14.26 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.001413/0.2075, allocations: 0.67 MB / 369.9 MB, free: 13.74 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00186/0.2094, allocations: 1.78 MB / 371.7 MB, free: 11.92 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.2094, allocations: 4 kB / 371.7 MB, free: 11.91 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001018/0.2104, allocations: 1.014 MB / 372.7 MB, free: 10.87 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001551/0.2119, allocations: 0.7573 MB / 373.5 MB, free: 10.13 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004972/0.2169, allocations: 3.871 MB / 377.3 MB, free: 6.195 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003169/0.2172, allocations: 451.4 kB / 377.8 MB, free: 5.727 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008331/0.2181, allocations: 405.2 kB / 378.2 MB, free: 5.328 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001317/0.2194, allocations: 0.8466 MB / 379 MB, free: 4.48 MB / 330.7 MB Notification: Performance of SimCode: time 7.81e-07/0.2194, allocations: 0 / 379 MB, free: 4.48 MB / 330.7 MB Notification: Performance of Templates: time 0.04571/0.2651, allocations: 43.77 MB / 422.8 MB, free: 9.258 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.06017359206453]