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.001029/0.001029, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001392/0.002422, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.001033/0.001033, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001165/0.002198, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.938/0.938, allocations: 173.4 MB / 185.8 MB, free: 8.992 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07988/1.018, allocations: 52.5 MB / 238.3 MB, free: 4.43 MB / 234.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.StateGraph.Examples.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5035,variableFilter="time|tank1.level|tank2.level|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.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.[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.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 1.643e-06/1.643e-06, allocations: 0 / 239.5 MB, free: 3.207 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.979e-05/2.143e-05, allocations: 2.312 kB / 239.5 MB, free: 3.203 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.003837/0.003858, allocations: 3.721 MB / 243.2 MB, free: 15.46 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002927/0.006785, allocations: 2.648 MB / 245.9 MB, free: 12.8 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002781/0.007063, allocations: 35.75 kB / 245.9 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007522/0.007816, allocations: 0.5481 MB / 246.5 MB, free: 12.21 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005372/0.008353, allocations: 497.3 kB / 247 MB, free: 11.73 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001334/0.009687, allocations: 1.127 MB / 248.1 MB, free: 10.6 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001373/0.01106, allocations: 2.173 MB / 250.3 MB, free: 8.418 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007486/0.01181, allocations: 0.9777 MB / 251.2 MB, free: 7.41 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007633/0.01257, allocations: 1.105 MB / 252.3 MB, free: 6.301 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004211/0.01299, allocations: 0.5296 MB / 252.9 MB, free: 5.77 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001444/0.01314, allocations: 192 kB / 253.1 MB, free: 5.582 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000321/0.01346, allocations: 299.8 kB / 253.4 MB, free: 5.289 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002524/0.01371, allocations: 402.9 kB / 253.7 MB, free: 4.895 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003002/0.01401, allocations: 407.1 kB / 254.1 MB, free: 4.496 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009927/0.015, allocations: 1.265 MB / 255.4 MB, free: 3.227 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.612e-05/0.01502, allocations: 4 kB / 255.4 MB, free: 3.223 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.01502, allocations: 0 / 255.4 MB, free: 3.223 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.75e-05/0.01505, allocations: 3.938 kB / 255.4 MB, free: 3.219 MB / 250.7 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.002219/0.01727, allocations: 2.073 MB / 257.5 MB, free: 1.051 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.0173, allocations: 8.031 kB / 257.5 MB, free: 1.043 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002464/0.01755, allocations: 224.7 kB / 257.7 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008735/0.01842, allocations: 0.6573 MB / 258.4 MB, free: 144 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001562/0.01858, allocations: 281.7 kB / 258.7 MB, free: 15.83 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.01869, allocations: 148.4 kB / 258.8 MB, free: 15.68 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009582/0.01965, allocations: 1.124 MB / 259.9 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.01967, allocations: 4 kB / 259.9 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.173e-05/0.01973, allocations: 59.92 kB / 260 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-05/0.01977, allocations: 50.17 kB / 260 MB, free: 14.31 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004984/0.02027, allocations: 467.2 kB / 260.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00281/0.02308, allocations: 4.093 MB / 264.6 MB, free: 9.598 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006654/0.02375, allocations: 0.744 MB / 265.3 MB, free: 8.758 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002548/0.024, allocations: 358.3 kB / 265.7 MB, free: 8.359 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.357e-05/0.02407, allocations: 28.98 kB / 265.7 MB, free: 8.332 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005619/0.02464, allocations: 0.815 MB / 266.5 MB, free: 7.422 MB / 266.7 MB Notification: Performance of pre-optimization done (n=133): time 2.234e-06/0.02464, allocations: 4 kB / 266.5 MB, free: 7.418 MB / 266.7 MB Notification: Performance of matching and sorting (n=133): time 0.0008629/0.0255, allocations: 0.9884 MB / 267.5 MB, free: 6.367 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001671/0.02567, allocations: 0.5324 MB / 268 MB, free: 5.719 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004236/0.02609, allocations: 0.6865 MB / 268.7 MB, free: 5.02 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.97e-05/0.02618, allocations: 110.7 kB / 268.8 MB, free: 4.906 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002018/0.02638, allocations: 444.1 kB / 269.3 MB, free: 4.461 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001936/0.02658, allocations: 353.2 kB / 269.6 MB, free: 4.113 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002794/0.02686, allocations: 391.2 kB / 270 MB, free: 3.727 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.36e-05/0.02695, allocations: 361.8 kB / 270.4 MB, free: 3.367 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002353/0.02718, allocations: 271.8 kB / 270.6 MB, free: 3.082 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004258/0.02761, allocations: 0.7704 MB / 271.4 MB, free: 2.113 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007245/0.02833, allocations: 1.052 MB / 272.4 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/0.02834, allocations: 4 kB / 272.4 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.0008433/0.02919, allocations: 1.033 MB / 273.5 MB, free: 15.78 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.995e-05/0.02925, allocations: 101.1 kB / 273.6 MB, free: 15.66 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.02926, allocations: 12 kB / 273.6 MB, free: 15.65 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.02928, allocations: 23.98 kB / 273.6 MB, free: 15.62 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004013/0.02968, allocations: 232.2 kB / 273.8 MB, free: 15.4 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.751e-05/0.0297, allocations: 31.92 kB / 273.9 MB, free: 15.37 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000281/0.02998, allocations: 143.1 kB / 274 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.659e-05/0.03005, allocations: 67.97 kB / 274.1 MB, free: 15.16 MB / 282.7 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,tankController.makeProduct.T2.condition,tankController.makeProduct.T4.condition,stateGraphRoot.suspend,stateGraphRoot.resume) * 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.0003243/0.03037, allocations: 440.4 kB / 274.5 MB, free: 14.69 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.03048, allocations: 123.8 kB / 274.6 MB, free: 14.57 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006652/0.03115, allocations: 0.7981 MB / 275.4 MB, free: 13.72 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.03115, allocations: 12 kB / 275.4 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.03116, allocations: 7.938 kB / 275.4 MB, free: 13.7 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.03117, allocations: 11.98 kB / 275.5 MB, free: 13.69 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001473/0.03264, allocations: 1.586 MB / 277 MB, free: 12.04 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.03264, allocations: 4 kB / 277 MB, free: 12.04 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002113/0.03286, allocations: 99.73 kB / 277.1 MB, free: 11.94 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001839/0.03304, allocations: 147 kB / 277.3 MB, free: 11.79 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.03305, allocations: 8 kB / 277.3 MB, free: 11.79 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.035e-05/0.03309, allocations: 35.97 kB / 277.3 MB, free: 11.75 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.03309, allocations: 7.938 kB / 277.3 MB, free: 11.74 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/0.0331, allocations: 11.94 kB / 277.3 MB, free: 11.73 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009701/0.03407, allocations: 1.333 MB / 278.7 MB, free: 10.3 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.03417, allocations: 51.98 kB / 278.7 MB, free: 10.25 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001681/0.03434, allocations: 39.97 kB / 278.8 MB, free: 10.21 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001585/0.0345, allocations: 120.7 kB / 278.9 MB, free: 10.09 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.107e-05/0.03455, allocations: 47.95 kB / 278.9 MB, free: 10.04 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001922/0.03474, allocations: 264.5 kB / 279.2 MB, free: 9.785 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.03474, allocations: 0 / 279.2 MB, free: 9.785 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005248/0.03527, allocations: 355.2 kB / 279.5 MB, free: 9.438 MB / 282.7 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.001317/0.03659, allocations: 0.7209 MB / 280.3 MB, free: 8.988 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008075/0.03739, allocations: 1.119 MB / 281.4 MB, free: 7.801 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.7e-05/0.03741, allocations: 12 kB / 281.4 MB, free: 7.789 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000392/0.0378, allocations: 0.6231 MB / 282 MB, free: 7.105 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000515/0.03832, allocations: 324.2 kB / 282.3 MB, free: 6.793 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002149/0.04047, allocations: 2.107 MB / 284.4 MB, free: 4.598 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001694/0.04064, allocations: 250.5 kB / 284.7 MB, free: 4.332 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000323/0.04096, allocations: 185.7 kB / 284.9 MB, free: 4.148 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004274/0.04139, allocations: 333.1 kB / 285.2 MB, free: 3.824 MB / 282.7 MB Notification: Performance of SimCode: time 7.12e-07/0.04139, allocations: 0 / 285.2 MB, free: 3.824 MB / 282.7 MB Notification: Performance of Templates: time 0.116/0.1574, allocations: 17.14 MB / 302.3 MB, free: 37.27 MB / 282.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.008654149249196]