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.000982/0.000982, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001626/0.002609, allocations: 457.8 kB / 10.45 MB, free: 244 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.0009696/0.0009696, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001349/0.002319, allocations: 475.6 kB / 11.82 MB, free: 2.348 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.9979/0.9979, allocations: 177.5 MB / 190 MB, free: 4.805 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08148/1.079, allocations: 53.87 MB / 243.9 MB, free: 14.86 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.312e-06/1.312e-06, allocations: 0 / 245.2 MB, free: 13.58 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.458e-06/1.077e-05, allocations: 6.312 kB / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.00856/0.00857, allocations: 11.94 MB / 257.1 MB, free: 1.578 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0061/0.01467, allocations: 5.491 MB / 262.6 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005548/0.01523, allocations: 63.5 kB / 262.7 MB, free: 12 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001045/0.01627, allocations: 0.8155 MB / 263.5 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001669/0.01794, allocations: 1.534 MB / 265.1 MB, free: 9.641 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002239/0.02018, allocations: 2.018 MB / 267.1 MB, free: 7.621 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003208/0.02339, allocations: 5.113 MB / 272.2 MB, free: 2.496 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001308/0.0247, allocations: 1.699 MB / 273.9 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1106/0.1353, allocations: 2.503 MB / 276.4 MB, free: 3.98 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002096/0.1374, allocations: 1.372 MB / 277.8 MB, free: 3.98 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005715/0.138, allocations: 304.1 kB / 278.1 MB, free: 3.98 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001177/0.1392, allocations: 0.6614 MB / 278.7 MB, free: 3.98 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006108/0.1398, allocations: 0.7001 MB / 279.4 MB, free: 3.977 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001129/0.1409, allocations: 0.7478 MB / 280.2 MB, free: 3.977 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002563/0.1435, allocations: 2.392 MB / 282.6 MB, free: 3.738 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.1435, allocations: 1.375 kB / 282.6 MB, free: 3.738 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.1435, allocations: 0 / 282.6 MB, free: 3.738 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.06e-05/0.1435, allocations: 0 / 282.6 MB, free: 3.738 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.003242/0.1468, allocations: 3.596 MB / 286.2 MB, free: 2.152 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.536e-05/0.1468, allocations: 8.188 kB / 286.2 MB, free: 2.152 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008317/0.1476, allocations: 466.3 kB / 286.6 MB, free: 2.137 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001154/0.1488, allocations: 1.106 MB / 287.7 MB, free: 1.727 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001289/0.1489, allocations: 414.9 kB / 288.1 MB, free: 1.469 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002004/0.1491, allocations: 233.6 kB / 288.4 MB, free: 1.469 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001522/0.1506, allocations: 2.308 MB / 290.7 MB, free: 372 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.32e-05/0.1507, allocations: 9.281 kB / 290.7 MB, free: 372 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001357/0.1508, allocations: 97.3 kB / 290.8 MB, free: 368 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.283e-05/0.1509, allocations: 103.2 kB / 290.9 MB, free: 364 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009137/0.1518, allocations: 0.8537 MB / 291.7 MB, free: 208 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005487/0.1573, allocations: 7.14 MB / 298.9 MB, free: 12.43 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00081/0.1581, allocations: 1.025 MB / 299.9 MB, free: 12.05 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003999/0.1585, allocations: 0.4883 MB / 300.4 MB, free: 11.88 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003116/0.1616, allocations: 2.576 MB / 303 MB, free: 10.89 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009582/0.1625, allocations: 1.425 MB / 304.4 MB, free: 9.613 MB / 282.7 MB Notification: Performance of pre-optimization done (n=205): time 2.736e-06/0.1625, allocations: 0 / 304.4 MB, free: 9.613 MB / 282.7 MB Notification: Performance of matching and sorting (n=215): time 0.007073/0.1696, allocations: 4.478 MB / 308.9 MB, free: 5.406 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001865/0.1698, allocations: 0.6358 MB / 309.5 MB, free: 4.652 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009604/0.1708, allocations: 1.151 MB / 310.6 MB, free: 3.746 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000144/0.1709, allocations: 129.2 kB / 310.8 MB, free: 3.668 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003252/0.1712, allocations: 0.7514 MB / 311.5 MB, free: 3.051 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003352/0.1716, allocations: 0.6232 MB / 312.1 MB, free: 2.543 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004589/0.172, allocations: 0.5476 MB / 312.7 MB, free: 2.219 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.808e-05/0.1721, allocations: 305.1 kB / 313 MB, free: 1.918 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004478/0.1725, allocations: 413 kB / 313.4 MB, free: 1.504 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007801/0.1733, allocations: 1.314 MB / 314.7 MB, free: 15.92 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001268/0.1746, allocations: 1.665 MB / 316.4 MB, free: 14.12 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.089e-05/0.1746, allocations: 8 kB / 316.4 MB, free: 14.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=350) (initialization): time 0.001861/0.1765, allocations: 1.694 MB / 318.1 MB, free: 12.56 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.091e-05/0.1765, allocations: 108.6 kB / 318.2 MB, free: 12.44 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.775e-05/0.1765, allocations: 16 kB / 318.2 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004951/0.177, allocations: 364.8 kB / 318.5 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008528/0.1779, allocations: 491.8 kB / 319 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008967/0.1788, allocations: 1.756 MB / 320.8 MB, free: 9.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005849/0.1794, allocations: 114.3 kB / 320.9 MB, free: 9.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/0.1795, allocations: 94.66 kB / 321 MB, free: 9.77 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.0004758/0.18, allocations: 0.5008 MB / 321.5 MB, free: 9.355 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002252/0.1802, allocations: 208.7 kB / 321.7 MB, free: 9.176 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001819/0.182, allocations: 1.692 MB / 323.4 MB, free: 7.637 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.47e-05/0.182, allocations: 24 kB / 323.4 MB, free: 7.613 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.182, allocations: 4 kB / 323.4 MB, free: 7.609 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.555e-05/0.182, allocations: 15.95 kB / 323.4 MB, free: 7.594 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003216/0.1852, allocations: 2.652 MB / 326.1 MB, free: 5.074 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/0.1853, allocations: 7.938 kB / 326.1 MB, free: 5.066 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006196/0.1859, allocations: 298.3 kB / 326.4 MB, free: 4.793 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003882/0.1863, allocations: 274.5 kB / 326.6 MB, free: 4.523 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004374/0.1867, allocations: 338.1 kB / 327 MB, free: 4.188 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.374e-05/0.1868, allocations: 63.95 kB / 327 MB, free: 4.125 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008655/0.1877, allocations: 1.742 MB / 328.8 MB, free: 2.32 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.1877, allocations: 11.44 kB / 328.8 MB, free: 2.312 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001974/0.1896, allocations: 2.107 MB / 330.9 MB, free: 140 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001968/0.1898, allocations: 75.97 kB / 331 MB, free: 64 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004416/0.1903, allocations: 84.08 kB / 331.1 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002743/0.1905, allocations: 212.1 kB / 331.3 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001042/0.1907, allocations: 63.95 kB / 331.3 MB, free: 15.71 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003533/0.191, allocations: 498.7 kB / 331.8 MB, free: 15.28 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.191, allocations: 0 / 331.8 MB, free: 15.28 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001223/0.1922, allocations: 0.6246 MB / 332.4 MB, free: 14.66 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.001588/0.1938, allocations: 0.8315 MB / 333.3 MB, free: 14.1 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002019/0.1958, allocations: 1.719 MB / 335 MB, free: 12.36 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.32e-05/0.1959, allocations: 36.42 kB / 335 MB, free: 12.32 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001029/0.1969, allocations: 1.055 MB / 336.1 MB, free: 11.26 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002805/0.1997, allocations: 4.697 MB / 340.8 MB, free: 5.707 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01165/0.2114, allocations: 3.794 MB / 344.6 MB, free: 1.875 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000307/0.2117, allocations: 455.4 kB / 345 MB, free: 1.402 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0008726/0.2125, allocations: 412.1 kB / 345.4 MB, free: 1.004 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001242/0.2138, allocations: 0.7215 MB / 346.1 MB, free: 284 kB / 314.7 MB Notification: Performance of SimCode: time 7.91e-07/0.2138, allocations: 0 / 346.1 MB, free: 284 kB / 314.7 MB Notification: Performance of Templates: time 0.04506/0.2588, allocations: 44.99 MB / 391.1 MB, free: 3.883 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 & ./Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > 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 [Calling sys.exit(0), Time elapsed: 3.816525553353131]