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.0008118/0.0008118, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00122/0.002031, allocations: 445.8 kB / 10.44 MB, free: 256 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.001007/0.001007, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001102/0.002108, allocations: 475.6 kB / 11.8 MB, free: 2.367 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.9015/0.9015, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1801/1.082, allocations: 52.49 MB / 238.5 MB, free: 7.641 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.833e-06/1.833e-06, allocations: 0 / 239.7 MB, free: 6.395 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.746e-05/1.93e-05, allocations: 2.312 kB / 239.7 MB, free: 6.391 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.004764/0.004783, allocations: 3.723 MB / 243.5 MB, free: 2.664 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003881/0.008664, allocations: 2.642 MB / 246.1 MB, free: 16 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003045/0.008969, allocations: 35.8 kB / 246.1 MB, free: 15.98 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000769/0.009738, allocations: 0.5493 MB / 246.7 MB, free: 15.43 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005944/0.01033, allocations: 0.4892 MB / 247.2 MB, free: 14.95 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.01145, allocations: 1.132 MB / 248.3 MB, free: 13.82 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001337/0.01278, allocations: 2.161 MB / 250.5 MB, free: 11.65 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007202/0.0135, allocations: 0.9825 MB / 251.4 MB, free: 10.64 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007511/0.01425, allocations: 1.118 MB / 252.6 MB, free: 9.516 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003898/0.01464, allocations: 0.5262 MB / 253.1 MB, free: 8.988 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001484/0.01479, allocations: 192.8 kB / 253.3 MB, free: 8.801 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002994/0.01509, allocations: 299.8 kB / 253.6 MB, free: 8.508 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000247/0.01534, allocations: 402.9 kB / 254 MB, free: 8.113 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002827/0.01562, allocations: 396.8 kB / 254.4 MB, free: 7.727 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009041/0.01653, allocations: 1.273 MB / 255.6 MB, free: 6.449 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.08e-05/0.01654, allocations: 4 kB / 255.6 MB, free: 6.445 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.01654, allocations: 0 / 255.6 MB, free: 6.445 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.805e-05/0.01655, allocations: 4 kB / 255.6 MB, free: 6.441 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.001682/0.01824, allocations: 2.077 MB / 257.7 MB, free: 4.27 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.01827, allocations: 8.031 kB / 257.7 MB, free: 4.262 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002278/0.0185, allocations: 220.8 kB / 257.9 MB, free: 4.047 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007754/0.01927, allocations: 0.6612 MB / 258.6 MB, free: 3.359 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001583/0.01943, allocations: 285.7 kB / 258.9 MB, free: 3.039 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001236/0.01955, allocations: 140.4 kB / 259 MB, free: 2.902 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.02055, allocations: 1.124 MB / 260.1 MB, free: 1.641 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/0.02058, allocations: 4 kB / 260.1 MB, free: 1.637 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.148e-05/0.02064, allocations: 51.98 kB / 260.2 MB, free: 1.586 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.127e-05/0.02069, allocations: 62.12 kB / 260.3 MB, free: 1.523 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005128/0.0212, allocations: 475.1 kB / 260.7 MB, free: 1.027 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002942/0.02414, allocations: 4.089 MB / 264.8 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000733/0.02488, allocations: 0.7368 MB / 265.5 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002766/0.02515, allocations: 359.5 kB / 265.9 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.066e-05/0.02523, allocations: 25 kB / 265.9 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005942/0.02583, allocations: 0.8071 MB / 266.7 MB, free: 10.65 MB / 266.7 MB Notification: Performance of pre-optimization done (n=133): time 2.344e-06/0.02583, allocations: 0 / 266.7 MB, free: 10.65 MB / 266.7 MB Notification: Performance of matching and sorting (n=133): time 0.0008523/0.02668, allocations: 1.009 MB / 267.7 MB, free: 9.578 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002064/0.02689, allocations: 0.6233 MB / 268.4 MB, free: 8.82 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004263/0.02731, allocations: 0.6826 MB / 269 MB, free: 8.125 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.206e-05/0.02741, allocations: 109.7 kB / 269.1 MB, free: 8.012 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002234/0.02763, allocations: 444.1 kB / 269.6 MB, free: 7.566 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001992/0.02783, allocations: 357.2 kB / 269.9 MB, free: 7.215 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002812/0.02811, allocations: 383.2 kB / 270.3 MB, free: 6.836 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.02822, allocations: 361.8 kB / 270.7 MB, free: 6.477 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00026/0.02848, allocations: 275.8 kB / 270.9 MB, free: 6.188 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004729/0.02895, allocations: 0.7705 MB / 271.7 MB, free: 5.215 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000753/0.0297, allocations: 1.065 MB / 272.8 MB, free: 3.949 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.328e-06/0.02971, allocations: 8 kB / 272.8 MB, free: 3.941 MB / 266.7 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.0008668/0.03058, allocations: 1.033 MB / 273.8 MB, free: 2.863 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.807e-05/0.03065, allocations: 109.1 kB / 273.9 MB, free: 2.738 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.03066, allocations: 12 kB / 273.9 MB, free: 2.727 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.484e-05/0.03068, allocations: 20 kB / 273.9 MB, free: 2.707 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003905/0.03107, allocations: 231.4 kB / 274.2 MB, free: 2.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.974e-05/0.03109, allocations: 27.92 kB / 274.2 MB, free: 2.453 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002819/0.03138, allocations: 143.1 kB / 274.3 MB, free: 2.312 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-05/0.03144, allocations: 59.98 kB / 274.4 MB, free: 2.254 MB / 266.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.0003446/0.03179, allocations: 440.5 kB / 274.8 MB, free: 1.785 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.0319, allocations: 119.9 kB / 274.9 MB, free: 1.668 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006685/0.03257, allocations: 0.8097 MB / 275.7 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/0.03258, allocations: 16 kB / 275.8 MB, free: 0.793 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.03258, allocations: 3.938 kB / 275.8 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/0.0326, allocations: 11.97 kB / 275.8 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001507/0.0341, allocations: 1.586 MB / 277.4 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.03411, allocations: 4 kB / 277.4 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002034/0.03431, allocations: 99.75 kB / 277.5 MB, free: 15.02 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001862/0.0345, allocations: 155 kB / 277.6 MB, free: 14.87 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.0345, allocations: 8 kB / 277.6 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.806e-05/0.03455, allocations: 35.97 kB / 277.7 MB, free: 14.83 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/0.03456, allocations: 8 kB / 277.7 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.03456, allocations: 3.938 kB / 277.7 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009935/0.03555, allocations: 1.341 MB / 279 MB, free: 13.38 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/0.03566, allocations: 60 kB / 279.1 MB, free: 13.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/0.03583, allocations: 39.92 kB / 279.1 MB, free: 13.28 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001655/0.036, allocations: 124.7 kB / 279.2 MB, free: 13.16 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.974e-05/0.03605, allocations: 43.97 kB / 279.3 MB, free: 13.11 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001973/0.03625, allocations: 264.5 kB / 279.5 MB, free: 12.86 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03625, allocations: 0 / 279.5 MB, free: 12.86 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000546/0.03679, allocations: 351.2 kB / 279.9 MB, free: 12.51 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.001292/0.03808, allocations: 0.7068 MB / 280.6 MB, free: 12.08 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000844/0.03893, allocations: 1.142 MB / 281.7 MB, free: 10.87 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.099e-05/0.03895, allocations: 24.34 kB / 281.7 MB, free: 10.84 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004206/0.03937, allocations: 0.6628 MB / 282.4 MB, free: 10.12 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009814/0.04035, allocations: 1.591 MB / 284 MB, free: 8.266 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002256/0.04261, allocations: 2.115 MB / 286.1 MB, free: 6.062 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001675/0.04278, allocations: 254.5 kB / 286.4 MB, free: 5.789 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003276/0.0431, allocations: 173.7 kB / 286.5 MB, free: 5.617 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004565/0.04356, allocations: 337.1 kB / 286.9 MB, free: 5.289 MB / 282.7 MB Notification: Performance of SimCode: time 7.91e-07/0.04356, allocations: 0 / 286.9 MB, free: 5.289 MB / 282.7 MB Notification: Performance of Templates: time 0.01965/0.06321, allocations: 17.1 MB / 304 MB, free: 4.402 MB / 298.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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9632194004952908]