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.001447/0.001447, allocations: 82.58 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001462/0.001462, allocations: 163.2 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.433/1.433, allocations: 177.2 MB / 204.3 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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.1.|shut.reset.2.|start.on|start.reset.1.|start.reset.2.|stop.on|stop.reset.1.|stop.reset.2.|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.1.|shut.reset.2.|start.on|start.reset.1.|start.reset.2.|stop.on|stop.reset.1.|stop.reset.2.|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 2.935e-06/2.935e-06, allocations: 0 / 325.1 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.811e-05/4.105e-05, allocations: 5.375 kB / 325.1 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.05451/0.05455, allocations: 25.4 MB / 350.5 MB, free: 11.69 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02349/0.07804, allocations: 7.193 MB / 357.7 MB, free: 4.484 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002697/0.08074, allocations: 71.44 kB / 357.7 MB, free: 4.414 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00478/0.08552, allocations: 1.01 MB / 358.7 MB, free: 3.398 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006583/0.0921, allocations: 1.717 MB / 360.5 MB, free: 1.672 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005649/0.09775, allocations: 2.23 MB / 362.7 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00727/0.105, allocations: 5.123 MB / 367.8 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002927/0.1079, allocations: 1.714 MB / 369.5 MB, free: 8.559 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004374/0.1123, allocations: 2.51 MB / 372 MB, free: 6.043 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002686/0.115, allocations: 1.465 MB / 373.5 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006498/0.1157, allocations: 316 kB / 373.8 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00239/0.118, allocations: 0.8931 MB / 374.7 MB, free: 3.371 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009852/0.119, allocations: 0.8918 MB / 375.6 MB, free: 2.477 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001449/0.1205, allocations: 0.9665 MB / 376.6 MB, free: 1.508 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006427/0.1269, allocations: 4.429 MB / 381 MB, free: 13.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1269, allocations: 4 kB / 381 MB, free: 13.06 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1269, allocations: 0 / 381 MB, free: 13.06 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.761e-05/0.127, allocations: 0 / 381 MB, free: 13.06 MB / 350.1 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.006611/0.1336, allocations: 3.093 MB / 384.1 MB, free: 9.848 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.1336, allocations: 8.031 kB / 384.1 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001757/0.1354, allocations: 371.1 kB / 384.5 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002776/0.1382, allocations: 1.377 MB / 385.8 MB, free: 8.051 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003804/0.1385, allocations: 410.8 kB / 386.2 MB, free: 7.598 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003684/0.1389, allocations: 224.3 kB / 386.5 MB, free: 7.379 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005495/0.1444, allocations: 3.291 MB / 389.7 MB, free: 3.801 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.678e-05/0.1445, allocations: 7.938 kB / 389.8 MB, free: 3.793 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002417/0.1447, allocations: 91.97 kB / 389.8 MB, free: 3.703 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001326/0.1448, allocations: 99.69 kB / 389.9 MB, free: 3.605 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004605/0.1494, allocations: 2.291 MB / 392.2 MB, free: 1.293 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01562/0.1651, allocations: 9.402 MB / 401.6 MB, free: 7.684 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003092/0.1682, allocations: 1.767 MB / 403.4 MB, free: 5.812 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001828/0.17, allocations: 1.076 MB / 404.5 MB, free: 4.699 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008061/0.178, allocations: 3.739 MB / 408.2 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002813/0.1809, allocations: 1.912 MB / 410.1 MB, free: 14.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=205): time 4.678e-06/0.1809, allocations: 3.938 kB / 410.1 MB, free: 14.83 MB / 382.1 MB Notification: Performance of matching and sorting (n=215): time 0.01734/0.1982, allocations: 8.617 MB / 418.7 MB, free: 6.082 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004488/0.1986, allocations: 0.6919 MB / 419.4 MB, free: 5.238 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00215/0.2008, allocations: 1.44 MB / 420.9 MB, free: 3.777 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003299/0.2011, allocations: 125.9 kB / 421 MB, free: 3.648 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000943/0.2021, allocations: 0.9407 MB / 421.9 MB, free: 2.699 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007294/0.2028, allocations: 0.6278 MB / 422.6 MB, free: 2.066 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008836/0.2037, allocations: 0.5524 MB / 423.1 MB, free: 1.508 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.2038, allocations: 301.1 kB / 423.4 MB, free: 1.211 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001953/0.2058, allocations: 1.057 MB / 424.5 MB, free: 136 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002769/0.2085, allocations: 1.98 MB / 426.5 MB, free: 13.79 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004347/0.2129, allocations: 2.59 MB / 429 MB, free: 10.91 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.389e-05/0.2129, allocations: 8 kB / 429.1 MB, free: 10.9 MB / 398.1 MB Notification: Performance of matching and sorting (n=350) (initialization): time 0.006482/0.2194, allocations: 3.23 MB / 432.3 MB, free: 7.613 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001197/0.2195, allocations: 109.1 kB / 432.4 MB, free: 7.488 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.062e-05/0.2195, allocations: 19.98 kB / 432.4 MB, free: 7.469 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001391/0.2209, allocations: 0.5846 MB / 433 MB, free: 6.875 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001579/0.2225, allocations: 403.2 kB / 433.4 MB, free: 6.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002642/0.2251, allocations: 2.254 MB / 435.6 MB, free: 4.148 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001585/0.2267, allocations: 120 kB / 435.8 MB, free: 4.031 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002401/0.2269, allocations: 124 kB / 435.9 MB, free: 3.91 MB / 398.1 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,tankController.stateGraphRoot.resume,tankController.stateGraphRoot.suspend,tankController.normal.T4.condition,tankController.normal.T2.condition,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) * 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.001466/0.2284, allocations: 0.812 MB / 436.7 MB, free: 3.066 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004826/0.2289, allocations: 206.8 kB / 436.9 MB, free: 2.863 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00636/0.2353, allocations: 3.147 MB / 440 MB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.969e-05/0.2353, allocations: 28 kB / 440.1 MB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.255e-05/0.2353, allocations: 4 kB / 440.1 MB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.598e-05/0.2353, allocations: 15.95 kB / 440.1 MB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01005/0.2454, allocations: 4.95 MB / 445 MB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.365e-05/0.2454, allocations: 4 kB / 445 MB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001201/0.2466, allocations: 247.5 kB / 445.3 MB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001293/0.2479, allocations: 0.5606 MB / 445.8 MB, free: 9.758 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000213/0.2481, allocations: 63.95 kB / 445.9 MB, free: 9.695 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002573/0.2507, allocations: 2.239 MB / 448.1 MB, free: 7.379 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.2507, allocations: 3.938 kB / 448.1 MB, free: 7.375 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008274/0.259, allocations: 4.447 MB / 452.6 MB, free: 2.812 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001275/0.2602, allocations: 438.3 kB / 453 MB, free: 2.383 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005868/0.2608, allocations: 80.3 kB / 453.1 MB, free: 2.305 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001366/0.2622, allocations: 91.92 kB / 453.2 MB, free: 2.215 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006651/0.2629, allocations: 257.6 kB / 453.4 MB, free: 1.965 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002467/0.2631, allocations: 87.95 kB / 453.5 MB, free: 1.879 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001639/0.2647, allocations: 0.8855 MB / 454.4 MB, free: 0.9922 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2647, allocations: 4 kB / 454.4 MB, free: 0.9883 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002422/0.2672, allocations: 0.6869 MB / 455.1 MB, free: 308 kB / 414.1 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 (215): * Single equations (assignments): 179 * 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.002856/0.27, allocations: 0.8695 MB / 456 MB, free: 15.61 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006275/0.2763, allocations: 2.868 MB / 458.8 MB, free: 12.66 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/0.2763, allocations: 0 / 458.8 MB, free: 12.66 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00368/0.28, allocations: 1.631 MB / 460.5 MB, free: 10.98 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003854/0.2838, allocations: 0.7077 MB / 461.2 MB, free: 10.3 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01062/0.2944, allocations: 4.486 MB / 465.7 MB, free: 5.73 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001575/0.296, allocations: 1.027 MB / 466.7 MB, free: 4.656 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00215/0.2982, allocations: 0.5163 MB / 467.2 MB, free: 4.141 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007815/0.299, allocations: 212.4 kB / 467.4 MB, free: 3.934 MB / 430.1 MB Notification: Performance of SimCode: time 1.002e-06/0.299, allocations: 0 / 467.4 MB, free: 3.934 MB / 430.1 MB Notification: Performance of Templates: time 0.2023/0.5013, allocations: 42.19 MB / 0.4977 GB, free: 106.9 MB / 430.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.264224722981453]