Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.StateGraph.Examples.ControlledTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 168.6 kB / 24.5 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.429/1.429, allocations: 177.2 MB / 204.9 MB, free: 9.043 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.StateGraph.Examples.ControlledTanks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 54.75 kB / 325.5 MB, free: 288 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09729/0.09882, allocations: 53.33 MB / 378.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.005598/0.1044, allocations: 3.609 MB / 382.5 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005166/0.1096, allocations: 2.658 MB / 385.1 MB, free: 9.414 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008247/0.1104, allocations: 35.75 kB / 385.2 MB, free: 9.379 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001636/0.112, allocations: 0.5871 MB / 385.8 MB, free: 8.793 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001409/0.1135, allocations: 0.5053 MB / 386.3 MB, free: 8.285 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002326/0.1158, allocations: 1.026 MB / 387.3 MB, free: 7.262 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00293/0.1187, allocations: 2.208 MB / 389.5 MB, free: 5.047 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001405/0.1201, allocations: 0.9872 MB / 390.5 MB, free: 4.031 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009221/0.121, allocations: 0.7399 MB / 391.2 MB, free: 3.289 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008455/0.1219, allocations: 0.6921 MB / 391.9 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002467/0.1221, allocations: 200 kB / 392.1 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005256/0.1227, allocations: 307.9 kB / 392.4 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004953/0.1232, allocations: 494.7 kB / 392.9 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006297/0.1238, allocations: 0.626 MB / 393.5 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002513/0.1263, allocations: 2.401 MB / 395.9 MB, free: 14.57 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.1263, allocations: 0 / 395.9 MB, free: 14.57 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1263, allocations: 0 / 395.9 MB, free: 14.57 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.129e-05/0.1263, allocations: 0 / 395.9 MB, free: 14.57 MB / 366.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.002956/0.1293, allocations: 1.891 MB / 397.8 MB, free: 12.58 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.1293, allocations: 12.03 kB / 397.8 MB, free: 12.57 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00109/0.1304, allocations: 231.8 kB / 398.1 MB, free: 12.34 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001363/0.1318, allocations: 0.8363 MB / 398.9 MB, free: 11.48 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002455/0.132, allocations: 281.7 kB / 399.2 MB, free: 11.16 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001996/0.1322, allocations: 147.9 kB / 399.3 MB, free: 11.02 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002422/0.1346, allocations: 1.546 MB / 400.9 MB, free: 9.344 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.956e-05/0.1347, allocations: 3.938 kB / 400.9 MB, free: 9.34 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001147/0.1348, allocations: 59.98 kB / 400.9 MB, free: 9.281 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.484e-05/0.1348, allocations: 46.19 kB / 401 MB, free: 9.234 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001905/0.1367, allocations: 1.071 MB / 402 MB, free: 8.137 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00627/0.143, allocations: 5.227 MB / 407.3 MB, free: 2.758 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001743/0.1448, allocations: 1.009 MB / 408.3 MB, free: 1.648 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008455/0.1456, allocations: 0.562 MB / 408.8 MB, free: 1.039 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.622e-05/0.1456, allocations: 13 kB / 408.9 MB, free: 1.027 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001359/0.147, allocations: 0.9999 MB / 409.9 MB, free: 15.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=131): time 3.206e-06/0.147, allocations: 0 / 409.9 MB, free: 15.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=131): time 0.002784/0.1498, allocations: 1.682 MB / 411.5 MB, free: 14.19 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000303/0.1501, allocations: 0.5247 MB / 412.1 MB, free: 13.55 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001225/0.1513, allocations: 0.9843 MB / 413 MB, free: 12.55 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001535/0.1515, allocations: 109.7 kB / 413.1 MB, free: 12.44 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000469/0.1519, allocations: 0.5451 MB / 413.7 MB, free: 11.88 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003165/0.1523, allocations: 342.5 kB / 414 MB, free: 11.55 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004579/0.1527, allocations: 367.5 kB / 414.4 MB, free: 11.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.1528, allocations: 305.1 kB / 414.7 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009204/0.1538, allocations: 0.5556 MB / 415.2 MB, free: 10.3 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001342/0.1551, allocations: 1.067 MB / 416.3 MB, free: 9.031 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002043/0.1571, allocations: 1.401 MB / 417.7 MB, free: 7.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.936e-06/0.1571, allocations: 4 kB / 417.7 MB, free: 7.426 MB / 382.1 MB Notification: Performance of matching and sorting (n=224) (initialization): time 0.002693/0.1598, allocations: 1.673 MB / 419.4 MB, free: 5.711 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.906e-05/0.1599, allocations: 105.1 kB / 419.5 MB, free: 5.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.254e-05/0.16, allocations: 12 kB / 419.5 MB, free: 5.578 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.289e-05/0.16, allocations: 20 kB / 419.5 MB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006172/0.1606, allocations: 180.2 kB / 419.7 MB, free: 5.383 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.67e-05/0.1606, allocations: 35.86 kB / 419.7 MB, free: 5.348 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005751/0.1612, allocations: 147 kB / 419.9 MB, free: 5.203 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/0.1613, allocations: 75.98 kB / 419.9 MB, free: 5.129 MB / 382.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: 178 ($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.start.table.combiTimeTable.nextTimeEvent,$whenCondition12,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition11,$PRE.shut.table.combiTimeTable.nextTimeEvent,$whenCondition10,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.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,$whenCondition13,$whenCondition14,$whenCondition15,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],$whenCondition6,$whenCondition4,$whenCondition5,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],$whenCondition3,$whenCondition1,$whenCondition2,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 (212): * Single equations (assignments): 209 * 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.0008107/0.1621, allocations: 0.63 MB / 420.6 MB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001929/0.1623, allocations: 115.3 kB / 420.7 MB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002143/0.1645, allocations: 1.272 MB / 422 MB, free: 3.035 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/0.1645, allocations: 12 kB / 422 MB, free: 3.023 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.1645, allocations: 8 kB / 422 MB, free: 3.016 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.459e-05/0.1645, allocations: 7.969 kB / 422 MB, free: 3.008 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003999/0.1685, allocations: 2.417 MB / 424.4 MB, free: 0.5078 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.1685, allocations: 4 kB / 424.4 MB, free: 0.5039 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003555/0.1689, allocations: 79.83 kB / 424.5 MB, free: 436 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.037e-06/0.1689, allocations: 4 kB / 424.5 MB, free: 432 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.368e-05/0.169, allocations: 47.91 kB / 424.5 MB, free: 384 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.056e-05/0.169, allocations: 12.22 kB / 424.6 MB, free: 372 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.169, allocations: 4 kB / 424.6 MB, free: 368 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003327/0.1723, allocations: 2.125 MB / 426.7 MB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004743/0.1728, allocations: 222.9 kB / 426.9 MB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000184/0.173, allocations: 63.91 kB / 427 MB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003905/0.1734, allocations: 43.97 kB / 427 MB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003151/0.1737, allocations: 148.8 kB / 427.1 MB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.496e-05/0.1738, allocations: 56.03 kB / 427.2 MB, free: 13.62 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009111/0.1747, allocations: 0.6006 MB / 427.8 MB, free: 13.02 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1747, allocations: 0 / 427.8 MB, free: 13.02 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001141/0.1758, allocations: 347.2 kB / 428.1 MB, free: 12.68 MB / 398.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: 105 (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.T3.enableFire,tankController.s1.localActive,tankController.makeProduct.fillTank1.active,tankController.makeProduct.fillTank2.localActive,tankController.makeProduct.T2.enableFire,tankController.makeProduct.emptyTank2.localActive,tankController.makeProduct.T4.enableFire,tankController.makeProduct.wait1.localActive,tankController.makeProduct.wait2.localActive,tankController.s2.localActive,tankController.emptyTanks.localActive,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition9,tankController.s1.active,tankController.s1.inPort[2].occupied,tankController.s1.newActive,tankController.s1.oldActive,tankController.makeProduct.active,tankController.makeProduct.newActive,tankController.makeProduct.activeSteps,tankController.makeProduct.fillTank1.localActive,tankController.makeProduct.fillTank1.newActive,tankController.makeProduct.fillTank1.oldActive,tankController.makeProduct.T1.localCondition,tankController.makeProduct.T1.enableFire,tankController.makeProduct.fillTank2.active,tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.fillTank2.oldActive,tankController.makeProduct.T3.localCondition,tankController.makeProduct.T3.enableFire,tankController.makeProduct.emptyTank2.active,tankController.makeProduct.emptyTank2.newActive,tankController.makeProduct.emptyTank2.oldActive,tankController.makeProduct.wait1.active,tankController.makeProduct.wait1.newActive,tankController.makeProduct.wait1.oldActive,tankController.makeProduct.T2.fire,tankController.makeProduct.T2.t_start,tankController.makeProduct.wait2.active,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.s2.active,tankController.s2.outPort[2].available,tankController.s2.newActive,tankController.s2.oldActive,tankController.T4.enableFire,tankController.T5.enableFire,tankController.emptyTanks.active,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 (start.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEventScaled,tankController.emptyTanks.newActive,tankController.s2.newActive,tankController.makeProduct.newActive,tankController.makeProduct.wait2.newActive,tankController.makeProduct.wait1.newActive,tankController.makeProduct.emptyTank2.newActive,tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.fillTank1.newActive,tankController.s1.newActive,$whenCondition9,shut.on,$whenCondition8,$whenCondition7,shut.pre_reset[2],shut.pre_reset[1],shut.reset[1],shut.reset[2],shut.table.y,$whenCondition6,stop.on,$whenCondition5,$whenCondition4,stop.pre_reset[2],stop.pre_reset[1],stop.reset[1],stop.reset[2],stop.table.y,$whenCondition3,start.on,$whenCondition2,$whenCondition1,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 (119): * Single equations (assignments): 92 * 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.001927/0.1777, allocations: 0.5743 MB / 428.7 MB, free: 12.28 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002838/0.1806, allocations: 1.553 MB / 430.3 MB, free: 10.65 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.1806, allocations: 0 / 430.3 MB, free: 10.65 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001233/0.1818, allocations: 0.8265 MB / 431.1 MB, free: 9.773 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001336/0.1832, allocations: 234.3 kB / 431.3 MB, free: 9.551 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004458/0.1876, allocations: 2.405 MB / 433.7 MB, free: 7.066 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000678/0.1883, allocations: 0.5763 MB / 434.3 MB, free: 6.453 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006524/0.1889, allocations: 197.8 kB / 434.5 MB, free: 6.258 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002855/0.1892, allocations: 112.4 kB / 434.6 MB, free: 6.148 MB / 398.1 MB Notification: Performance of SimCode: time 8.62e-07/0.1892, allocations: 0.5625 kB / 434.6 MB, free: 6.148 MB / 398.1 MB Notification: Performance of Templates: time 0.02893/0.2182, allocations: 15.55 MB / 450.2 MB, free: 6.75 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.StateGraph.Examples.ControlledTanks.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.StateGraph.Examples.ControlledTanks.pipe ; mkfifo Modelica_4.1.0_Modelica.StateGraph.Examples.ControlledTanks.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.StateGraph.Examples.ControlledTanks.pipe >> ../files/Modelica_4.1.0_Modelica.StateGraph.Examples.ControlledTanks.sim & ./Modelica_4.1.0_Modelica.StateGraph.Examples.ControlledTanks -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.StateGraph.Examples.ControlledTanks.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.StateGraph.Examples.ControlledTanks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/StateGraph/Examples/ControlledTanks/ControlledTanks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 4.895600155927241]