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.001955/0.001955, allocations: 113.4 kB / 21.93 MB, free: 5.219 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.001568/0.001568, allocations: 213.5 kB / 25.22 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.488/1.488, allocations: 207.7 MB / 236.1 MB, free: 9.801 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.001836/0.001836, allocations: 54.59 kB / 348.4 MB, free: 9.383 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2535, allocations: 49.16 MB / 397.6 MB, free: 9.379 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.02647/0.28, allocations: 25.36 MB / 423 MB, free: 7.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01283/0.2928, allocations: 6.936 MB / 429.9 MB, free: 2.012 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002192/0.295, allocations: 67.59 kB / 430 MB, free: 1.977 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003103/0.2981, allocations: 1.007 MB / 431 MB, free: 1.223 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004947/0.303, allocations: 1.602 MB / 432.6 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006071/0.3091, allocations: 2.25 MB / 434.8 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007666/0.3168, allocations: 5.024 MB / 439.8 MB, free: 8.836 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0031/0.3199, allocations: 1.667 MB / 441.5 MB, free: 7.125 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003529/0.3234, allocations: 1.787 MB / 443.3 MB, free: 5.332 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002937/0.3263, allocations: 1.591 MB / 444.9 MB, free: 3.734 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006913/0.327, allocations: 304 kB / 445.2 MB, free: 3.438 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002353/0.3294, allocations: 0.874 MB / 446.1 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009821/0.3304, allocations: 0.8529 MB / 446.9 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001622/0.332, allocations: 1.112 MB / 448 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006023/0.338, allocations: 4.187 MB / 452.2 MB, free: 12.39 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.338, allocations: 4 kB / 452.2 MB, free: 12.39 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.338, allocations: 0 / 452.2 MB, free: 12.39 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.198e-05/0.3381, allocations: 0 / 452.2 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.006559/0.3447, allocations: 2.992 MB / 455.2 MB, free: 9.293 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.3447, allocations: 15.97 kB / 455.2 MB, free: 9.277 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008499/0.3456, allocations: 299.2 kB / 455.5 MB, free: 8.984 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002608/0.3482, allocations: 1.354 MB / 456.9 MB, free: 7.59 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003684/0.3485, allocations: 414.2 kB / 457.3 MB, free: 7.133 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003559/0.3489, allocations: 216 kB / 457.5 MB, free: 6.922 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005245/0.3541, allocations: 3.252 MB / 460.7 MB, free: 3.383 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.842e-05/0.3542, allocations: 3.938 kB / 460.7 MB, free: 3.379 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002352/0.3544, allocations: 91.97 kB / 460.8 MB, free: 3.289 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001225/0.3545, allocations: 103.6 kB / 460.9 MB, free: 3.188 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004191/0.3587, allocations: 2.276 MB / 463.2 MB, free: 0.8906 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.01376/0.3725, allocations: 8.477 MB / 471.7 MB, free: 8.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002896/0.3754, allocations: 1.634 MB / 473.3 MB, free: 6.578 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001676/0.3771, allocations: 1.007 MB / 474.3 MB, free: 5.551 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006841/0.3839, allocations: 3.041 MB / 477.4 MB, free: 2.484 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002615/0.3865, allocations: 1.83 MB / 479.2 MB, free: 0.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=193): time 3.957e-06/0.3865, allocations: 0 / 479.2 MB, free: 0.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=203): time 0.01384/0.4004, allocations: 6.141 MB / 485.3 MB, free: 10.25 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003139/0.4007, allocations: 478.9 kB / 485.8 MB, free: 9.672 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002145/0.4028, allocations: 1.416 MB / 487.2 MB, free: 8.234 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003431/0.4032, allocations: 109.7 kB / 487.3 MB, free: 8.121 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009149/0.4041, allocations: 0.9478 MB / 488.3 MB, free: 7.164 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007294/0.4048, allocations: 0.6046 MB / 488.9 MB, free: 6.555 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008742/0.4057, allocations: 0.5442 MB / 489.4 MB, free: 6.004 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.4058, allocations: 301.1 kB / 489.7 MB, free: 5.707 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001815/0.4076, allocations: 1.002 MB / 490.7 MB, free: 4.684 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002598/0.4102, allocations: 1.896 MB / 492.6 MB, free: 2.445 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003863/0.4141, allocations: 2.433 MB / 495 MB, free: 15.74 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.421e-05/0.4141, allocations: 12 kB / 495.1 MB, free: 15.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=332) (initialization): time 0.006003/0.4201, allocations: 3.14 MB / 498.2 MB, free: 12.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.387e-05/0.4202, allocations: 98.03 kB / 498.3 MB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.717e-05/0.4202, allocations: 16 kB / 498.3 MB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001315/0.4215, allocations: 0.5878 MB / 498.9 MB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001457/0.423, allocations: 391.2 kB / 499.3 MB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002473/0.4255, allocations: 2.262 MB / 0.4898 GB, free: 9.086 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001533/0.427, allocations: 112.1 kB / 0.4899 GB, free: 8.977 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002375/0.4272, allocations: 120 kB / 0.49 GB, free: 8.859 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.001373/0.4286, allocations: 0.7637 MB / 0.4908 GB, free: 8.055 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004627/0.4291, allocations: 190.8 kB / 0.4909 GB, free: 7.867 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005911/0.435, allocations: 3.132 MB / 0.494 GB, free: 4.672 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.574e-05/0.435, allocations: 31.92 kB / 0.494 GB, free: 4.641 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.567e-06/0.435, allocations: 0 / 0.494 GB, free: 4.641 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-05/0.4351, allocations: 7.969 kB / 0.494 GB, free: 4.633 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00988/0.4449, allocations: 4.911 MB / 0.4988 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.285e-06/0.4449, allocations: 0 / 0.4988 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001065/0.446, allocations: 251.6 kB / 0.4991 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001172/0.4472, allocations: 0.5568 MB / 0.4996 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001704/0.4473, allocations: 67.95 kB / 0.4997 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002379/0.4497, allocations: 2.227 MB / 0.5019 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4497, allocations: 4.125 kB / 0.5019 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007627/0.4574, allocations: 4.276 MB / 0.506 GB, free: 8.09 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001279/0.4586, allocations: 438.4 kB / 0.5065 GB, free: 7.66 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003903/0.459, allocations: 63.92 kB / 0.5065 GB, free: 7.598 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/0.4601, allocations: 96.3 kB / 0.5066 GB, free: 7.504 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000546/0.4607, allocations: 261.6 kB / 0.5069 GB, free: 7.246 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002023/0.4609, allocations: 87.94 kB / 0.5069 GB, free: 7.16 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001338/0.4622, allocations: 0.8656 MB / 0.5078 GB, free: 6.293 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4622, allocations: 7.938 kB / 0.5078 GB, free: 6.285 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002051/0.4643, allocations: 0.6829 MB / 0.5085 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.002596/0.4668, allocations: 0.8504 MB / 0.5093 GB, free: 4.73 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005527/0.4724, allocations: 2.7 MB / 0.5119 GB, free: 1.961 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/0.4724, allocations: 7.922 kB / 0.5119 GB, free: 1.953 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002899/0.4753, allocations: 1.416 MB / 0.5133 GB, free: 492 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003296/0.4786, allocations: 0.6874 MB / 0.514 GB, free: 15.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009235/0.4878, allocations: 4.531 MB / 0.5184 GB, free: 11.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001303/0.4891, allocations: 0.9989 MB / 0.5194 GB, free: 10.15 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009179/0.49, allocations: 239.2 kB / 0.5196 GB, free: 9.918 MB / 446.1 MB Notification: Performance of SimCode: time 9.72e-07/0.49, allocations: 0 / 0.5196 GB, free: 9.918 MB / 446.1 MB Notification: Performance of Templates: time 0.2589/0.7489, allocations: 66.95 MB / 0.585 GB, free: 143.8 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/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: 14.220332780852914]