Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001415/0.001415, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001203/0.001203, allocations: 169.1 kB / 24.91 MB, free: 8.777 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9215/0.9215, allocations: 177 MB / 205.2 MB, free: 5.449 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.StateGraph.Examples.ControlledTanks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.654e-06/1.654e-06, allocations: 0 / 273.4 MB, free: 1.211 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.071e-05/2.236e-05, allocations: 2.312 kB / 273.4 MB, free: 1.207 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.004166/0.004189, allocations: 3.794 MB / 277.2 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003617/0.007805, allocations: 2.754 MB / 279.9 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005966/0.008402, allocations: 39.75 kB / 280 MB, free: 10.58 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00106/0.009462, allocations: 0.5714 MB / 280.5 MB, free: 10.01 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00102/0.01048, allocations: 0.5128 MB / 281.1 MB, free: 9.492 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001593/0.01208, allocations: 1.029 MB / 282.1 MB, free: 8.461 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002286/0.01436, allocations: 2.223 MB / 284.3 MB, free: 6.234 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00121/0.01557, allocations: 0.9894 MB / 285.3 MB, free: 5.211 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009903/0.01656, allocations: 1.064 MB / 286.4 MB, free: 4.145 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005374/0.0171, allocations: 0.5296 MB / 286.9 MB, free: 3.613 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001804/0.01728, allocations: 192 kB / 287.1 MB, free: 3.426 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003921/0.01767, allocations: 299.8 kB / 287.4 MB, free: 3.133 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002831/0.01795, allocations: 482.6 kB / 287.8 MB, free: 2.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003698/0.01832, allocations: 0.491 MB / 288.3 MB, free: 2.168 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001216/0.01954, allocations: 1.397 MB / 289.7 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.01954, allocations: 0 / 289.7 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.01955, allocations: 0 / 289.7 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.813e-05/0.01956, allocations: 0 / 289.7 MB, free: 0.7656 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.1059/0.1255, allocations: 1.815 MB / 291.6 MB, free: 24.61 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.1255, allocations: 18.77 kB / 291.6 MB, free: 24.61 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006602/0.1262, allocations: 272.4 kB / 291.8 MB, free: 24.61 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008506/0.127, allocations: 0.6624 MB / 292.5 MB, free: 24.39 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001242/0.1271, allocations: 284.9 kB / 292.8 MB, free: 24.2 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001289/0.1273, allocations: 145.6 kB / 292.9 MB, free: 24.2 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001411/0.1287, allocations: 1.099 MB / 294 MB, free: 23.79 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.8e-05/0.1287, allocations: 3.844 kB / 294 MB, free: 23.79 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.58e-05/0.1288, allocations: 57.77 kB / 294.1 MB, free: 23.79 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.237e-05/0.1288, allocations: 54.45 kB / 294.1 MB, free: 23.78 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000771/0.1296, allocations: 461.1 kB / 294.6 MB, free: 23.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003965/0.1336, allocations: 4.264 MB / 298.8 MB, free: 21.11 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008027/0.1344, allocations: 0.7057 MB / 299.6 MB, free: 20.75 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003081/0.1347, allocations: 325.7 kB / 299.9 MB, free: 20.58 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.991e-05/0.1347, allocations: 22.22 kB / 299.9 MB, free: 20.58 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007198/0.1354, allocations: 0.7985 MB / 300.7 MB, free: 20.14 MB / 266.7 MB Notification: Performance of pre-optimization done (n=131): time 2.905e-06/0.1354, allocations: 0 / 300.7 MB, free: 20.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=131): time 0.001185/0.1366, allocations: 0.961 MB / 301.7 MB, free: 19.8 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.642e-05/0.1367, allocations: 0.5264 MB / 302.2 MB, free: 19.21 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006818/0.1374, allocations: 0.7013 MB / 302.9 MB, free: 19.03 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001127/0.1375, allocations: 108.8 kB / 303 MB, free: 19 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000239/0.1378, allocations: 449.4 kB / 303.4 MB, free: 18.78 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002348/0.138, allocations: 350.8 kB / 303.8 MB, free: 18.6 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003774/0.1384, allocations: 372.3 kB / 304.1 MB, free: 18.5 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.973e-05/0.1384, allocations: 303.2 kB / 304.4 MB, free: 18.2 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003451/0.1387, allocations: 261.3 kB / 304.7 MB, free: 18.09 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004613/0.1392, allocations: 0.7578 MB / 305.4 MB, free: 17.45 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008737/0.1401, allocations: 1.024 MB / 306.5 MB, free: 16.77 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.394e-05/0.1401, allocations: 6.594 kB / 306.5 MB, free: 16.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=224) (initialization): time 0.001204/0.1413, allocations: 1.018 MB / 307.5 MB, free: 16.39 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.333e-05/0.1414, allocations: 110.4 kB / 307.6 MB, free: 16.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.655e-05/0.1414, allocations: 16.45 kB / 307.6 MB, free: 16.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.23e-05/0.1414, allocations: 19.12 kB / 307.6 MB, free: 16.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004863/0.1419, allocations: 207.5 kB / 307.8 MB, free: 16.26 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.921e-05/0.1419, allocations: 29.62 kB / 307.9 MB, free: 16.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004725/0.1424, allocations: 150.8 kB / 308 MB, free: 16.19 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.959e-05/0.1425, allocations: 56.78 kB / 308.1 MB, free: 16.17 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: 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,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 (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.0004031/0.1429, allocations: 440.6 kB / 308.5 MB, free: 15.83 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000158/0.143, allocations: 129.6 kB / 308.6 MB, free: 15.81 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006734/0.1437, allocations: 0.7297 MB / 309.4 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.218e-06/0.1437, allocations: 15.5 kB / 309.4 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.1437, allocations: 6.094 kB / 309.4 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/0.1437, allocations: 7.922 kB / 309.4 MB, free: 15.47 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001829/0.1455, allocations: 1.532 MB / 310.9 MB, free: 14.11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.1455, allocations: 4 kB / 310.9 MB, free: 14.1 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002425/0.1458, allocations: 87.77 kB / 311 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.1458, allocations: 4 kB / 311 MB, free: 14.01 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.936e-05/0.1458, allocations: 31.98 kB / 311 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.1459, allocations: 4 kB / 311 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.1459, allocations: 4 kB / 311 MB, free: 13.97 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009991/0.1469, allocations: 1.274 MB / 312.3 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002498/0.1471, allocations: 143 kB / 312.5 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001413/0.1472, allocations: 55.98 kB / 312.5 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002435/0.1475, allocations: 39.97 kB / 312.6 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001927/0.1477, allocations: 100.8 kB / 312.7 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-05/0.1477, allocations: 43.91 kB / 312.7 MB, free: 12.23 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002485/0.148, allocations: 280.5 kB / 313 MB, free: 11.96 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.148, allocations: 0 / 313 MB, free: 11.96 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009932/0.149, allocations: 343.2 kB / 313.3 MB, free: 11.62 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: 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 (116): * Single equations (assignments): 89 * 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.001463/0.1504, allocations: 0.6587 MB / 314 MB, free: 11.21 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001036/0.1515, allocations: 1.079 MB / 315 MB, free: 10.07 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-05/0.1515, allocations: 8 kB / 315 MB, free: 10.06 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003894/0.1519, allocations: 0.5979 MB / 315.6 MB, free: 9.406 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006931/0.1526, allocations: 236.9 kB / 315.9 MB, free: 9.176 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002358/0.1549, allocations: 2.072 MB / 318 MB, free: 7.02 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001746/0.1551, allocations: 254.3 kB / 318.2 MB, free: 6.75 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0004493/0.1556, allocations: 173.7 kB / 318.4 MB, free: 6.578 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000508/0.1561, allocations: 325.2 kB / 318.7 MB, free: 6.262 MB / 266.7 MB Notification: Performance of SimCode: time 1.142e-06/0.1561, allocations: 0 / 318.7 MB, free: 6.262 MB / 266.7 MB Notification: Performance of Templates: time 0.02435/0.1804, allocations: 16.35 MB / 335 MB, free: 6.082 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.pipe ; mkfifo Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.pipe ; head -c 1048576 < Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.pipe >> ../files/Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.sim & ./Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.059116821270436]