Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001716/0.001716, allocations: 116.9 kB / 18.41 MB, free: 4.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00177/0.00177, allocations: 190.9 kB / 21.35 MB, free: 1.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 222.9 MB / 247.1 MB, free: 4.348 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 47.92 kB / 358.7 MB, free: 8.477 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1142, allocations: 49.43 MB / 408.1 MB, free: 6.996 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.2584/0.3727, allocations: 27.75 MB / 435.8 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01154/0.3842, allocations: 7.487 MB / 443.3 MB, free: 3.906 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002433/0.3867, allocations: 51.59 kB / 443.4 MB, free: 3.906 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003078/0.3899, allocations: 1.02 MB / 444.4 MB, free: 3.828 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005087/0.395, allocations: 1.537 MB / 445.9 MB, free: 3.383 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006488/0.4015, allocations: 2.258 MB / 448.2 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007331/0.4088, allocations: 5.014 MB / 453.2 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003725/0.4126, allocations: 2.077 MB / 455.3 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0039/0.4165, allocations: 1.761 MB / 457 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0032/0.4198, allocations: 1.653 MB / 458.7 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001222/0.421, allocations: 309.2 kB / 459 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003391/0.4244, allocations: 0.9329 MB / 459.9 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001442/0.4259, allocations: 0.8576 MB / 460.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002742/0.4287, allocations: 1.4 MB / 462.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00728/0.436, allocations: 4.192 MB / 466.4 MB, free: 12 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.436, allocations: 2.219 kB / 466.4 MB, free: 12 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.436, allocations: 0 / 466.4 MB, free: 12 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001145/0.4361, allocations: 0 / 466.4 MB, free: 12 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: 527 * Number of variables: 527 Notification: Performance of Generate backend data structure: time 0.00814/0.4443, allocations: 3.182 MB / 469.6 MB, free: 9.562 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.4443, allocations: 9.875 kB / 469.6 MB, free: 9.562 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00108/0.4454, allocations: 300.9 kB / 469.9 MB, free: 9.418 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002901/0.4483, allocations: 1.482 MB / 471.3 MB, free: 8.305 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003114/0.4487, allocations: 312.2 kB / 471.7 MB, free: 8.09 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003487/0.449, allocations: 227.8 kB / 471.9 MB, free: 8.016 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00518/0.4542, allocations: 2.767 MB / 474.6 MB, free: 6.211 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.446e-05/0.4543, allocations: 5.844 kB / 474.6 MB, free: 6.207 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002603/0.4546, allocations: 96.55 kB / 474.7 MB, free: 6.141 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001018/0.4547, allocations: 99.78 kB / 474.8 MB, free: 6.125 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004642/0.4593, allocations: 2.198 MB / 477 MB, free: 4.324 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.01768/0.4771, allocations: 10.28 MB / 487.3 MB, free: 9.754 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005314/0.4824, allocations: 2.066 MB / 489.4 MB, free: 7.559 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003044/0.4855, allocations: 1.102 MB / 490.5 MB, free: 6.434 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01336/0.4989, allocations: 5.491 MB / 496 MB, free: 0.6445 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003785/0.5027, allocations: 1.534 MB / 497.5 MB, free: 15.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=207): time 7.694e-06/0.5028, allocations: 0 / 497.5 MB, free: 15.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=217): time 0.02497/0.5277, allocations: 8.693 MB / 0.4943 GB, free: 6.164 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006912/0.5285, allocations: 0.7635 MB / 0.4951 GB, free: 5.23 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003748/0.5323, allocations: 1.638 MB / 0.4967 GB, free: 3.578 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006066/0.5329, allocations: 133.7 kB / 0.4968 GB, free: 3.441 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001216/0.5341, allocations: 0.9078 MB / 0.4977 GB, free: 2.551 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001148/0.5353, allocations: 0.6344 MB / 0.4983 GB, free: 1.934 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001721/0.537, allocations: 0.5642 MB / 0.4989 GB, free: 1.363 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.5372, allocations: 305.1 kB / 0.4992 GB, free: 1.062 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002911/0.5401, allocations: 0.9657 MB / 0.5001 GB, free: 96 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004022/0.5442, allocations: 1.693 MB / 0.5018 GB, free: 14.1 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006283/0.5505, allocations: 2.575 MB / 0.5043 GB, free: 11.24 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.541e-05/0.5505, allocations: 4 kB / 0.5043 GB, free: 11.24 MB / 414.1 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.008728/0.5593, allocations: 3.198 MB / 0.5074 GB, free: 8.008 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001506/0.5595, allocations: 109.1 kB / 0.5075 GB, free: 7.883 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.931e-05/0.5595, allocations: 20 kB / 0.5075 GB, free: 7.863 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001678/0.5612, allocations: 0.5761 MB / 0.5081 GB, free: 7.281 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001892/0.5631, allocations: 407.1 kB / 0.5085 GB, free: 6.883 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002761/0.5659, allocations: 2.262 MB / 0.5107 GB, free: 4.543 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001855/0.5678, allocations: 128 kB / 0.5108 GB, free: 4.418 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003929/0.5682, allocations: 128 kB / 0.5109 GB, free: 4.293 MB / 414.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: 188 ($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.start.table.combiTimeTable.nextTimeEvent,$whenCondition12,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition11,$PRE.shut.table.combiTimeTable.nextTimeEvent,$whenCondition10,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],$whenCondition6,$whenCondition4,$whenCondition5,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],$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 (325): * Single equations (assignments): 319 * 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.001847/0.57, allocations: 0.81 MB / 0.5117 GB, free: 3.445 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008143/0.5709, allocations: 218.7 kB / 0.5119 GB, free: 3.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007001/0.5779, allocations: 3.069 MB / 0.5149 GB, free: 120 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.659e-05/0.5779, allocations: 28 kB / 0.515 GB, free: 92 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.715e-05/0.578, allocations: 4 kB / 0.515 GB, free: 88 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.032e-05/0.578, allocations: 15.95 kB / 0.515 GB, free: 72 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01048/0.5885, allocations: 5.487 MB / 0.5203 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.749e-05/0.5885, allocations: 4 kB / 0.5203 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00118/0.5897, allocations: 259.5 kB / 0.5206 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001197/0.5909, allocations: 0.5489 MB / 0.5211 GB, free: 9.738 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002348/0.5912, allocations: 75.94 kB / 0.5212 GB, free: 9.664 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002313/0.5935, allocations: 2.231 MB / 0.5234 GB, free: 7.359 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.5935, allocations: 0 / 0.5234 GB, free: 7.359 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007844/0.6014, allocations: 4.29 MB / 0.5276 GB, free: 2.957 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001296/0.6027, allocations: 0.5385 MB / 0.5281 GB, free: 2.398 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004441/0.6032, allocations: 71.98 kB / 0.5282 GB, free: 2.328 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001266/0.6044, allocations: 111.8 kB / 0.5283 GB, free: 2.219 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006027/0.605, allocations: 253.6 kB / 0.5285 GB, free: 1.969 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002307/0.6053, allocations: 102.7 kB / 0.5286 GB, free: 1.871 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001845/0.6071, allocations: 1.043 MB / 0.5296 GB, free: 0.832 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6071, allocations: 0 / 0.5296 GB, free: 0.832 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002704/0.6099, allocations: 0.6908 MB / 0.5303 GB, free: 144 kB / 430.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: 120 (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,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,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.pre_reset[2],shut.pre_reset[1],shut.reset[1],shut.reset[2],shut.table.y,$whenCondition6,stop.on,$whenCondition5,$whenCondition4,stop.pre_reset[2],stop.pre_reset[1],stop.reset[1],stop.reset[2],stop.table.y,$whenCondition3,start.on,$whenCondition2,$whenCondition1,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 (219): * Single equations (assignments): 183 * 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.003089/0.613, allocations: 0.8682 MB / 0.5311 GB, free: 15.46 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006937/0.6199, allocations: 2.853 MB / 0.5339 GB, free: 12.58 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.178e-05/0.62, allocations: 0 / 0.5339 GB, free: 12.58 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003527/0.6235, allocations: 1.661 MB / 0.5355 GB, free: 10.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004119/0.6276, allocations: 0.7727 MB / 0.5363 GB, free: 10.12 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01012/0.6378, allocations: 4.577 MB / 0.5408 GB, free: 5.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001938/0.6397, allocations: 1.572 MB / 0.5423 GB, free: 3.891 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001187/0.6409, allocations: 251.3 kB / 0.5425 GB, free: 3.645 MB / 446.1 MB Notification: Performance of SimCode: time 9.22e-07/0.641, allocations: 0 / 0.5425 GB, free: 3.645 MB / 446.1 MB Notification: Performance of Templates: time 0.2944/0.9354, allocations: 68.33 MB / 0.6093 GB, free: 169.8 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; mkfifo Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe >> ../files/Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.sim & ./Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Fluid/Examples/ControlledTankSystem/ControlledTanks/ControlledTanks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 14.648744986043312]