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.00183/0.00183, allocations: 111.6 kB / 20.43 MB, free: 1.473 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.002419/0.002419, allocations: 210.7 kB / 23.74 MB, free: 4.691 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.573/1.573, allocations: 230.6 MB / 257.5 MB, free: 8.008 MB / 206.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 0.00168/0.00168, allocations: 51.91 kB / 378.3 MB, free: 2.633 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2596/0.2613, allocations: 53.36 MB / 431.6 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.03177/0.2931, allocations: 28.39 MB / 460 MB, free: 10.42 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01278/0.3059, allocations: 7.63 MB / 467.7 MB, free: 2.77 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001617/0.3075, allocations: 71.38 kB / 467.7 MB, free: 2.699 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002625/0.3101, allocations: 1.048 MB / 468.8 MB, free: 1.648 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004188/0.3143, allocations: 1.664 MB / 470.4 MB, free: 15.97 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005258/0.3195, allocations: 2.205 MB / 472.6 MB, free: 13.79 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007127/0.3267, allocations: 5.114 MB / 477.8 MB, free: 8.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003098/0.3298, allocations: 1.718 MB / 479.5 MB, free: 6.898 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003349/0.3331, allocations: 1.826 MB / 481.3 MB, free: 5.066 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003641/0.3368, allocations: 1.735 MB / 483 MB, free: 3.324 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007967/0.3376, allocations: 308 kB / 483.3 MB, free: 3.023 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0026/0.3402, allocations: 1.011 MB / 484.3 MB, free: 2.012 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009921/0.3412, allocations: 0.8763 MB / 485.2 MB, free: 1.133 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001893/0.343, allocations: 1.392 MB / 486.6 MB, free: 15.73 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005781/0.3488, allocations: 4.288 MB / 490.9 MB, free: 11.44 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.3488, allocations: 0 / 490.9 MB, free: 11.44 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3488, allocations: 0 / 490.9 MB, free: 11.44 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.29e-05/0.3489, allocations: 4 kB / 490.9 MB, free: 11.43 MB / 398.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.007228/0.3561, allocations: 3.109 MB / 494 MB, free: 8.203 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.3562, allocations: 12.03 kB / 494 MB, free: 8.191 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001623/0.3578, allocations: 371.1 kB / 494.4 MB, free: 7.828 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002865/0.3607, allocations: 1.397 MB / 495.8 MB, free: 6.387 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000415/0.3611, allocations: 418.3 kB / 496.2 MB, free: 5.926 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003639/0.3614, allocations: 220 kB / 496.4 MB, free: 5.711 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005058/0.3665, allocations: 2.75 MB / 499.2 MB, free: 2.797 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.818e-05/0.3665, allocations: 7.938 kB / 499.2 MB, free: 2.789 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002251/0.3668, allocations: 95.95 kB / 499.3 MB, free: 2.695 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001298/0.3669, allocations: 103.6 kB / 499.4 MB, free: 2.594 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00413/0.371, allocations: 2.196 MB / 0.4898 GB, free: 404 kB / 398.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.01708/0.3881, allocations: 10.94 MB / 0.5005 GB, free: 5.09 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003193/0.3913, allocations: 1.665 MB / 0.5021 GB, free: 3.336 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001753/0.393, allocations: 0.974 MB / 0.5031 GB, free: 2.344 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00835/0.4014, allocations: 4.126 MB / 0.5071 GB, free: 14.19 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002599/0.404, allocations: 1.519 MB / 0.5086 GB, free: 12.58 MB / 430.1 MB Notification: Performance of pre-optimization done (n=205): time 3.927e-06/0.404, allocations: 0 / 0.5086 GB, free: 12.58 MB / 430.1 MB Notification: Performance of matching and sorting (n=215): time 0.01748/0.4215, allocations: 8.396 MB / 0.5168 GB, free: 4.09 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005295/0.422, allocations: 0.7671 MB / 0.5175 GB, free: 3.152 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002546/0.4246, allocations: 1.667 MB / 0.5192 GB, free: 1.473 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002627/0.4248, allocations: 125.7 kB / 0.5193 GB, free: 1.344 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009181/0.4257, allocations: 0.9225 MB / 0.5202 GB, free: 420 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007265/0.4265, allocations: 0.6357 MB / 0.5208 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000914/0.4274, allocations: 0.5563 MB / 0.5213 GB, free: 15.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.4275, allocations: 309.1 kB / 0.5216 GB, free: 14.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001869/0.4294, allocations: 0.9501 MB / 0.5226 GB, free: 13.95 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002591/0.432, allocations: 1.678 MB / 0.5242 GB, free: 11.97 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004198/0.4362, allocations: 2.57 MB / 0.5267 GB, free: 9.109 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.41e-05/0.4362, allocations: 4 kB / 0.5267 GB, free: 9.105 MB / 446.1 MB Notification: Performance of matching and sorting (n=350) (initialization): time 0.006393/0.4426, allocations: 3.143 MB / 0.5298 GB, free: 5.934 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001151/0.4427, allocations: 105.1 kB / 0.5299 GB, free: 5.812 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.038e-05/0.4427, allocations: 20.06 kB / 0.5299 GB, free: 5.793 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001344/0.4441, allocations: 0.5801 MB / 0.5305 GB, free: 5.203 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001556/0.4456, allocations: 395.2 kB / 0.5308 GB, free: 4.816 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002646/0.4483, allocations: 2.274 MB / 0.5331 GB, free: 2.465 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001725/0.45, allocations: 132 kB / 0.5332 GB, free: 2.336 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002289/0.4502, allocations: 112 kB / 0.5333 GB, free: 2.227 MB / 446.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.001484/0.4517, allocations: 0.7936 MB / 0.5341 GB, free: 1.395 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005057/0.4522, allocations: 222.7 kB / 0.5343 GB, free: 1.176 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2343/0.6865, allocations: 3.024 MB / 0.5372 GB, free: 104.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-05/0.6866, allocations: 32.02 kB / 0.5373 GB, free: 104.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.958e-05/0.6866, allocations: 3.125 kB / 0.5373 GB, free: 104.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.742e-05/0.6867, allocations: 16.91 kB / 0.5373 GB, free: 104.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01128/0.6979, allocations: 5.369 MB / 0.5425 GB, free: 102.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-05/0.6979, allocations: 2.688 kB / 0.5425 GB, free: 102.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009858/0.6989, allocations: 241.8 kB / 0.5428 GB, free: 102.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009939/0.6999, allocations: 0.5573 MB / 0.5433 GB, free: 102.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001837/0.7001, allocations: 63.5 kB / 0.5434 GB, free: 102.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001645/0.7017, allocations: 2.238 MB / 0.5456 GB, free: 100.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.7018, allocations: 7.594 kB / 0.5456 GB, free: 100.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00578/0.7075, allocations: 4.198 MB / 0.5497 GB, free: 99.04 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001058/0.7086, allocations: 467.5 kB / 0.5501 GB, free: 98.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003722/0.709, allocations: 85 kB / 0.5502 GB, free: 98.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001053/0.71, allocations: 94.2 kB / 0.5503 GB, free: 98.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004609/0.7105, allocations: 252.9 kB / 0.5505 GB, free: 98.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001567/0.7106, allocations: 93.89 kB / 0.5506 GB, free: 98.65 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00124/0.7119, allocations: 1.057 MB / 0.5516 GB, free: 98.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7119, allocations: 3.562 kB / 0.5516 GB, free: 98.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001772/0.7136, allocations: 0.6909 MB / 0.5523 GB, free: 97.69 MB / 446.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 (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.002119/0.7158, allocations: 0.8447 MB / 0.5531 GB, free: 97.13 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004321/0.7201, allocations: 2.641 MB / 0.5557 GB, free: 94.47 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/0.7201, allocations: 3.047 kB / 0.5557 GB, free: 94.47 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00252/0.7226, allocations: 1.531 MB / 0.5572 GB, free: 92.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00322/0.7258, allocations: 0.7573 MB / 0.558 GB, free: 92.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007341/0.7332, allocations: 4.54 MB / 0.5624 GB, free: 87.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007936/0.734, allocations: 1.597 MB / 0.564 GB, free: 86.05 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001565/0.7355, allocations: 0.541 MB / 0.5645 GB, free: 85.51 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005394/0.7361, allocations: 223.3 kB / 0.5647 GB, free: 85.29 MB / 446.1 MB Notification: Performance of SimCode: time 9.42e-07/0.7361, allocations: 4 kB / 0.5647 GB, free: 85.29 MB / 446.1 MB Notification: Performance of Templates: time 0.0588/0.7949, allocations: 45.33 MB / 0.609 GB, free: 40.35 MB / 446.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.756235931999981]