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.000733/0.000733, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001154/0.001887, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001018/0.001018, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00116/0.002178, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9574/0.9574, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07516/1.033, allocations: 53.66 MB / 243.3 MB, free: 15.59 MB / 250.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.603e-06/1.603e-06, allocations: 0 / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.272e-05/1.433e-05, allocations: 6.25 kB / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.01338/0.0134, allocations: 11.95 MB / 256.5 MB, free: 2.328 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01157/0.02496, allocations: 5.484 MB / 261.9 MB, free: 12.83 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001399/0.02636, allocations: 67.44 kB / 262 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001858/0.02822, allocations: 0.8234 MB / 262.8 MB, free: 11.94 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003467/0.03169, allocations: 1.526 MB / 264.4 MB, free: 10.4 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004322/0.03601, allocations: 2.018 MB / 266.4 MB, free: 8.383 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006415/0.04243, allocations: 5.105 MB / 271.5 MB, free: 3.266 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002781/0.04521, allocations: 1.707 MB / 273.2 MB, free: 1.508 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1263/0.1715, allocations: 2.49 MB / 275.7 MB, free: 5.277 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002647/0.1742, allocations: 1.374 MB / 277.1 MB, free: 5.277 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009605/0.1751, allocations: 306.2 kB / 277.4 MB, free: 5.277 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001604/0.1767, allocations: 0.6554 MB / 278 MB, free: 5.277 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007891/0.1775, allocations: 0.7038 MB / 278.7 MB, free: 5.277 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001261/0.1788, allocations: 0.7506 MB / 279.5 MB, free: 5.277 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003209/0.182, allocations: 2.392 MB / 281.9 MB, free: 5.148 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.38e-05/0.182, allocations: 3.406 kB / 281.9 MB, free: 5.148 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.182, allocations: 0 / 281.9 MB, free: 5.148 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.968e-05/0.1821, allocations: 0 / 281.9 MB, free: 5.148 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.00483/0.1869, allocations: 3.59 MB / 285.5 MB, free: 3.582 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.187, allocations: 15.16 kB / 285.5 MB, free: 3.582 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001252/0.1882, allocations: 482.5 kB / 285.9 MB, free: 3.562 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001616/0.1898, allocations: 1.106 MB / 287 MB, free: 3.164 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001786/0.19, allocations: 410.3 kB / 287.4 MB, free: 2.906 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002517/0.1903, allocations: 229.3 kB / 287.7 MB, free: 2.906 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00206/0.1923, allocations: 2.313 MB / 290 MB, free: 1.797 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.33e-05/0.1924, allocations: 11.16 kB / 290 MB, free: 1.793 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001704/0.1925, allocations: 92.59 kB / 290.1 MB, free: 1.793 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.813e-05/0.1926, allocations: 102.2 kB / 290.2 MB, free: 1.789 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001197/0.1938, allocations: 0.8621 MB / 291 MB, free: 1.637 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007008/0.2008, allocations: 7.136 MB / 298.2 MB, free: 13.87 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009843/0.2018, allocations: 1.018 MB / 299.2 MB, free: 13.5 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005082/0.2023, allocations: 498.1 kB / 299.7 MB, free: 13.33 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004252/0.2066, allocations: 2.587 MB / 302.3 MB, free: 12.39 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001147/0.2077, allocations: 1.425 MB / 303.7 MB, free: 11.5 MB / 282.7 MB Notification: Performance of pre-optimization done (n=205): time 4.238e-06/0.2077, allocations: 0 / 303.7 MB, free: 11.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=215): time 0.005684/0.2134, allocations: 3.455 MB / 307.2 MB, free: 8.375 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001947/0.2136, allocations: 0.5367 MB / 307.7 MB, free: 7.734 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009975/0.2146, allocations: 1.162 MB / 308.9 MB, free: 6.82 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001618/0.2148, allocations: 126.1 kB / 309 MB, free: 6.746 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004299/0.2152, allocations: 0.7498 MB / 309.7 MB, free: 6.129 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004148/0.2156, allocations: 0.6268 MB / 310.4 MB, free: 5.621 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006005/0.2162, allocations: 0.5444 MB / 310.9 MB, free: 5.293 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.395e-05/0.2163, allocations: 303.3 kB / 311.2 MB, free: 4.996 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008324/0.2171, allocations: 415.5 kB / 311.6 MB, free: 4.578 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/0.2181, allocations: 1.322 MB / 312.9 MB, free: 2.988 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001598/0.2197, allocations: 1.614 MB / 314.5 MB, free: 1.25 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.088e-05/0.2197, allocations: 4 kB / 314.5 MB, free: 1.246 MB / 282.7 MB Notification: Performance of matching and sorting (n=350) (initialization): time 0.002291/0.222, allocations: 1.697 MB / 316.2 MB, free: 15.69 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.491e-05/0.2221, allocations: 105 kB / 316.3 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.524e-05/0.2221, allocations: 20 kB / 316.4 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006394/0.2228, allocations: 374.7 kB / 316.7 MB, free: 15.22 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/0.2239, allocations: 482.9 kB / 317.2 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001294/0.2252, allocations: 1.756 MB / 318.9 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007842/0.226, allocations: 116.3 kB / 319.1 MB, free: 12.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000171/0.2262, allocations: 99.97 kB / 319.2 MB, free: 12.86 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.0006135/0.2268, allocations: 0.495 MB / 319.7 MB, free: 12.37 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003027/0.2271, allocations: 199.8 kB / 319.9 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001846/0.2289, allocations: 1.699 MB / 321.6 MB, free: 10.47 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.716e-05/0.2289, allocations: 24 kB / 321.6 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.2289, allocations: 0 / 321.6 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.465e-05/0.2289, allocations: 19.95 kB / 321.6 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003076/0.232, allocations: 2.644 MB / 324.2 MB, free: 7.914 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.232, allocations: 2.516 kB / 324.2 MB, free: 7.914 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006062/0.2326, allocations: 303.2 kB / 324.5 MB, free: 7.637 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003981/0.233, allocations: 274.5 kB / 324.8 MB, free: 7.367 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004437/0.2335, allocations: 336.3 kB / 325.1 MB, free: 7.031 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-05/0.2336, allocations: 63.95 kB / 325.2 MB, free: 6.969 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001166/0.2347, allocations: 1.741 MB / 326.9 MB, free: 5.164 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.2347, allocations: 7.938 kB / 326.9 MB, free: 5.156 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001932/0.2367, allocations: 2.094 MB / 329 MB, free: 3.004 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002029/0.2369, allocations: 79.97 kB / 329.1 MB, free: 2.926 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004398/0.2373, allocations: 79.95 kB / 329.2 MB, free: 2.848 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002545/0.2376, allocations: 201.6 kB / 329.4 MB, free: 2.648 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000103/0.2377, allocations: 71.94 kB / 329.5 MB, free: 2.578 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003325/0.238, allocations: 497.9 kB / 329.9 MB, free: 2.148 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.238, allocations: 0 / 329.9 MB, free: 2.148 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00107/0.2391, allocations: 0.6169 MB / 330.6 MB, free: 1.527 MB / 298.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.001452/0.2405, allocations: 0.8513 MB / 331.4 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001576/0.2421, allocations: 1.694 MB / 333.1 MB, free: 15.33 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.505e-05/0.2421, allocations: 38.34 kB / 333.1 MB, free: 15.29 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001258/0.2434, allocations: 0.9586 MB / 334.1 MB, free: 14.34 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00151/0.2449, allocations: 0.9287 MB / 335 MB, free: 13.43 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01154/0.2564, allocations: 3.815 MB / 338.8 MB, free: 9.59 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/0.2568, allocations: 451.4 kB / 339.3 MB, free: 9.121 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0008891/0.2577, allocations: 408.7 kB / 339.7 MB, free: 8.723 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001232/0.2589, allocations: 0.7297 MB / 340.4 MB, free: 7.992 MB / 314.7 MB Notification: Performance of SimCode: time 1.122e-06/0.2589, allocations: 0 / 340.4 MB, free: 7.992 MB / 314.7 MB Notification: Performance of Templates: time 0.04634/0.3052, allocations: 45.1 MB / 385.5 MB, free: 11.53 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; mkfifo Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe >> ../files/Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.sim & ./Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Fluid/Examples/ControlledTankSystem/ControlledTanks/ControlledTanks.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.8280429653823376]