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.001573/0.001573, allocations: 112.9 kB / 18.41 MB, free: 4.637 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.00163/0.00163, allocations: 190.9 kB / 21.35 MB, free: 1.703 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.433/1.433, allocations: 222.9 MB / 247 MB, free: 4.32 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.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.001514/0.001515, allocations: 47.86 kB / 358.6 MB, free: 8.449 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09254/0.09407, allocations: 49.44 MB / 408.1 MB, free: 6.961 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.005686/0.09978, allocations: 3.818 MB / 411.9 MB, free: 3.129 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004496/0.1043, allocations: 2.571 MB / 414.5 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004483/0.1048, allocations: 23.88 kB / 414.5 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001314/0.1061, allocations: 0.5677 MB / 415.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009591/0.1071, allocations: 433.8 kB / 415.5 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002293/0.1094, allocations: 1.081 MB / 416.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002616/0.112, allocations: 2.157 MB / 418.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001764/0.1138, allocations: 1.221 MB / 419.9 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001004/0.1148, allocations: 0.7242 MB / 420.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009488/0.1158, allocations: 0.7352 MB / 421.4 MB, free: 9.586 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002694/0.116, allocations: 200 kB / 421.6 MB, free: 9.391 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005425/0.1166, allocations: 295.9 kB / 421.9 MB, free: 9.102 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000485/0.1171, allocations: 498.7 kB / 422.4 MB, free: 8.613 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007383/0.1178, allocations: 0.7814 MB / 423.2 MB, free: 7.828 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002431/0.1203, allocations: 2.347 MB / 425.5 MB, free: 5.473 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1203, allocations: 0 / 425.5 MB, free: 5.473 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.607e-06/0.1203, allocations: 3.984 kB / 425.5 MB, free: 5.469 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.932e-05/0.1203, allocations: 0 / 425.5 MB, free: 5.469 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.00303/0.1234, allocations: 1.953 MB / 427.5 MB, free: 3.398 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.1234, allocations: 12.03 kB / 427.5 MB, free: 3.387 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002879/0.1237, allocations: 171.9 kB / 427.6 MB, free: 3.219 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00132/0.125, allocations: 0.9082 MB / 428.5 MB, free: 2.266 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002093/0.1253, allocations: 204.7 kB / 428.7 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002092/0.1255, allocations: 155.9 kB / 428.9 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002446/0.1279, allocations: 1.492 MB / 430.4 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.997e-05/0.128, allocations: 4 kB / 430.4 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001227/0.1281, allocations: 52 kB / 430.4 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.353e-05/0.1282, allocations: 54.17 kB / 430.5 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2035/0.3317, allocations: 0.9827 MB / 431.5 MB, free: 22.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00562/0.3374, allocations: 5.495 MB / 437 MB, free: 20.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001707/0.3391, allocations: 1.261 MB / 438.2 MB, free: 19.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009074/0.3401, allocations: 0.5271 MB / 438.8 MB, free: 19.49 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001276/0.3402, allocations: 105.3 kB / 438.9 MB, free: 19.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001255/0.3415, allocations: 0.9004 MB / 439.8 MB, free: 19.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=133): time 3.065e-06/0.3415, allocations: 0 / 439.8 MB, free: 19.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=133): time 0.002647/0.3441, allocations: 1.496 MB / 441.3 MB, free: 18.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000162/0.3443, allocations: 0.6034 MB / 441.9 MB, free: 18.13 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001339/0.3457, allocations: 0.939 MB / 442.8 MB, free: 17.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001611/0.3458, allocations: 112.8 kB / 442.9 MB, free: 17.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003575/0.3462, allocations: 0.5339 MB / 443.4 MB, free: 17.7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002409/0.3464, allocations: 351.5 kB / 443.8 MB, free: 17.49 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004743/0.3469, allocations: 383.9 kB / 444.2 MB, free: 17.33 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.932e-05/0.347, allocations: 357.4 kB / 444.5 MB, free: 17 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008001/0.3478, allocations: 478.6 kB / 445 MB, free: 16.83 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009826/0.3488, allocations: 0.9149 MB / 445.9 MB, free: 16.13 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001558/0.3504, allocations: 1.384 MB / 447.3 MB, free: 15.08 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-05/0.3504, allocations: 5.156 kB / 447.3 MB, free: 15.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.002577/0.353, allocations: 1.584 MB / 448.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.526e-05/0.3531, allocations: 101.4 kB / 449 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.926e-05/0.3531, allocations: 10.56 kB / 449 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.189e-05/0.3531, allocations: 28.83 kB / 449 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000596/0.3538, allocations: 187.1 kB / 449.2 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.971e-05/0.3538, allocations: 26.73 kB / 449.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006233/0.3544, allocations: 158.7 kB / 449.4 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001151/0.3545, allocations: 74.12 kB / 449.4 MB, free: 14.14 MB / 350.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.0008149/0.3554, allocations: 0.6369 MB / 450.1 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001993/0.3556, allocations: 118.1 kB / 450.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00197/0.3576, allocations: 1.196 MB / 451.4 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.589e-05/0.3576, allocations: 21.72 kB / 451.4 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/0.3576, allocations: 3.938 kB / 451.4 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-05/0.3576, allocations: 7.344 kB / 451.4 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004032/0.3617, allocations: 2.718 MB / 454.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.3617, allocations: 2.219 kB / 454.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003541/0.3621, allocations: 83.56 kB / 454.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.103e-05/0.3621, allocations: 5.688 kB / 454.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.782e-05/0.3622, allocations: 45.38 kB / 454.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.238e-05/0.3622, allocations: 7.156 kB / 454.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.3622, allocations: 6.031 kB / 454.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002813/0.365, allocations: 1.917 MB / 456.2 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003765/0.3654, allocations: 304.9 kB / 456.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001896/0.3656, allocations: 61.52 kB / 456.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003702/0.366, allocations: 52.38 kB / 456.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003166/0.3663, allocations: 145.3 kB / 456.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.928e-05/0.3664, allocations: 55.16 kB / 456.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006799/0.3671, allocations: 0.5796 MB / 457.4 MB, free: 10.24 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3671, allocations: 0 / 457.4 MB, free: 10.24 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001249/0.3684, allocations: 348.7 kB / 457.7 MB, free: 10.15 MB / 350.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,$cse1,$cse2,$cse3,$cse4,$cse5,$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 (123): * Single equations (assignments): 96 * 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.001712/0.3701, allocations: 0.5716 MB / 458.3 MB, free: 9.918 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002215/0.3723, allocations: 1.497 MB / 459.8 MB, free: 9.223 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.3723, allocations: 0 / 459.8 MB, free: 9.223 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009218/0.3733, allocations: 0.8463 MB / 460.6 MB, free: 8.703 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/0.3743, allocations: 244.8 kB / 460.9 MB, free: 8.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003335/0.3776, allocations: 2.313 MB / 463.2 MB, free: 7.16 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004907/0.3781, allocations: 1.154 MB / 464.4 MB, free: 6.254 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003738/0.3785, allocations: 125.1 kB / 464.5 MB, free: 6.219 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3785, allocations: 0 / 464.5 MB, free: 6.219 MB / 350.1 MB Notification: Performance of Templates: time 0.02622/0.4048, allocations: 18.34 MB / 482.8 MB, free: 4.004 MB / 366.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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/StateGraph/Examples/ControlledTanks/ControlledTanks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 9.47154890501406]