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.001441/0.001441, allocations: 84.95 kB / 22 MB, free: 5.176 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.001401/0.001401, allocations: 161.8 kB / 25.25 MB, free: 3.027 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.315/1.315, allocations: 158.6 MB / 187 MB, free: 6.23 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5036,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|shut.on|shut.reset.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.001803/0.001803, allocations: 64.44 kB / 299.4 MB, free: 6.855 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.209/0.2108, allocations: 49.14 MB / 348.5 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.03104/0.2418, allocations: 25.36 MB / 373.9 MB, free: 6.066 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01237/0.2542, allocations: 6.93 MB / 380.8 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001847/0.2561, allocations: 67.44 kB / 380.9 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002884/0.2589, allocations: 1.006 MB / 381.9 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004188/0.2631, allocations: 1.601 MB / 383.5 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005937/0.2691, allocations: 2.261 MB / 385.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007293/0.2764, allocations: 5.013 MB / 390.7 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003008/0.2794, allocations: 1.671 MB / 392.4 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002998/0.2824, allocations: 1.791 MB / 394.2 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002867/0.2852, allocations: 1.583 MB / 395.8 MB, free: 36 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006368/0.2859, allocations: 304 kB / 396.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002125/0.288, allocations: 0.8856 MB / 397 MB, free: 14.85 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009613/0.289, allocations: 0.853 MB / 397.8 MB, free: 14 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001471/0.2904, allocations: 1.112 MB / 398.9 MB, free: 12.88 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005268/0.2957, allocations: 4.183 MB / 403.1 MB, free: 8.688 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2957, allocations: 0 / 403.1 MB, free: 8.688 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2957, allocations: 0 / 403.1 MB, free: 8.688 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.011e-05/0.2958, allocations: 0 / 403.1 MB, free: 8.688 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.006036/0.3018, allocations: 3 MB / 406.1 MB, free: 5.582 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.3018, allocations: 11.98 kB / 406.1 MB, free: 5.57 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007943/0.3026, allocations: 299.2 kB / 406.4 MB, free: 5.277 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002625/0.3053, allocations: 1.354 MB / 407.8 MB, free: 3.883 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003527/0.3056, allocations: 410.3 kB / 408.2 MB, free: 3.434 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003319/0.3059, allocations: 216 kB / 408.4 MB, free: 3.223 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005032/0.311, allocations: 3.248 MB / 411.6 MB, free: 15.69 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.029e-05/0.311, allocations: 7.938 kB / 411.6 MB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002299/0.3113, allocations: 95.97 kB / 411.7 MB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001307/0.3114, allocations: 99.69 kB / 411.8 MB, free: 15.49 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004123/0.3155, allocations: 2.272 MB / 414.1 MB, free: 13.2 MB / 382.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.01287/0.3284, allocations: 8.482 MB / 422.6 MB, free: 4.527 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002818/0.3312, allocations: 1.642 MB / 424.2 MB, free: 2.867 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001668/0.3329, allocations: 0.9994 MB / 425.2 MB, free: 1.844 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006328/0.3392, allocations: 3.041 MB / 428.3 MB, free: 14.78 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002589/0.3418, allocations: 1.834 MB / 430.1 MB, free: 12.79 MB / 398.1 MB Notification: Performance of pre-optimization done (n=193): time 3.858e-06/0.3418, allocations: 0 / 430.1 MB, free: 12.79 MB / 398.1 MB Notification: Performance of matching and sorting (n=203): time 0.01368/0.3555, allocations: 6.122 MB / 436.2 MB, free: 6.555 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000295/0.3558, allocations: 482.9 kB / 436.7 MB, free: 5.977 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001934/0.3577, allocations: 1.42 MB / 438.1 MB, free: 4.535 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002034/0.3579, allocations: 113.6 kB / 438.2 MB, free: 4.418 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008563/0.3588, allocations: 0.9517 MB / 439.2 MB, free: 3.457 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006283/0.3594, allocations: 0.6007 MB / 439.8 MB, free: 2.852 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008465/0.3602, allocations: 0.5442 MB / 440.3 MB, free: 2.301 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.3604, allocations: 305.1 kB / 440.6 MB, free: 2 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00181/0.3622, allocations: 1.002 MB / 441.6 MB, free: 0.9766 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002616/0.3648, allocations: 1.892 MB / 443.5 MB, free: 14.74 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003885/0.3687, allocations: 2.437 MB / 446 MB, free: 12.04 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.439e-05/0.3687, allocations: 8 kB / 446 MB, free: 12.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=332) (initialization): time 0.005879/0.3746, allocations: 3.149 MB / 449.1 MB, free: 8.824 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.881e-05/0.3747, allocations: 101.1 kB / 449.2 MB, free: 8.707 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.693e-05/0.3747, allocations: 16 kB / 449.2 MB, free: 8.691 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001301/0.376, allocations: 0.5762 MB / 449.8 MB, free: 8.105 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001455/0.3775, allocations: 395.2 kB / 450.2 MB, free: 7.719 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002454/0.3799, allocations: 2.262 MB / 452.5 MB, free: 5.379 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001327/0.3812, allocations: 111.9 kB / 452.6 MB, free: 5.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002333/0.3815, allocations: 116 kB / 452.7 MB, free: 5.156 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.001219/0.3827, allocations: 0.7639 MB / 453.4 MB, free: 4.352 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003678/0.3831, allocations: 190.8 kB / 453.6 MB, free: 4.164 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005854/0.3889, allocations: 3.14 MB / 456.8 MB, free: 0.9609 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.957e-05/0.3889, allocations: 27.94 kB / 456.8 MB, free: 0.9336 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.3889, allocations: 0 / 456.8 MB, free: 0.9336 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.531e-05/0.389, allocations: 15.95 kB / 456.8 MB, free: 0.918 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009062/0.398, allocations: 4.911 MB / 461.7 MB, free: 11.92 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/0.398, allocations: 0 / 461.7 MB, free: 11.92 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001108/0.3991, allocations: 247.6 kB / 462 MB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001194/0.4003, allocations: 0.5528 MB / 462.5 MB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001498/0.4005, allocations: 63.95 kB / 462.6 MB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002405/0.4029, allocations: 2.235 MB / 464.8 MB, free: 8.738 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.4029, allocations: 0 / 464.8 MB, free: 8.738 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007385/0.4103, allocations: 4.28 MB / 469.1 MB, free: 4.379 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001005/0.4113, allocations: 438.4 kB / 469.5 MB, free: 3.949 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002976/0.4116, allocations: 63.92 kB / 469.6 MB, free: 3.887 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/0.4127, allocations: 99.92 kB / 469.7 MB, free: 3.789 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005264/0.4132, allocations: 249.6 kB / 469.9 MB, free: 3.543 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002015/0.4134, allocations: 99.88 kB / 470 MB, free: 3.445 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001254/0.4146, allocations: 0.8695 MB / 470.9 MB, free: 2.574 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4146, allocations: 0 / 470.9 MB, free: 2.574 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001873/0.4165, allocations: 0.6677 MB / 471.6 MB, free: 1.906 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.002579/0.4191, allocations: 0.8543 MB / 472.4 MB, free: 1.031 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.1617/0.5808, allocations: 2.708 MB / 475.1 MB, free: 115.1 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/0.5808, allocations: 5.359 kB / 475.1 MB, free: 115.1 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00257/0.5834, allocations: 1.427 MB / 476.5 MB, free: 114.6 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002801/0.5862, allocations: 0.6806 MB / 477.2 MB, free: 114.4 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006648/0.5928, allocations: 4.477 MB / 481.7 MB, free: 112.3 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008093/0.5936, allocations: 1.012 MB / 482.7 MB, free: 112.1 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001367/0.595, allocations: 0.5305 MB / 483.3 MB, free: 112 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000494/0.5955, allocations: 220.2 kB / 483.5 MB, free: 112 MB / 430.1 MB Notification: Performance of SimCode: time 6.91e-07/0.5955, allocations: 0 / 483.5 MB, free: 112 MB / 430.1 MB Notification: Performance of Templates: time 0.05068/0.6461, allocations: 42.06 MB / 0.5132 GB, free: 71.09 MB / 430.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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Fluid/Examples/ControlledTankSystem/ControlledTanks/ControlledTanks.csv","/var/lib/jenkins1/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.208532373071648]