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.001099/0.001099, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001586/0.002685, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.000986/0.000986, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001291/0.002277, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9366/0.9366, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08472/1.021, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.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.383e-06/1.383e-06, allocations: 0 / 245 MB, free: 13.68 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.032e-05/2.17e-05, allocations: 2.312 kB / 245 MB, free: 13.68 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.003828/0.00385, allocations: 3.818 MB / 248.8 MB, free: 9.836 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00357/0.00742, allocations: 2.785 MB / 251.6 MB, free: 7.039 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004422/0.007862, allocations: 31.81 kB / 251.6 MB, free: 7.008 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008372/0.008699, allocations: 0.5597 MB / 252.2 MB, free: 6.445 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006783/0.009378, allocations: 0.5362 MB / 252.7 MB, free: 5.906 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00136/0.01074, allocations: 1.036 MB / 253.8 MB, free: 4.871 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001488/0.01223, allocations: 2.212 MB / 256 MB, free: 2.656 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008012/0.01303, allocations: 0.9778 MB / 256.9 MB, free: 1.648 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008281/0.01385, allocations: 1.133 MB / 258.1 MB, free: 0.5156 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004427/0.0143, allocations: 0.5335 MB / 258.6 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001498/0.01445, allocations: 196 kB / 258.8 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000318/0.01477, allocations: 291.7 kB / 259.1 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002442/0.01501, allocations: 406.9 kB / 259.5 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000285/0.01529, allocations: 399.1 kB / 259.9 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001014/0.01631, allocations: 1.28 MB / 261.1 MB, free: 13.43 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.532e-05/0.01632, allocations: 4 kB / 261.2 MB, free: 13.43 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.01633, allocations: 3.984 kB / 261.2 MB, free: 13.42 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.232e-05/0.01635, allocations: 4 kB / 261.2 MB, free: 13.42 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.001877/0.01823, allocations: 2.1 MB / 263.3 MB, free: 11.22 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.932e-05/0.01825, allocations: 8.625 kB / 263.3 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005481/0.0188, allocations: 345.8 kB / 263.6 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007311/0.01953, allocations: 0.6651 MB / 264.3 MB, free: 10.16 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001394/0.01967, allocations: 277.7 kB / 264.5 MB, free: 9.855 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.01978, allocations: 144.4 kB / 264.7 MB, free: 9.715 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009191/0.0207, allocations: 1.109 MB / 265.8 MB, free: 8.473 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.123e-05/0.02072, allocations: 4.188 kB / 265.8 MB, free: 8.469 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.593e-05/0.02078, allocations: 60.05 kB / 265.9 MB, free: 8.41 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-05/0.02081, allocations: 50.17 kB / 265.9 MB, free: 8.359 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000462/0.02128, allocations: 471.2 kB / 266.4 MB, free: 7.867 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003412/0.02469, allocations: 4.287 MB / 270.7 MB, free: 3.438 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006409/0.02533, allocations: 0.7153 MB / 271.4 MB, free: 2.617 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002433/0.02557, allocations: 331.7 kB / 271.7 MB, free: 2.246 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.467e-05/0.02562, allocations: 21 kB / 271.7 MB, free: 2.227 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005451/0.02616, allocations: 0.8071 MB / 272.5 MB, free: 1.324 MB / 266.7 MB Notification: Performance of pre-optimization done (n=131): time 2.795e-06/0.02617, allocations: 4 kB / 272.5 MB, free: 1.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=131): time 0.000861/0.02703, allocations: 0.9813 MB / 273.5 MB, free: 284 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004853/0.02751, allocations: 0.5324 MB / 274 MB, free: 15.63 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004683/0.02798, allocations: 0.7022 MB / 274.7 MB, free: 14.91 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.164e-05/0.02806, allocations: 109.7 kB / 274.8 MB, free: 14.8 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002052/0.02827, allocations: 444.1 kB / 275.3 MB, free: 14.36 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000185/0.02845, allocations: 357.2 kB / 275.6 MB, free: 14 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002583/0.02871, allocations: 371.2 kB / 276 MB, free: 13.64 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.431e-05/0.02877, allocations: 305.1 kB / 276.3 MB, free: 13.34 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002213/0.029, allocations: 272.1 kB / 276.6 MB, free: 13.05 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004092/0.02941, allocations: 0.7626 MB / 277.3 MB, free: 12.09 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006876/0.03009, allocations: 1.041 MB / 278.4 MB, free: 10.84 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.668e-06/0.0301, allocations: 4 kB / 278.4 MB, free: 10.84 MB / 282.7 MB Notification: Performance of matching and sorting (n=224) (initialization): time 0.0008533/0.03096, allocations: 1.033 MB / 279.4 MB, free: 9.762 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.272e-05/0.03102, allocations: 101.1 kB / 279.5 MB, free: 9.645 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.03103, allocations: 12 kB / 279.5 MB, free: 9.633 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.308e-05/0.03105, allocations: 20 kB / 279.5 MB, free: 9.613 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004031/0.03146, allocations: 223.5 kB / 279.7 MB, free: 9.395 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.869e-05/0.03148, allocations: 35.8 kB / 279.8 MB, free: 9.359 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002945/0.03177, allocations: 143.1 kB / 279.9 MB, free: 9.219 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.962e-05/0.03182, allocations: 52.28 kB / 280 MB, free: 9.168 MB / 282.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.0005927/0.03241, allocations: 436 kB / 280.4 MB, free: 8.703 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/0.03252, allocations: 123.9 kB / 280.5 MB, free: 8.582 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005849/0.03311, allocations: 0.7583 MB / 281.3 MB, free: 7.777 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.03312, allocations: 12 kB / 281.3 MB, free: 7.766 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.03312, allocations: 7.938 kB / 281.3 MB, free: 7.758 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.03313, allocations: 3.984 kB / 281.3 MB, free: 7.754 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001471/0.0346, allocations: 1.549 MB / 282.8 MB, free: 6.145 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.03461, allocations: 8 kB / 282.9 MB, free: 6.137 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000195/0.0348, allocations: 87.83 kB / 282.9 MB, free: 6.051 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001772/0.03498, allocations: 143 kB / 283.1 MB, free: 5.91 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.03498, allocations: 7.938 kB / 283.1 MB, free: 5.902 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.713e-05/0.03502, allocations: 31.98 kB / 283.1 MB, free: 5.871 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.643e-06/0.03503, allocations: 15.98 kB / 283.1 MB, free: 5.855 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.03503, allocations: 3.938 kB / 283.1 MB, free: 5.852 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008879/0.03592, allocations: 1.293 MB / 284.4 MB, free: 4.457 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/0.03602, allocations: 56.02 kB / 284.5 MB, free: 4.402 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.03618, allocations: 43.91 kB / 284.5 MB, free: 4.359 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001449/0.03633, allocations: 104.8 kB / 284.6 MB, free: 4.254 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.354e-05/0.03637, allocations: 43.97 kB / 284.7 MB, free: 4.211 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001824/0.03655, allocations: 272.5 kB / 284.9 MB, free: 3.941 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.03655, allocations: 0 / 284.9 MB, free: 3.941 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005286/0.03708, allocations: 343.2 kB / 285.3 MB, free: 3.605 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (tank1.level,tank2.level) * Number of discrete variables: 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.001263/0.03834, allocations: 0.6885 MB / 286 MB, free: 3.137 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007773/0.03912, allocations: 1.103 MB / 287.1 MB, free: 1.965 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-05/0.03914, allocations: 16.19 kB / 287.1 MB, free: 1.949 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000636/0.03977, allocations: 0.6057 MB / 287.7 MB, free: 1.285 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005429/0.04032, allocations: 318.5 kB / 288 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09008/0.1304, allocations: 2.123 MB / 290.1 MB, free: 35.41 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002325/0.1306, allocations: 252.7 kB / 290.4 MB, free: 35.33 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0005646/0.1312, allocations: 160.1 kB / 290.5 MB, free: 35.32 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005875/0.1318, allocations: 321 kB / 290.8 MB, free: 35.27 MB / 282.7 MB Notification: Performance of SimCode: time 1.663e-06/0.1318, allocations: 0.6562 kB / 290.8 MB, free: 35.27 MB / 282.7 MB Notification: Performance of Templates: time 0.02284/0.1546, allocations: 16.7 MB / 307.5 MB, free: 29.09 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 -emit_protected -ignoreHideResult -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: 2.9890738958492875]