Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001207/0.001207, allocations: 68.17 kB / 10.01 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001858/0.003065, allocations: 457.8 kB / 10.46 MB, free: 232 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001213/0.001213, allocations: 166.1 kB / 11.37 MB, free: 2.805 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001554/0.002767, allocations: 471.6 kB / 11.83 MB, free: 2.34 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9532/0.9532, allocations: 177.5 MB / 190 MB, free: 4.746 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07428/1.027, allocations: 53.87 MB / 243.9 MB, free: 14.8 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 245.2 MB, free: 13.52 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.056e-05/1.213e-05, allocations: 2.312 kB / 245.2 MB, free: 13.52 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.008907/0.008919, allocations: 11.95 MB / 257.2 MB, free: 1.512 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0068/0.01572, allocations: 5.494 MB / 262.7 MB, free: 12 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008623/0.01658, allocations: 67.44 kB / 262.7 MB, free: 11.94 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001221/0.0178, allocations: 0.8272 MB / 263.5 MB, free: 11.11 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002132/0.01993, allocations: 1.538 MB / 265.1 MB, free: 9.559 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002681/0.02261, allocations: 2.003 MB / 267.1 MB, free: 7.555 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003971/0.02659, allocations: 5.117 MB / 272.2 MB, free: 2.426 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001707/0.02829, allocations: 1.718 MB / 273.9 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1013/0.1296, allocations: 2.507 MB / 276.4 MB, free: 3.875 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002008/0.1316, allocations: 1.424 MB / 277.9 MB, free: 3.875 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006377/0.1323, allocations: 303.5 kB / 278.2 MB, free: 3.875 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001202/0.1335, allocations: 0.671 MB / 278.8 MB, free: 3.875 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006132/0.1341, allocations: 0.6985 MB / 279.5 MB, free: 3.875 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001108/0.1352, allocations: 0.7496 MB / 280.3 MB, free: 3.875 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002747/0.1379, allocations: 2.394 MB / 282.7 MB, free: 3.629 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.462e-05/0.138, allocations: 1.75 kB / 282.7 MB, free: 3.629 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.138, allocations: 0 / 282.7 MB, free: 3.629 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.84e-05/0.1381, allocations: 3.938 kB / 282.7 MB, free: 3.625 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.004365/0.1424, allocations: 3.589 MB / 286.3 MB, free: 2.043 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.042e-05/0.1424, allocations: 8.312 kB / 286.3 MB, free: 2.043 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009694/0.1434, allocations: 471.7 kB / 286.7 MB, free: 2.027 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001304/0.1447, allocations: 1.108 MB / 287.8 MB, free: 1.613 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001502/0.1449, allocations: 410.3 kB / 288.2 MB, free: 1.359 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002024/0.1451, allocations: 232.2 kB / 288.5 MB, free: 1.359 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001608/0.1467, allocations: 2.311 MB / 290.8 MB, free: 256 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.283e-05/0.1467, allocations: 6.938 kB / 290.8 MB, free: 256 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001279/0.1468, allocations: 96.5 kB / 290.9 MB, free: 252 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.481e-05/0.1469, allocations: 100.3 kB / 291 MB, free: 248 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001008/0.1479, allocations: 0.8629 MB / 291.8 MB, free: 16.09 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006108/0.154, allocations: 7.134 MB / 299 MB, free: 12.32 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008541/0.1549, allocations: 1.016 MB / 300 MB, free: 11.94 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004284/0.1553, allocations: 0.4927 MB / 300.5 MB, free: 11.77 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003205/0.1585, allocations: 2.585 MB / 303.1 MB, free: 10.73 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009435/0.1595, allocations: 1.424 MB / 304.5 MB, free: 9.477 MB / 282.7 MB Notification: Performance of pre-optimization done (n=205): time 3.346e-06/0.1595, allocations: 0 / 304.5 MB, free: 9.477 MB / 282.7 MB Notification: Performance of matching and sorting (n=215): time 0.007626/0.1671, allocations: 4.512 MB / 309 MB, free: 5.246 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001877/0.1673, allocations: 0.6348 MB / 309.6 MB, free: 4.492 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008159/0.1681, allocations: 1.154 MB / 310.8 MB, free: 3.582 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001428/0.1682, allocations: 125.8 kB / 310.9 MB, free: 3.508 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004883/0.1687, allocations: 0.7448 MB / 311.7 MB, free: 2.895 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003569/0.1691, allocations: 0.633 MB / 312.3 MB, free: 2.383 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004754/0.1696, allocations: 0.5452 MB / 312.8 MB, free: 2.055 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.935e-05/0.1696, allocations: 307.2 kB / 313.1 MB, free: 1.754 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004791/0.1701, allocations: 413.6 kB / 313.5 MB, free: 1.34 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008036/0.1709, allocations: 1.321 MB / 314.9 MB, free: 15.75 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001315/0.1722, allocations: 1.658 MB / 316.5 MB, free: 13.96 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.508e-06/0.1722, allocations: 4 kB / 316.5 MB, free: 13.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=350) (initialization): time 0.001842/0.1741, allocations: 1.691 MB / 318.2 MB, free: 12.41 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.185e-05/0.1741, allocations: 110 kB / 318.3 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.011e-05/0.1741, allocations: 20 kB / 318.3 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006397/0.1748, allocations: 365.9 kB / 318.7 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008961/0.1757, allocations: 486 kB / 319.2 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009871/0.1767, allocations: 1.763 MB / 320.9 MB, free: 9.742 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007134/0.1774, allocations: 112.3 kB / 321 MB, free: 9.676 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001308/0.1775, allocations: 97.66 kB / 321.1 MB, free: 9.602 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.0005673/0.1781, allocations: 0.5053 MB / 321.6 MB, free: 9.184 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002464/0.1783, allocations: 196.4 kB / 321.8 MB, free: 9.012 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002075/0.1804, allocations: 1.764 MB / 323.6 MB, free: 7.367 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.727e-05/0.1804, allocations: 24 kB / 323.6 MB, free: 7.344 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.1804, allocations: 7.984 kB / 323.6 MB, free: 7.336 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/0.1804, allocations: 7.969 kB / 323.6 MB, free: 7.328 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003325/0.1838, allocations: 2.651 MB / 326.3 MB, free: 4.809 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.1838, allocations: 0 / 326.3 MB, free: 4.809 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000765/0.1845, allocations: 296.7 kB / 326.6 MB, free: 4.535 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004438/0.185, allocations: 282.5 kB / 326.9 MB, free: 4.258 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004644/0.1854, allocations: 341.2 kB / 327.2 MB, free: 3.922 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.261e-05/0.1855, allocations: 63.95 kB / 327.3 MB, free: 3.859 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001012/0.1865, allocations: 1.737 MB / 329 MB, free: 2.055 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.1866, allocations: 11.91 kB / 329 MB, free: 2.047 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00217/0.1887, allocations: 2.112 MB / 331.1 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002238/0.1889, allocations: 71.98 kB / 331.2 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004641/0.1894, allocations: 84.06 kB / 331.3 MB, free: 15.72 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002693/0.1897, allocations: 209.2 kB / 331.5 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001103/0.1898, allocations: 63.95 kB / 331.5 MB, free: 15.45 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003633/0.1902, allocations: 498.5 kB / 332 MB, free: 15.02 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1902, allocations: 0 / 332 MB, free: 15.02 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001249/0.1914, allocations: 0.6207 MB / 332.6 MB, free: 14.4 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.001535/0.1929, allocations: 0.8408 MB / 333.5 MB, free: 13.83 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00217/0.1951, allocations: 1.729 MB / 335.2 MB, free: 12.07 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.886e-05/0.1951, allocations: 32.44 kB / 335.2 MB, free: 12.03 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001248/0.1964, allocations: 1.151 MB / 336.4 MB, free: 10.87 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002743/0.1991, allocations: 4.685 MB / 341.1 MB, free: 5.332 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01236/0.2115, allocations: 3.801 MB / 344.9 MB, free: 1.492 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.2118, allocations: 447.4 kB / 345.3 MB, free: 1.027 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001013/0.2128, allocations: 408.1 kB / 345.7 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001339/0.2142, allocations: 0.7246 MB / 346.4 MB, free: 15.9 MB / 330.7 MB Notification: Performance of SimCode: time 8.22e-07/0.2142, allocations: 0 / 346.4 MB, free: 15.9 MB / 330.7 MB Notification: Performance of Templates: time 0.04984/0.264, allocations: 44.99 MB / 391.4 MB, free: 3.512 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; mkfifo Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe >> ../files/Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.sim & (cd run_cvode && ../Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS -inputPath=.. -r=../Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.mat -s cvode) > Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_dassl.pipe ; mkfifo Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_dassl.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_dassl.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_dassl.sim & (cd run_dassl && ../Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS -inputPath=.. -r=../Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_dassl_res.mat -s dassl) > Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_dassl.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_dassl_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_gbode.pipe ; mkfifo Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_gbode.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_gbode.sim & (cd run_gbode && ../Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS -inputPath=.. -r=../Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_gbode_res.mat -s gbode -gbm=radauIIA3) > Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_gbode.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_gbode_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_ida.pipe ; mkfifo Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_ida.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_ida.sim & (cd run_ida && ../Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS -inputPath=.. -r=../Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_ida_res.mat -s ida) > Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_ida.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_ida_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.182374507188797]