Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0009093/0.0009093, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001256/0.002166, allocations: 445.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.0007312/0.0007312, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009124/0.001644, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9763/0.9763, allocations: 158.6 MB / 171.1 MB, free: 2.578 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1588/1.135, allocations: 49.48 MB / 220.5 MB, free: 1.461 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 221.8 MB, free: 200 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.374e-05/2.561e-05, allocations: 6.25 kB / 221.8 MB, free: 192 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.01215/0.01217, allocations: 11.8 MB / 233.6 MB, free: 4.324 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.008422/0.0206, allocations: 5.244 MB / 238.9 MB, free: 15.07 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001306/0.0219, allocations: 67.44 kB / 238.9 MB, free: 15 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001547/0.02345, allocations: 0.8118 MB / 239.7 MB, free: 14.19 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002305/0.02575, allocations: 1.472 MB / 241.2 MB, free: 12.71 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003212/0.02897, allocations: 2.078 MB / 243.3 MB, free: 10.62 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004249/0.03321, allocations: 5.027 MB / 248.3 MB, free: 5.586 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001689/0.0349, allocations: 1.703 MB / 250 MB, free: 3.836 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002261/0.03716, allocations: 2.448 MB / 252.5 MB, free: 1.379 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001287/0.03845, allocations: 1.344 MB / 253.8 MB, free: 32 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003309/0.03878, allocations: 300 kB / 254.1 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001006/0.03979, allocations: 0.6516 MB / 254.8 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005098/0.0403, allocations: 0.6856 MB / 255.4 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006493/0.04095, allocations: 0.7368 MB / 256.2 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002015/0.04296, allocations: 2.328 MB / 258.5 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.364e-05/0.04298, allocations: 0 / 258.5 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.04298, allocations: 0 / 258.5 MB, free: 11.32 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.48e-05/0.04301, allocations: 0 / 258.5 MB, free: 11.32 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: 521 * Number of variables: 521 Notification: Performance of Generate backend data structure: time 0.003361/0.04637, allocations: 3.468 MB / 262 MB, free: 7.738 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.04641, allocations: 12.03 kB / 262 MB, free: 7.727 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005827/0.047, allocations: 404.3 kB / 262.4 MB, free: 7.332 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001412/0.04841, allocations: 1.079 MB / 263.5 MB, free: 6.199 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002329/0.04864, allocations: 406.6 kB / 263.9 MB, free: 5.754 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002186/0.04886, allocations: 224.3 kB / 264.1 MB, free: 5.535 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001991/0.05085, allocations: 2.301 MB / 266.4 MB, free: 2.941 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.881e-05/0.05089, allocations: 7.938 kB / 266.4 MB, free: 2.934 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001457/0.05104, allocations: 103.9 kB / 266.5 MB, free: 2.832 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.66e-05/0.05112, allocations: 99.69 kB / 266.6 MB, free: 2.734 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/0.0522, allocations: 0.8475 MB / 267.4 MB, free: 1.859 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005765/0.05796, allocations: 6.67 MB / 274.1 MB, free: 11 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000912/0.05888, allocations: 0.8482 MB / 275 MB, free: 10.12 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004312/0.05931, allocations: 451.7 kB / 275.4 MB, free: 9.656 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002714/0.06202, allocations: 1.902 MB / 277.3 MB, free: 7.738 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001234/0.06326, allocations: 1.345 MB / 278.6 MB, free: 6.234 MB / 282.7 MB Notification: Performance of pre-optimization done (n=193): time 2.665e-06/0.06326, allocations: 0 / 278.6 MB, free: 6.234 MB / 282.7 MB Notification: Performance of matching and sorting (n=203): time 0.004774/0.06803, allocations: 3.328 MB / 282 MB, free: 2.793 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/0.06814, allocations: 324.7 kB / 282.3 MB, free: 2.41 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000741/0.06889, allocations: 1.155 MB / 283.4 MB, free: 1.223 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001198/0.069, allocations: 105.7 kB / 283.5 MB, free: 1.113 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003474/0.06935, allocations: 0.7625 MB / 284.3 MB, free: 348 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.1322/0.2015, allocations: 0.5988 MB / 284.9 MB, free: 38 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007973/0.2023, allocations: 0.5395 MB / 285.5 MB, free: 37.98 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.469e-05/0.2023, allocations: 303 kB / 285.7 MB, free: 37.68 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006811/0.203, allocations: 372.7 kB / 286.1 MB, free: 37.58 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009159/0.2039, allocations: 1.268 MB / 287.4 MB, free: 36.5 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001698/0.2056, allocations: 1.503 MB / 288.9 MB, free: 35.67 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.108e-05/0.2057, allocations: 5.219 kB / 288.9 MB, free: 35.67 MB / 282.7 MB Notification: Performance of matching and sorting (n=332) (initialization): time 0.002501/0.2082, allocations: 1.608 MB / 290.5 MB, free: 35.38 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.472e-05/0.2082, allocations: 101 kB / 290.6 MB, free: 35.29 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.465e-05/0.2083, allocations: 24.75 kB / 290.6 MB, free: 35.29 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006959/0.209, allocations: 361.2 kB / 291 MB, free: 35.25 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/0.21, allocations: 478.5 kB / 291.4 MB, free: 35.25 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009301/0.2109, allocations: 1.748 MB / 293.2 MB, free: 33.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/0.212, allocations: 99.75 kB / 293.3 MB, free: 33.68 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001757/0.2122, allocations: 98.67 kB / 293.4 MB, free: 33.68 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 160 ($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.table.combiTimeTable.nextTimeEvent,$whenCondition12,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition11,$PRE.shut.table.combiTimeTable.nextTimeEvent,$whenCondition10,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.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],$whenCondition6,$whenCondition4,$whenCondition5,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],$whenCondition3,$whenCondition1,$whenCondition2,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.normal.stateGraphRoot.resume,tankController.normal.stateGraphRoot.suspend,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,$whenCondition13,$whenCondition14,$whenCondition15,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 (311): * Single equations (assignments): 305 * 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.0007733/0.2129, allocations: 470 kB / 293.8 MB, free: 33.43 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003747/0.2133, allocations: 194.8 kB / 294 MB, free: 33.43 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002304/0.2156, allocations: 1.66 MB / 295.7 MB, free: 33.04 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.012e-05/0.2156, allocations: 30.42 kB / 295.7 MB, free: 33.04 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.2156, allocations: 4 kB / 295.7 MB, free: 33.03 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-05/0.2157, allocations: 12.12 kB / 295.7 MB, free: 33.03 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004208/0.2199, allocations: 2.589 MB / 298.3 MB, free: 32.53 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/0.2199, allocations: 3.219 kB / 298.3 MB, free: 32.53 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007223/0.2206, allocations: 298.1 kB / 298.6 MB, free: 32.53 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006467/0.2212, allocations: 270.5 kB / 298.9 MB, free: 32.48 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004628/0.2217, allocations: 342.5 kB / 299.2 MB, free: 32.42 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-05/0.2218, allocations: 59.77 kB / 299.3 MB, free: 32.42 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007199/0.2225, allocations: 1.743 MB / 301 MB, free: 30.83 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.2225, allocations: 0 / 301 MB, free: 30.83 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002232/0.2248, allocations: 1.946 MB / 303 MB, free: 30.27 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003/0.2251, allocations: 69.09 kB / 303 MB, free: 30.26 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005388/0.2256, allocations: 86.52 kB / 303.1 MB, free: 30.25 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003095/0.2259, allocations: 204.9 kB / 303.3 MB, free: 30.25 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001276/0.226, allocations: 64.62 kB / 303.4 MB, free: 30.25 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004668/0.2265, allocations: 495.3 kB / 303.9 MB, free: 30.2 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.2265, allocations: 0 / 303.9 MB, free: 30.2 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001771/0.2283, allocations: 0.598 MB / 304.5 MB, free: 30.2 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (tank1.level,tank1.medium.T,tank2.level,tank2.medium.T) * Number of discrete variables: 106 (tankController.normal.stateGraphRoot.suspend,tankController.s1.active,tankController.normal.fillTank1.localActive,tankController.normal.fillTank2.active,tankController.normal.T2.enableFire,tankController.normal.emptyTank2.active,tankController.normal.T4.enableFire,tankController.normal.wait1.active,tankController.normal.wait2.active,tankController.s2.active,tankController.emptyTanks.active,$cse1,$cse2,$cse5,$cse6,$cse7,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition9,tankController.s1.localActive,tankController.s1.inPort[2].occupied,tankController.s1.newActive,tankController.s1.oldActive,tankController.normal.stateGraphRoot.resume,tankController.normal.active,tankController.normal.newActive,tankController.normal.activeSteps,tankController.normal.fillTank1.active,tankController.normal.fillTank1.newActive,tankController.normal.fillTank1.oldActive,tankController.normal.T1.localCondition,tankController.normal.T1.enableFire,tankController.normal.fillTank2.localActive,tankController.normal.fillTank2.newActive,tankController.normal.fillTank2.oldActive,tankController.normal.T3.localCondition,tankController.normal.T3.enableFire,tankController.normal.emptyTank2.localActive,tankController.normal.emptyTank2.newActive,tankController.normal.emptyTank2.oldActive,tankController.normal.wait1.localActive,tankController.normal.wait1.newActive,tankController.normal.wait1.oldActive,tankController.normal.T2.fire,tankController.normal.T2.t_start,tankController.normal.wait2.localActive,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.T3.enableFire,tankController.s2.localActive,tankController.s2.outPort[2].available,tankController.s2.newActive,tankController.s2.oldActive,tankController.T4.enableFire,tankController.T5.enableFire,tankController.emptyTanks.localActive,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,stop.reset[1],stop.reset[2],stop.on,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEventScaled,shut.reset[1],shut.reset[2],shut.on,shut.table.y,shut.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEventScaled,tank1.regularFlow[1],tank1.regularFlow[2],tank1.inFlow[1],tank1.inFlow[2],tank2.regularFlow[1],tank2.regularFlow[2],tank2.inFlow[1],tank2.inFlow[2]) * Number of discrete states: 36 (start.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEventScaled,tankController.emptyTanks.newActive,tankController.s2.newActive,tankController.normal.newActive,tankController.normal.wait2.newActive,tankController.normal.wait1.newActive,tankController.normal.emptyTank2.newActive,tankController.normal.fillTank2.newActive,tankController.normal.fillTank1.newActive,tankController.s1.newActive,$whenCondition9,shut.on,$whenCondition8,$whenCondition7,shut.reset[1],shut.reset[2],shut.table.y,$whenCondition6,stop.on,$whenCondition5,$whenCondition4,stop.reset[1],stop.reset[2],stop.table.y,$whenCondition3,start.on,$whenCondition2,$whenCondition1,start.reset[1],start.reset[2],start.table.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (211): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 6 * When equations: 16 * 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.001834/0.2301, allocations: 0.8582 MB / 305.3 MB, free: 29.73 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002453/0.2326, allocations: 1.6 MB / 306.9 MB, free: 29.29 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.577e-05/0.2326, allocations: 31.06 kB / 306.9 MB, free: 29.29 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001017/0.2337, allocations: 0.9191 MB / 307.9 MB, free: 28.97 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001861/0.2355, allocations: 0.9282 MB / 308.8 MB, free: 28.84 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01229/0.2478, allocations: 3.679 MB / 312.5 MB, free: 26.16 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000328/0.2481, allocations: 443.1 kB / 312.9 MB, free: 25.83 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0014/0.2495, allocations: 416.9 kB / 313.3 MB, free: 25.5 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001353/0.2509, allocations: 0.7231 MB / 314 MB, free: 24.95 MB / 282.7 MB Notification: Performance of SimCode: time 2.275e-06/0.2509, allocations: 0 / 314 MB, free: 24.95 MB / 282.7 MB Notification: Performance of Templates: time 0.04988/0.3008, allocations: 44.98 MB / 359 MB, free: 13.06 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; mkfifo Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe >> ../files/Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.sim & ./Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Fluid/Examples/ControlledTankSystem/ControlledTanks/ControlledTanks.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.227060264907777]