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.0008682/0.0008682, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.0008977/0.0008977, allocations: 148.9 kB / 24.9 MB, free: 8.688 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.9073/0.9073, allocations: 173.3 MB / 201.5 MB, free: 9.211 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 9.92e-07/9.92e-07, allocations: 3.938 kB / 268.5 MB, free: 6.188 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.03e-05/1.129e-05, allocations: 2.312 kB / 268.5 MB, free: 6.184 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.003602/0.003613, allocations: 3.724 MB / 272.2 MB, free: 2.438 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002848/0.006461, allocations: 2.621 MB / 274.8 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002882/0.006749, allocations: 35.75 kB / 274.9 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000758/0.007507, allocations: 0.5753 MB / 275.4 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005119/0.008019, allocations: 465.4 kB / 275.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001247/0.009266, allocations: 1.111 MB / 277 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00177/0.01104, allocations: 2.184 MB / 279.2 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007682/0.0118, allocations: 0.9738 MB / 280.2 MB, free: 10.42 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006719/0.01248, allocations: 1.056 MB / 281.2 MB, free: 9.363 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004539/0.01293, allocations: 0.5257 MB / 281.7 MB, free: 8.836 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000187/0.01312, allocations: 192 kB / 281.9 MB, free: 8.648 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003874/0.0135, allocations: 307.7 kB / 282.2 MB, free: 8.348 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003373/0.01384, allocations: 478.6 kB / 282.7 MB, free: 7.879 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003998/0.01424, allocations: 0.4909 MB / 283.2 MB, free: 7.387 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001175/0.01542, allocations: 1.382 MB / 284.6 MB, free: 6 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.513e-06/0.01542, allocations: 0 / 284.6 MB, free: 6 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.01542, allocations: 3.938 kB / 284.6 MB, free: 5.996 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.355e-06/0.01543, allocations: 0 / 284.6 MB, free: 5.996 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.002003/0.01743, allocations: 1.796 MB / 286.4 MB, free: 4.105 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.01746, allocations: 8.922 kB / 286.4 MB, free: 4.098 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002491/0.01771, allocations: 224.7 kB / 286.6 MB, free: 3.879 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009251/0.01864, allocations: 0.6534 MB / 287.3 MB, free: 3.195 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001677/0.01881, allocations: 281.7 kB / 287.5 MB, free: 2.883 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001492/0.01895, allocations: 148.4 kB / 287.7 MB, free: 2.738 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/0.02016, allocations: 1.116 MB / 288.8 MB, free: 1.484 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.525e-05/0.02019, allocations: 4 kB / 288.8 MB, free: 1.48 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-05/0.02027, allocations: 59.92 kB / 288.8 MB, free: 1.422 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.446e-05/0.02031, allocations: 46.19 kB / 288.9 MB, free: 1.375 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006496/0.02096, allocations: 479.1 kB / 289.4 MB, free: 0.875 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.107/0.1279, allocations: 4.07 MB / 293.4 MB, free: 26.87 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008168/0.1288, allocations: 0.7322 MB / 294.2 MB, free: 26.5 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002986/0.1291, allocations: 346.8 kB / 294.5 MB, free: 26.32 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.951e-05/0.1291, allocations: 26.84 kB / 294.5 MB, free: 26.32 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006773/0.1298, allocations: 0.809 MB / 295.3 MB, free: 25.89 MB / 266.7 MB Notification: Performance of pre-optimization done (n=133): time 2.816e-06/0.1298, allocations: 0 / 295.3 MB, free: 25.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=133): time 0.001096/0.1309, allocations: 0.9665 MB / 296.3 MB, free: 25.55 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.131, allocations: 0.5316 MB / 296.8 MB, free: 24.96 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005688/0.1316, allocations: 0.6805 MB / 297.5 MB, free: 24.79 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001035/0.1317, allocations: 114.2 kB / 297.6 MB, free: 24.75 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002193/0.1319, allocations: 440.4 kB / 298.1 MB, free: 24.53 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002018/0.1321, allocations: 354.2 kB / 298.4 MB, free: 24.37 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003641/0.1325, allocations: 386.2 kB / 298.8 MB, free: 24.35 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.958e-05/0.1325, allocations: 367.4 kB / 299.1 MB, free: 24.04 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003303/0.1329, allocations: 266.3 kB / 299.4 MB, free: 23.94 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004567/0.1333, allocations: 0.7648 MB / 300.2 MB, free: 23.3 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008712/0.1342, allocations: 1.033 MB / 301.2 MB, free: 22.66 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.999e-06/0.1342, allocations: 5.25 kB / 301.2 MB, free: 22.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.001167/0.1354, allocations: 1.022 MB / 302.2 MB, free: 22.41 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.175e-05/0.1354, allocations: 105.4 kB / 302.3 MB, free: 22.31 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-05/0.1354, allocations: 12.23 kB / 302.3 MB, free: 22.31 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.116e-05/0.1355, allocations: 19.88 kB / 302.4 MB, free: 22.31 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005092/0.136, allocations: 227.7 kB / 302.6 MB, free: 22.3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.55e-05/0.136, allocations: 26.16 kB / 302.6 MB, free: 22.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004138/0.1364, allocations: 144.4 kB / 302.7 MB, free: 22.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.869e-05/0.1365, allocations: 65.25 kB / 302.8 MB, free: 22.25 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.0003615/0.1369, allocations: 441.9 kB / 303.2 MB, free: 21.96 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/0.137, allocations: 125.1 kB / 303.4 MB, free: 21.96 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008095/0.1378, allocations: 0.7834 MB / 304.1 MB, free: 21.7 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/0.1379, allocations: 15.33 kB / 304.2 MB, free: 21.7 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.1379, allocations: 2.156 kB / 304.2 MB, free: 21.7 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.368e-05/0.1379, allocations: 8.391 kB / 304.2 MB, free: 21.7 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001743/0.1396, allocations: 1.567 MB / 305.7 MB, free: 21.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.1396, allocations: 8 kB / 305.7 MB, free: 21.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002381/0.1399, allocations: 94.19 kB / 305.8 MB, free: 21.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.1399, allocations: 6.969 kB / 305.8 MB, free: 21.18 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.243e-05/0.1399, allocations: 46.95 kB / 305.9 MB, free: 21.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.1399, allocations: 5.656 kB / 305.9 MB, free: 21.18 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1399, allocations: 3.969 kB / 305.9 MB, free: 21.18 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.1409, allocations: 1.298 MB / 307.2 MB, free: 20.62 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002253/0.1412, allocations: 151.5 kB / 307.3 MB, free: 20.54 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/0.1413, allocations: 58.8 kB / 307.4 MB, free: 20.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002253/0.1415, allocations: 42.77 kB / 307.4 MB, free: 20.54 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001856/0.1417, allocations: 117.8 kB / 307.6 MB, free: 20.53 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.28e-05/0.1418, allocations: 50.05 kB / 307.6 MB, free: 20.53 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002124/0.142, allocations: 266.4 kB / 307.9 MB, free: 20.49 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.142, allocations: 0 / 307.9 MB, free: 20.49 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006843/0.1427, allocations: 346.8 kB / 308.2 MB, free: 20.39 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.001193/0.1439, allocations: 0.6597 MB / 308.9 MB, free: 20.16 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008531/0.1447, allocations: 1.111 MB / 310 MB, free: 19.61 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.108e-05/0.1447, allocations: 8 kB / 310 MB, free: 19.6 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003773/0.1451, allocations: 0.6166 MB / 310.6 MB, free: 18.95 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006008/0.1457, allocations: 263.2 kB / 310.9 MB, free: 18.7 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002023/0.1477, allocations: 2.061 MB / 312.9 MB, free: 16.55 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001636/0.1479, allocations: 250.5 kB / 313.2 MB, free: 16.29 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003874/0.1483, allocations: 177.7 kB / 313.3 MB, free: 16.11 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003898/0.1487, allocations: 333.1 kB / 313.7 MB, free: 15.79 MB / 266.7 MB Notification: Performance of SimCode: time 5.11e-07/0.1487, allocations: 0 / 313.7 MB, free: 15.79 MB / 266.7 MB Notification: Performance of Templates: time 0.01622/0.1649, allocations: 16.8 MB / 330.5 MB, free: 15.21 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 -s gbode -gbm=radauIIA3 -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: 2.9881943948566914]