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.001491/0.001491, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001618/0.001618, allocations: 148.8 kB / 24.89 MB, free: 8.742 MB / 18.57 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 0.9539/0.9539, allocations: 173.4 MB / 201.5 MB, free: 8.289 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|start.on|start.reset.[0-9,]+.|stop.on|stop.reset.[0-9,]+.|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.[0-9,]+.|start.on|start.reset.[0-9,]+.|stop.on|stop.reset.[0-9,]+.|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 1.893e-06/1.893e-06, allocations: 0 / 268.5 MB, free: 9.762 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.501e-05/2.69e-05, allocations: 12.69 kB / 268.5 MB, free: 9.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.01059/0.01062, allocations: 11.81 MB / 280.3 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008675/0.01929, allocations: 5.339 MB / 285.7 MB, free: 8.562 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001761/0.02105, allocations: 67.44 kB / 285.7 MB, free: 8.496 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001708/0.02276, allocations: 0.8272 MB / 286.6 MB, free: 7.664 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003094/0.02585, allocations: 1.448 MB / 288 MB, free: 6.207 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004072/0.02992, allocations: 2.109 MB / 290.1 MB, free: 4.094 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006181/0.03611, allocations: 5.053 MB / 295.2 MB, free: 15.03 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003138/0.03924, allocations: 1.703 MB / 296.9 MB, free: 13.27 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004172/0.04342, allocations: 2.354 MB / 299.2 MB, free: 10.91 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001948/0.04536, allocations: 1.371 MB / 300.6 MB, free: 9.535 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005582/0.04592, allocations: 303.9 kB / 300.9 MB, free: 9.238 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001201/0.04712, allocations: 0.6634 MB / 301.6 MB, free: 8.574 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006795/0.0478, allocations: 0.8802 MB / 302.4 MB, free: 7.691 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001281/0.04908, allocations: 0.9508 MB / 303.4 MB, free: 6.738 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003407/0.05249, allocations: 2.647 MB / 306 MB, free: 4.082 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.0525, allocations: 0 / 306 MB, free: 4.082 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.0525, allocations: 0 / 306 MB, free: 4.082 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.246e-05/0.05254, allocations: 0 / 306 MB, free: 4.082 MB / 282.7 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.003972/0.05651, allocations: 2.963 MB / 309 MB, free: 1.004 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.05655, allocations: 12.03 kB / 309 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008127/0.05737, allocations: 412.3 kB / 309.4 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001795/0.05916, allocations: 1.103 MB / 310.5 MB, free: 15.43 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002672/0.05943, allocations: 410.8 kB / 310.9 MB, free: 14.98 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002816/0.05971, allocations: 232.3 kB / 311.1 MB, free: 14.76 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002588/0.0623, allocations: 2.321 MB / 313.5 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.468e-05/0.06234, allocations: 7.938 kB / 313.5 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001689/0.06251, allocations: 91.97 kB / 313.6 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.954e-05/0.06261, allocations: 103.7 kB / 313.7 MB, free: 11.95 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001408/0.06402, allocations: 0.8673 MB / 314.5 MB, free: 11.05 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007893/0.07191, allocations: 6.682 MB / 321.2 MB, free: 4.184 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001298/0.07321, allocations: 1.016 MB / 322.2 MB, free: 3.074 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006371/0.07385, allocations: 0.5063 MB / 322.7 MB, free: 2.523 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004728/0.07858, allocations: 2.635 MB / 325.4 MB, free: 15.86 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001371/0.07995, allocations: 1.43 MB / 326.8 MB, free: 14.25 MB / 314.7 MB Notification: Performance of pre-optimization done (n=207): time 4.749e-06/0.07995, allocations: 0 / 326.8 MB, free: 14.25 MB / 314.7 MB Notification: Performance of matching and sorting (n=217): time 0.006723/0.08667, allocations: 3.434 MB / 330.2 MB, free: 10.71 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000271/0.08694, allocations: 0.6918 MB / 330.9 MB, free: 9.859 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001178/0.08812, allocations: 1.139 MB / 332.1 MB, free: 8.688 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001911/0.08831, allocations: 125.7 kB / 332.2 MB, free: 8.559 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005161/0.08883, allocations: 0.7513 MB / 332.9 MB, free: 7.797 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005122/0.08934, allocations: 0.6354 MB / 333.6 MB, free: 7.156 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000666/0.09001, allocations: 0.5521 MB / 334.1 MB, free: 6.598 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.473e-05/0.09008, allocations: 301.1 kB / 334.4 MB, free: 6.301 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006512/0.09073, allocations: 418.2 kB / 334.8 MB, free: 5.871 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001099/0.09183, allocations: 1.313 MB / 336.1 MB, free: 4.195 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001751/0.09358, allocations: 1.6 MB / 337.7 MB, free: 2.305 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.524e-05/0.0936, allocations: 4 kB / 337.7 MB, free: 2.301 MB / 314.7 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.002594/0.09619, allocations: 1.697 MB / 339.4 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.975e-05/0.09627, allocations: 105.5 kB / 339.5 MB, free: 436 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.661e-05/0.0963, allocations: 24 kB / 339.6 MB, free: 412 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006886/0.09699, allocations: 370.7 kB / 339.9 MB, free: 28 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001179/0.09817, allocations: 451.2 kB / 340.4 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001203/0.09937, allocations: 1.759 MB / 342.1 MB, free: 13.74 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/0.1004, allocations: 107.9 kB / 342.2 MB, free: 13.64 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001931/0.1006, allocations: 104 kB / 342.3 MB, free: 13.54 MB / 330.7 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,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,tankController.normal.T2.condition,tankController.normal.T4.condition,tankController.stateGraphRoot.suspend,tankController.stateGraphRoot.resume) * 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.0008173/0.1015, allocations: 0.4959 MB / 342.8 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003508/0.1018, allocations: 203.8 kB / 343 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002617/0.1044, allocations: 1.715 MB / 344.7 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.439e-05/0.1044, allocations: 24 kB / 344.8 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.1045, allocations: 4 kB / 344.8 MB, free: 10.99 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.066e-05/0.1045, allocations: 15.95 kB / 344.8 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004528/0.109, allocations: 2.67 MB / 347.5 MB, free: 8.223 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.759e-06/0.109, allocations: 0 / 347.5 MB, free: 8.223 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008314/0.1098, allocations: 275.5 kB / 347.7 MB, free: 7.953 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000639/0.1105, allocations: 346.7 kB / 348.1 MB, free: 7.602 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001496/0.1106, allocations: 67.94 kB / 348.1 MB, free: 7.535 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001184/0.1118, allocations: 1.732 MB / 349.9 MB, free: 5.715 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.1118, allocations: 7.938 kB / 349.9 MB, free: 5.707 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002573/0.1144, allocations: 2.125 MB / 352 MB, free: 3.434 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005723/0.115, allocations: 282.5 kB / 352.3 MB, free: 3.156 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002385/0.1152, allocations: 75.98 kB / 352.3 MB, free: 3.082 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000515/0.1157, allocations: 83.94 kB / 352.4 MB, free: 3 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003251/0.116, allocations: 213.5 kB / 352.6 MB, free: 2.793 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001267/0.1162, allocations: 75.94 kB / 352.7 MB, free: 2.719 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004236/0.1166, allocations: 489.7 kB / 353.2 MB, free: 2.234 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1166, allocations: 0 / 353.2 MB, free: 2.234 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001376/0.118, allocations: 0.6169 MB / 353.8 MB, free: 1.617 MB / 330.7 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.001623/0.1196, allocations: 0.8303 MB / 354.6 MB, free: 1.027 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.1063/0.2258, allocations: 1.694 MB / 356.3 MB, free: 75.53 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.657e-05/0.2259, allocations: 17.03 kB / 356.3 MB, free: 75.53 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001467/0.2274, allocations: 0.9682 MB / 357.3 MB, free: 75.23 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002167/0.2296, allocations: 0.76 MB / 358.1 MB, free: 75.21 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005188/0.2347, allocations: 3.779 MB / 361.9 MB, free: 73.61 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000261/0.235, allocations: 443.5 kB / 362.3 MB, free: 73.5 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001175/0.2362, allocations: 425.3 kB / 362.7 MB, free: 73.44 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001297/0.2375, allocations: 0.7303 MB / 363.4 MB, free: 73.38 MB / 330.7 MB Notification: Performance of SimCode: time 1.994e-06/0.2375, allocations: 6.312 kB / 363.4 MB, free: 73.38 MB / 330.7 MB Notification: Performance of Templates: time 0.04233/0.2798, allocations: 44.43 MB / 407.9 MB, free: 37.79 MB / 330.7 MB " [Timeout remaining time 660] 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Fluid/Examples/ControlledTankSystem/ControlledTanks/ControlledTanks.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.093148957937956]