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.001732/0.001732, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.002362/0.002362, allocations: 213.5 kB / 24.47 MB, free: 3.777 MB / 14.72 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 1.551/1.551, allocations: 207.7 MB / 235.3 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] 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.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_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.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_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 51.92 kB / 347.7 MB, free: 9.375 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.256, allocations: 49.15 MB / 396.8 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.0272/0.2832, allocations: 25.37 MB / 422.2 MB, free: 7.508 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01362/0.2968, allocations: 6.935 MB / 429.1 MB, free: 2 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002034/0.2988, allocations: 71.34 kB / 429.2 MB, free: 1.961 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003411/0.3022, allocations: 1.001 MB / 430.2 MB, free: 1.215 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005108/0.3073, allocations: 1.608 MB / 431.8 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006254/0.3136, allocations: 2.246 MB / 434.1 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00747/0.3211, allocations: 5.02 MB / 439.1 MB, free: 8.832 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003028/0.3241, allocations: 1.671 MB / 440.8 MB, free: 7.117 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003394/0.3275, allocations: 1.783 MB / 442.5 MB, free: 5.328 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002882/0.3304, allocations: 1.587 MB / 444.1 MB, free: 3.734 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008127/0.3312, allocations: 304 kB / 444.4 MB, free: 3.438 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002635/0.3338, allocations: 0.8818 MB / 445.3 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001262/0.3351, allocations: 0.8607 MB / 446.2 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002166/0.3372, allocations: 1.108 MB / 447.3 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006094/0.3433, allocations: 4.179 MB / 451.5 MB, free: 12.39 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.3433, allocations: 0 / 451.5 MB, free: 12.39 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3433, allocations: 3.938 kB / 451.5 MB, free: 12.39 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001103/0.3434, allocations: 0 / 451.5 MB, free: 12.39 MB / 366.1 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.007043/0.3505, allocations: 2.996 MB / 454.5 MB, free: 9.281 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.3505, allocations: 11.98 kB / 454.5 MB, free: 9.27 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001046/0.3516, allocations: 303.2 kB / 454.8 MB, free: 8.973 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002969/0.3545, allocations: 1.354 MB / 456.1 MB, free: 7.578 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003506/0.3549, allocations: 406.3 kB / 456.5 MB, free: 7.133 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003467/0.3552, allocations: 216 kB / 456.7 MB, free: 6.922 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005081/0.3603, allocations: 3.252 MB / 460 MB, free: 3.383 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.832e-05/0.3604, allocations: 7.938 kB / 460 MB, free: 3.375 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002186/0.3606, allocations: 95.97 kB / 460.1 MB, free: 3.281 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001193/0.3607, allocations: 99.69 kB / 460.2 MB, free: 3.184 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004099/0.3648, allocations: 2.264 MB / 462.4 MB, free: 0.8984 MB / 366.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.01424/0.3791, allocations: 8.493 MB / 470.9 MB, free: 8.223 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003218/0.3823, allocations: 1.63 MB / 472.6 MB, free: 6.574 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00183/0.3841, allocations: 1.003 MB / 473.6 MB, free: 5.551 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007679/0.3918, allocations: 3.049 MB / 476.6 MB, free: 2.477 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002982/0.3948, allocations: 1.823 MB / 478.4 MB, free: 0.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=193): time 4.648e-06/0.3948, allocations: 0 / 478.4 MB, free: 0.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=203): time 0.01518/0.4099, allocations: 6.13 MB / 484.6 MB, free: 10.26 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000309/0.4103, allocations: 482.9 kB / 485 MB, free: 9.68 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002328/0.4126, allocations: 1.416 MB / 486.5 MB, free: 8.242 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003319/0.4129, allocations: 113.7 kB / 486.6 MB, free: 8.125 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001017/0.4139, allocations: 0.9478 MB / 487.5 MB, free: 7.168 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007442/0.4147, allocations: 0.6007 MB / 488.1 MB, free: 6.562 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001012/0.4157, allocations: 0.5597 MB / 488.7 MB, free: 5.996 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.4158, allocations: 301.1 kB / 489 MB, free: 5.699 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001924/0.4177, allocations: 0.9978 MB / 490 MB, free: 4.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002732/0.4205, allocations: 1.892 MB / 491.9 MB, free: 2.445 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004161/0.4246, allocations: 2.441 MB / 494.3 MB, free: 15.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.989e-05/0.4247, allocations: 11.94 kB / 494.3 MB, free: 15.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=332) (initialization): time 0.006538/0.4312, allocations: 3.145 MB / 497.5 MB, free: 12.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001184/0.4313, allocations: 101.1 kB / 497.6 MB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.433e-05/0.4314, allocations: 16 kB / 497.6 MB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001372/0.4327, allocations: 0.5763 MB / 498.1 MB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001611/0.4343, allocations: 395.2 kB / 498.5 MB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002687/0.437, allocations: 2.254 MB / 0.489 GB, free: 9.086 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001744/0.4388, allocations: 111.9 kB / 0.4892 GB, free: 8.977 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000372/0.4391, allocations: 124 kB / 0.4893 GB, free: 8.855 MB / 414.1 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,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.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) * 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.001604/0.4407, allocations: 0.7677 MB / 0.49 GB, free: 8.047 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006069/0.4414, allocations: 190.8 kB / 0.4902 GB, free: 7.859 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006559/0.4479, allocations: 3.128 MB / 0.4933 GB, free: 4.668 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.016e-05/0.448, allocations: 35.86 kB / 0.4933 GB, free: 4.633 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.48e-05/0.448, allocations: 0 / 0.4933 GB, free: 4.633 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.642e-05/0.448, allocations: 11.97 kB / 0.4933 GB, free: 4.621 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01035/0.4583, allocations: 4.907 MB / 0.4981 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.059e-05/0.4584, allocations: 0 / 0.4981 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001148/0.4595, allocations: 251.5 kB / 0.4983 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001285/0.4608, allocations: 0.5567 MB / 0.4989 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002784/0.4611, allocations: 67.95 kB / 0.4989 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00252/0.4636, allocations: 2.223 MB / 0.5011 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.4636, allocations: 3.984 kB / 0.5011 GB, free: 12.44 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008639/0.4722, allocations: 4.284 MB / 0.5053 GB, free: 8.078 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001526/0.4738, allocations: 434.3 kB / 0.5057 GB, free: 7.652 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006355/0.4744, allocations: 63.92 kB / 0.5058 GB, free: 7.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001434/0.4758, allocations: 92.11 kB / 0.5059 GB, free: 7.5 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006944/0.4765, allocations: 261.5 kB / 0.5061 GB, free: 7.242 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003119/0.4768, allocations: 99.92 kB / 0.5062 GB, free: 7.145 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001728/0.4786, allocations: 0.8656 MB / 0.5071 GB, free: 6.277 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4786, allocations: 0 / 0.5071 GB, free: 6.277 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00293/0.4815, allocations: 0.6751 MB / 0.5077 GB, free: 5.602 MB / 430.1 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 (214): * Single equations (assignments): 186 * 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.003058/0.4846, allocations: 0.8595 MB / 0.5086 GB, free: 4.723 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006105/0.4907, allocations: 2.711 MB / 0.5112 GB, free: 1.941 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.228e-06/0.4907, allocations: 3.859 kB / 0.5112 GB, free: 1.938 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003203/0.4939, allocations: 1.42 MB / 0.5126 GB, free: 472 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00373/0.4976, allocations: 0.6922 MB / 0.5133 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009683/0.5073, allocations: 4.475 MB / 0.5176 GB, free: 11.23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001248/0.5085, allocations: 1.007 MB / 0.5186 GB, free: 10.18 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00196/0.5105, allocations: 0.532 MB / 0.5191 GB, free: 9.648 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006315/0.5111, allocations: 215.3 kB / 0.5193 GB, free: 9.438 MB / 446.1 MB Notification: Performance of SimCode: time 1.092e-06/0.5111, allocations: 0 / 0.5193 GB, free: 9.438 MB / 446.1 MB Notification: Performance of Templates: time 0.2576/0.7688, allocations: 44.4 MB / 0.5627 GB, free: 154.2 MB / 478.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.760666839778423]