Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.StateGraph.Examples.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: 107.5 kB / 20.44 MB, free: 1.188 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.001708/0.001708, allocations: 192.8 kB / 23.71 MB, free: 4.406 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.523/1.523, allocations: 225.7 MB / 252.5 MB, free: 12.81 MB / 206.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.StateGraph.Examples.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5035,variableFilter="time|tank1.level|tank2.level|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.makeProduct.T1.enableFire|tankController.makeProduct.T2.enableFire|tankController.makeProduct.T3.enableFire|tankController.makeProduct.T4.enableFire",fileNamePrefix="Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks") translateModel(Modelica.StateGraph.Examples.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5035,variableFilter="time|tank1.level|tank2.level|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.makeProduct.T1.enableFire|tankController.makeProduct.T2.enableFire|tankController.makeProduct.T3.enableFire|tankController.makeProduct.T4.enableFire",fileNamePrefix="Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002694/0.002694, allocations: 43.92 kB / 370.9 MB, free: 9.219 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2908, allocations: 52.18 MB / 423 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.006547/0.2974, allocations: 3.542 MB / 426.6 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005099/0.3025, allocations: 2.533 MB / 429.1 MB, free: 8.383 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005259/0.303, allocations: 31.75 kB / 429.1 MB, free: 8.352 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00149/0.3045, allocations: 0.5794 MB / 429.7 MB, free: 7.77 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009934/0.3055, allocations: 452.8 kB / 430.2 MB, free: 7.328 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00243/0.3079, allocations: 1.114 MB / 431.3 MB, free: 6.219 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002543/0.3105, allocations: 2.161 MB / 433.4 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001277/0.3117, allocations: 0.9793 MB / 434.4 MB, free: 3.047 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008265/0.3126, allocations: 0.736 MB / 435.2 MB, free: 2.309 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008267/0.3134, allocations: 0.6805 MB / 435.8 MB, free: 1.625 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002466/0.3136, allocations: 200 kB / 436 MB, free: 1.43 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000522/0.3142, allocations: 303.8 kB / 436.3 MB, free: 1.133 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004627/0.3146, allocations: 0.4948 MB / 436.8 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006008/0.3152, allocations: 0.6104 MB / 437.4 MB, free: 24 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002373/0.3176, allocations: 2.373 MB / 439.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3176, allocations: 0 / 439.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3176, allocations: 0 / 439.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.256e-05/0.3176, allocations: 0 / 439.8 MB, free: 13.64 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 319 * Number of variables: 319 Notification: Performance of Generate backend data structure: time 0.003015/0.3206, allocations: 1.876 MB / 441.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.3207, allocations: 8.031 kB / 441.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003113/0.321, allocations: 175.8 kB / 441.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001432/0.3224, allocations: 0.8285 MB / 442.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002556/0.3227, allocations: 281.7 kB / 443 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002084/0.3229, allocations: 147.9 kB / 443.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002811/0.3257, allocations: 1.569 MB / 444.7 MB, free: 8.469 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.26e-05/0.3257, allocations: 0 / 444.7 MB, free: 8.469 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001243/0.3259, allocations: 59.92 kB / 444.7 MB, free: 8.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.408e-05/0.3259, allocations: 46.19 kB / 444.8 MB, free: 8.363 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00206/0.328, allocations: 1.083 MB / 445.9 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006796/0.3348, allocations: 4.889 MB / 450.8 MB, free: 2.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002031/0.3368, allocations: 1.057 MB / 451.8 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008578/0.3377, allocations: 0.5543 MB / 452.4 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001147/0.3378, allocations: 17 kB / 452.4 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001413/0.3392, allocations: 1.008 MB / 453.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of pre-optimization done (n=133): time 3.126e-06/0.3392, allocations: 0 / 453.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=133): time 0.002955/0.3422, allocations: 1.709 MB / 455.1 MB, free: 13.58 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003477/0.3425, allocations: 0.5286 MB / 455.6 MB, free: 12.94 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001447/0.344, allocations: 0.9568 MB / 456.6 MB, free: 11.97 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001725/0.3441, allocations: 109.6 kB / 456.7 MB, free: 11.86 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004961/0.3446, allocations: 0.5383 MB / 457.2 MB, free: 11.31 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003418/0.345, allocations: 349.4 kB / 457.6 MB, free: 10.97 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005001/0.3455, allocations: 375.5 kB / 457.9 MB, free: 10.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000192/0.3457, allocations: 361.9 kB / 458.3 MB, free: 10.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009321/0.3466, allocations: 0.5594 MB / 458.9 MB, free: 9.656 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001458/0.348, allocations: 1.071 MB / 459.9 MB, free: 8.379 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002018/0.3501, allocations: 1.406 MB / 461.3 MB, free: 6.777 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.528e-06/0.3501, allocations: 4 kB / 461.3 MB, free: 6.773 MB / 366.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.002878/0.3529, allocations: 1.693 MB / 463 MB, free: 5.035 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.886e-05/0.353, allocations: 105.1 kB / 463.1 MB, free: 4.914 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.062e-05/0.3531, allocations: 12 kB / 463.1 MB, free: 4.902 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.784e-05/0.3531, allocations: 20.75 kB / 463.2 MB, free: 4.883 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006893/0.3538, allocations: 187.5 kB / 463.3 MB, free: 4.699 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.329e-05/0.3538, allocations: 27.94 kB / 463.4 MB, free: 4.672 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006318/0.3545, allocations: 155 kB / 463.5 MB, free: 4.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001215/0.3546, allocations: 71.98 kB / 463.6 MB, free: 4.449 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 180 ($PRE.tankController.makeProduct.T1.enableFire,$PRE.tankController.makeProduct.T3.enableFire,$PRE.tankController.makeProduct.T2.enableFire,$PRE.tankController.makeProduct.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],$PRE.shut.table.combiTimeTable.nextTimeEvent,$whenCondition6,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition5,$PRE.start.table.combiTimeTable.nextTimeEvent,$whenCondition4,stateGraphRoot.activeSteps,valve3.valveControl,valve2.valveControl,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.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.makeProduct.T4.t_start,$PRE.tankController.makeProduct.T4.t_start,tankController.makeProduct.T4.fire,tankController.makeProduct.T4.enableFire,tankController.makeProduct.wait2.oldActive,$PRE.tankController.makeProduct.wait2.oldActive,tankController.makeProduct.wait2.newActive,$PRE.tankController.makeProduct.wait2.newActive,tankController.makeProduct.wait2.localActive,$PRE.tankController.makeProduct.wait2.localActive,tankController.makeProduct.wait2.active,tankController.makeProduct.T2.t_start,$PRE.tankController.makeProduct.T2.t_start,tankController.makeProduct.T2.fire,tankController.makeProduct.T2.enableFire,tankController.makeProduct.wait1.oldActive,$PRE.tankController.makeProduct.wait1.oldActive,tankController.makeProduct.wait1.newActive,$PRE.tankController.makeProduct.wait1.newActive,tankController.makeProduct.wait1.localActive,$PRE.tankController.makeProduct.wait1.localActive,tankController.makeProduct.wait1.active,tankController.makeProduct.emptyTank2.oldActive,$PRE.tankController.makeProduct.emptyTank2.oldActive,tankController.makeProduct.emptyTank2.newActive,$PRE.tankController.makeProduct.emptyTank2.newActive,tankController.makeProduct.emptyTank2.localActive,$PRE.tankController.makeProduct.emptyTank2.localActive,tankController.makeProduct.emptyTank2.active,tankController.makeProduct.T3.enableFire,tankController.makeProduct.T3.localCondition,tankController.makeProduct.fillTank2.oldActive,$PRE.tankController.makeProduct.fillTank2.oldActive,tankController.makeProduct.fillTank2.newActive,$PRE.tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.fillTank2.localActive,$PRE.tankController.makeProduct.fillTank2.localActive,tankController.makeProduct.fillTank2.active,tankController.makeProduct.T1.enableFire,tankController.makeProduct.T1.localCondition,tankController.makeProduct.fillTank1.oldActive,$PRE.tankController.makeProduct.fillTank1.oldActive,tankController.makeProduct.fillTank1.newActive,$PRE.tankController.makeProduct.fillTank1.newActive,tankController.makeProduct.fillTank1.localActive,$PRE.tankController.makeProduct.fillTank1.localActive,tankController.makeProduct.fillTank1.active,tankController.makeProduct.activeSteps,tankController.makeProduct.newActive,$PRE.tankController.makeProduct.newActive,tankController.makeProduct.active,tankController.makeProduct.stateGraphRoot.resume,tankController.makeProduct.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,$whenCondition1,$whenCondition2,$whenCondition3,shut.pre_reset[2],shut.pre_reset[1],shut.table.combiTimeTable.nextTimeEventScaled,$PRE.shut.table.combiTimeTable.nextTimeEventScaled,shut.table.combiTimeTable.nextTimeEvent,shut.table.y,$PRE.shut.table.y,$PRE.shut.reset[2],$PRE.shut.reset[1],$whenCondition9,$whenCondition7,$whenCondition8,stop.pre_reset[2],stop.pre_reset[1],stop.table.combiTimeTable.nextTimeEventScaled,$PRE.stop.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEvent,stop.table.y,$PRE.stop.table.y,$PRE.stop.reset[2],$PRE.stop.reset[1],$whenCondition12,$whenCondition10,$whenCondition11,start.pre_reset[2],start.pre_reset[1],start.table.combiTimeTable.nextTimeEventScaled,$PRE.start.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEvent,start.table.y,$PRE.start.table.y,$PRE.start.reset[2],$PRE.start.reset[1],$whenCondition15,$whenCondition13,$whenCondition14,tankController.makeProduct.T1.t_start,$PRE.tankController.makeProduct.T1.t_start,tankController.makeProduct.T3.t_start,$PRE.tankController.makeProduct.T3.t_start,tankController.T1.t_start,$PRE.tankController.T1.t_start,tankController.T2.t_start,$PRE.tankController.T2.t_start,tankController.T3.t_start,$PRE.tankController.T3.t_start,tankController.T4.t_start,$PRE.tankController.T4.t_start,tankController.T5.t_start,$PRE.tankController.T5.t_start,tankController.T6.t_start,$PRE.tankController.T6.t_start,stateGraphRoot.resume,stateGraphRoot.suspend,tankController.makeProduct.T4.condition,tankController.makeProduct.T2.condition) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (214): * Single equations (assignments): 211 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009883/0.3556, allocations: 0.6343 MB / 464.2 MB, free: 3.777 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00021/0.3558, allocations: 115.3 kB / 464.3 MB, free: 3.664 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002419/0.3582, allocations: 1.344 MB / 465.7 MB, free: 2.277 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.4e-05/0.3582, allocations: 16 kB / 465.7 MB, free: 2.262 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.3582, allocations: 4 kB / 465.7 MB, free: 2.258 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.682e-05/0.3582, allocations: 11.97 kB / 465.7 MB, free: 2.246 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004282/0.3625, allocations: 2.509 MB / 468.2 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/0.3625, allocations: 4 kB / 468.2 MB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003604/0.3629, allocations: 87.73 kB / 468.3 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.228e-05/0.3629, allocations: 8 kB / 468.3 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.345e-05/0.363, allocations: 43.91 kB / 468.4 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.056e-05/0.363, allocations: 15.94 kB / 468.4 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.363, allocations: 288 / 468.4 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003381/0.3664, allocations: 2.18 MB / 470.6 MB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004678/0.3669, allocations: 231 kB / 470.8 MB, free: 13 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001874/0.367, allocations: 63.91 kB / 470.9 MB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000384/0.3674, allocations: 43.91 kB / 470.9 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003206/0.3678, allocations: 160.8 kB / 471.1 MB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.681e-05/0.3678, allocations: 55.97 kB / 471.1 MB, free: 12.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008142/0.3687, allocations: 0.581 MB / 471.7 MB, free: 12.1 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3687, allocations: 0 / 471.7 MB, free: 12.1 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001243/0.3699, allocations: 351.2 kB / 472 MB, free: 11.76 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (tank1.level,tank2.level) * Number of discrete variables: 112 (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.makeProduct.T3.t_start,tankController.makeProduct.T1.t_start,tankController.makeProduct.stateGraphRoot.suspend,tankController.emptyTanks.active,tankController.s2.active,tankController.makeProduct.T4.enableFire,tankController.makeProduct.wait2.active,tankController.makeProduct.T2.enableFire,tankController.makeProduct.wait1.active,tankController.makeProduct.emptyTank2.active,tankController.makeProduct.fillTank2.active,tankController.makeProduct.fillTank1.localActive,tankController.s1.active,$cse4,$cse5,$cse6,$cse7,$cse8,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition8,$whenCondition7,$whenCondition9,$whenCondition11,$whenCondition10,$whenCondition12,$whenCondition14,$whenCondition13,$whenCondition15,tankController.s1.localActive,tankController.s1.inPort[2].occupied,tankController.s1.newActive,tankController.s1.oldActive,tankController.makeProduct.stateGraphRoot.resume,tankController.makeProduct.active,tankController.makeProduct.newActive,tankController.makeProduct.activeSteps,tankController.makeProduct.fillTank1.active,tankController.makeProduct.fillTank1.newActive,tankController.makeProduct.fillTank1.oldActive,tankController.makeProduct.T1.localCondition,tankController.makeProduct.T1.enableFire,tankController.makeProduct.fillTank2.localActive,tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.fillTank2.oldActive,tankController.makeProduct.T3.localCondition,tankController.makeProduct.T3.enableFire,tankController.makeProduct.emptyTank2.localActive,tankController.makeProduct.emptyTank2.newActive,tankController.makeProduct.emptyTank2.oldActive,tankController.makeProduct.wait1.localActive,tankController.makeProduct.wait1.newActive,tankController.makeProduct.wait1.oldActive,tankController.makeProduct.T2.fire,tankController.makeProduct.T2.t_start,tankController.makeProduct.wait2.localActive,tankController.makeProduct.wait2.newActive,tankController.makeProduct.wait2.oldActive,tankController.makeProduct.T4.fire,tankController.makeProduct.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,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],valve2.valveControl,valve3.valveControl,stateGraphRoot.activeSteps) * Number of discrete states: 50 (shut.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEvent,tankController.s1.newActive,tankController.makeProduct.fillTank1.newActive,tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.emptyTank2.newActive,tankController.makeProduct.wait1.newActive,tankController.makeProduct.wait2.newActive,tankController.makeProduct.newActive,tankController.s2.newActive,tankController.emptyTanks.newActive,shut.table.combiTimeTable.nextTimeEventScaled,$whenCondition9,shut.on,$whenCondition8,$whenCondition7,shut.pre_reset[2],shut.pre_reset[1],shut.reset[1],shut.reset[2],shut.table.y,stop.table.combiTimeTable.nextTimeEventScaled,$whenCondition12,stop.on,$whenCondition11,$whenCondition10,stop.pre_reset[2],stop.pre_reset[1],stop.reset[1],stop.reset[2],stop.table.y,start.table.combiTimeTable.nextTimeEventScaled,$whenCondition15,start.on,$whenCondition14,$whenCondition13,start.pre_reset[2],start.pre_reset[1],start.reset[1],start.reset[2],start.table.y,tankController.makeProduct.T1.t_start,tankController.makeProduct.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 clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 24 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001912/0.3718, allocations: 0.5864 MB / 472.6 MB, free: 11.35 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002605/0.3744, allocations: 1.587 MB / 474.2 MB, free: 9.691 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3744, allocations: 3.938 kB / 474.2 MB, free: 9.688 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001217/0.3756, allocations: 0.8412 MB / 475.1 MB, free: 8.789 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009875/0.3766, allocations: 235.4 kB / 475.3 MB, free: 8.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004251/0.3809, allocations: 2.388 MB / 477.7 MB, free: 6.109 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007433/0.3816, allocations: 0.5799 MB / 478.2 MB, free: 5.488 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006652/0.3823, allocations: 209.6 kB / 478.5 MB, free: 5.281 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003551/0.3826, allocations: 115.4 kB / 478.6 MB, free: 5.168 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3826, allocations: 0 / 478.6 MB, free: 5.168 MB / 382.1 MB Notification: Performance of Templates: time 0.04108/0.4237, allocations: 16.59 MB / 495.2 MB, free: 4.73 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.pipe ; mkfifo Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.pipe >> ../files/Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.sim & ./Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/StateGraph/Examples/ControlledTanks/ControlledTanks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.StateGraph.Examples.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: 5.302257169038057]