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.0008837/0.0008837, allocations: 85.05 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008804/0.0008804, allocations: 141.2 kB / 24.89 MB, free: 9.203 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9639/0.9639, allocations: 173.3 MB / 201.5 MB, free: 9.203 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.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.333e-06/1.333e-06, allocations: 0 / 268.4 MB, free: 6.238 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.104e-05/2.237e-05, allocations: 6.25 kB / 268.4 MB, free: 6.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.003971/0.003993, allocations: 3.677 MB / 272.1 MB, free: 2.531 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003197/0.00719, allocations: 2.621 MB / 274.7 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003787/0.007569, allocations: 35.75 kB / 274.8 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008979/0.008467, allocations: 0.5754 MB / 275.3 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006128/0.00908, allocations: 465.4 kB / 275.8 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001423/0.0105, allocations: 1.119 MB / 276.9 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001725/0.01223, allocations: 2.181 MB / 279.1 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001184/0.01341, allocations: 1.052 MB / 280.1 MB, free: 10.43 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001283/0.01469, allocations: 1.189 MB / 281.3 MB, free: 9.285 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004488/0.01514, allocations: 0.5335 MB / 281.9 MB, free: 8.75 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000149/0.01529, allocations: 192 kB / 282.1 MB, free: 8.562 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003263/0.01562, allocations: 295.8 kB / 282.3 MB, free: 8.273 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000269/0.01589, allocations: 486.6 kB / 282.8 MB, free: 7.797 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003132/0.0162, allocations: 494.7 kB / 283.3 MB, free: 7.312 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001076/0.01728, allocations: 1.389 MB / 284.7 MB, free: 5.918 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.01728, allocations: 0 / 284.7 MB, free: 5.918 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.01728, allocations: 0 / 284.7 MB, free: 5.918 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.01729, allocations: 4 kB / 284.7 MB, free: 5.914 MB / 266.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.001522/0.01881, allocations: 1.796 MB / 286.5 MB, free: 4.023 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/0.01884, allocations: 12.92 kB / 286.5 MB, free: 4.012 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002165/0.01906, allocations: 216.8 kB / 286.7 MB, free: 3.801 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007795/0.01984, allocations: 0.6573 MB / 287.4 MB, free: 3.113 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001432/0.01998, allocations: 281.7 kB / 287.7 MB, free: 2.801 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.0201, allocations: 148.4 kB / 287.8 MB, free: 2.656 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001043/0.02114, allocations: 1.12 MB / 288.9 MB, free: 1.398 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.02117, allocations: 4 kB / 288.9 MB, free: 1.395 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.897e-05/0.02123, allocations: 51.98 kB / 289 MB, free: 1.344 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.952e-05/0.02126, allocations: 50.12 kB / 289 MB, free: 1.293 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004944/0.02176, allocations: 471.1 kB / 289.5 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1174/0.1392, allocations: 4.089 MB / 293.6 MB, free: 26.27 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008415/0.14, allocations: 0.7336 MB / 294.3 MB, free: 25.89 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002815/0.1403, allocations: 336.8 kB / 294.6 MB, free: 25.72 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.356e-05/0.1404, allocations: 30.45 kB / 294.7 MB, free: 25.72 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006286/0.141, allocations: 0.8055 MB / 295.5 MB, free: 25.29 MB / 266.7 MB Notification: Performance of pre-optimization done (n=133): time 4.188e-06/0.141, allocations: 1.094 kB / 295.5 MB, free: 25.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=133): time 0.001034/0.142, allocations: 0.9625 MB / 296.4 MB, free: 24.95 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.1421, allocations: 0.5324 MB / 297 MB, free: 24.36 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005806/0.1427, allocations: 0.6862 MB / 297.7 MB, free: 24.18 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001077/0.1428, allocations: 110.3 kB / 297.8 MB, free: 24.15 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00022/0.1431, allocations: 442.7 kB / 298.2 MB, free: 23.93 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002158/0.1433, allocations: 354.5 kB / 298.5 MB, free: 23.77 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003624/0.1436, allocations: 380.5 kB / 298.9 MB, free: 23.75 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.525e-05/0.1437, allocations: 367.1 kB / 299.3 MB, free: 23.44 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003176/0.144, allocations: 266.9 kB / 299.5 MB, free: 23.34 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004181/0.1445, allocations: 0.7656 MB / 300.3 MB, free: 22.7 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008503/0.1453, allocations: 1.034 MB / 301.3 MB, free: 22.06 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.207e-06/0.1453, allocations: 2.781 kB / 301.3 MB, free: 22.06 MB / 266.7 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.001068/0.1464, allocations: 1.025 MB / 302.4 MB, free: 21.8 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.966e-05/0.1464, allocations: 104 kB / 302.5 MB, free: 21.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.701e-05/0.1465, allocations: 16.06 kB / 302.5 MB, free: 21.71 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.082e-05/0.1465, allocations: 19.56 kB / 302.5 MB, free: 21.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003634/0.1468, allocations: 197.6 kB / 302.7 MB, free: 21.71 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.512e-05/0.1469, allocations: 30.53 kB / 302.7 MB, free: 21.7 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003661/0.1472, allocations: 148.1 kB / 302.9 MB, free: 21.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.472e-05/0.1473, allocations: 60.67 kB / 302.9 MB, free: 21.66 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.0003414/0.1477, allocations: 438.7 kB / 303.3 MB, free: 21.39 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/0.1478, allocations: 125.6 kB / 303.5 MB, free: 21.39 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007724/0.1486, allocations: 0.7843 MB / 304.3 MB, free: 21.12 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/0.1486, allocations: 15.25 kB / 304.3 MB, free: 21.12 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.1486, allocations: 2.594 kB / 304.3 MB, free: 21.12 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.345e-05/0.1486, allocations: 7.719 kB / 304.3 MB, free: 21.12 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001615/0.1502, allocations: 1.581 MB / 305.9 MB, free: 20.63 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.1502, allocations: 6.719 kB / 305.9 MB, free: 20.63 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001684/0.1504, allocations: 77.77 kB / 305.9 MB, free: 20.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.1504, allocations: 5.438 kB / 305.9 MB, free: 20.62 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.049e-05/0.1504, allocations: 34.39 kB / 306 MB, free: 20.62 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/0.1505, allocations: 9.516 kB / 306 MB, free: 20.62 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.1505, allocations: 11.12 kB / 306 MB, free: 20.61 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008385/0.1513, allocations: 1.299 MB / 307.3 MB, free: 20.05 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001923/0.1515, allocations: 153.1 kB / 307.4 MB, free: 19.99 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/0.1516, allocations: 62.31 kB / 307.5 MB, free: 19.99 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001734/0.1518, allocations: 38.22 kB / 307.5 MB, free: 19.99 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001494/0.1519, allocations: 113.6 kB / 307.7 MB, free: 19.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.066e-05/0.152, allocations: 45.52 kB / 307.7 MB, free: 19.98 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001721/0.1521, allocations: 267.6 kB / 308 MB, free: 19.93 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1521, allocations: 0 / 308 MB, free: 19.93 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006087/0.1528, allocations: 357.4 kB / 308.3 MB, free: 19.89 MB / 266.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.001116/0.1539, allocations: 0.6546 MB / 309 MB, free: 19.69 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007693/0.1546, allocations: 1.103 MB / 310.1 MB, free: 19.08 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.072e-05/0.1546, allocations: 12.06 kB / 310.1 MB, free: 19.07 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003062/0.155, allocations: 0.6192 MB / 310.7 MB, free: 18.42 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000486/0.1554, allocations: 250 kB / 310.9 MB, free: 18.24 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001836/0.1573, allocations: 2.068 MB / 313 MB, free: 16.23 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001348/0.1574, allocations: 250.3 kB / 313.3 MB, free: 15.97 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003242/0.1577, allocations: 189.7 kB / 313.4 MB, free: 15.78 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003955/0.1581, allocations: 325.2 kB / 313.8 MB, free: 15.46 MB / 266.7 MB Notification: Performance of SimCode: time 1.062e-06/0.1581, allocations: 0 / 313.8 MB, free: 15.46 MB / 266.7 MB Notification: Performance of Templates: time 0.01836/0.1765, allocations: 16.79 MB / 330.6 MB, free: 14.9 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 -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.126427666749805]