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.0007332/0.0007332, allocations: 68.17 kB / 10.01 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001085/0.001818, allocations: 457.8 kB / 10.46 MB, free: 232 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.0006983/0.0006983, allocations: 166.1 kB / 11.37 MB, free: 2.805 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009069/0.001605, allocations: 471.6 kB / 11.83 MB, free: 2.34 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.932/0.932, allocations: 177.5 MB / 190.1 MB, free: 4.75 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08343/1.015, allocations: 53.88 MB / 243.9 MB, free: 14.8 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.172e-06/1.172e-06, allocations: 0 / 245.2 MB, free: 13.55 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.336e-05/1.453e-05, allocations: 2.312 kB / 245.2 MB, free: 13.55 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.003546/0.00356, allocations: 3.823 MB / 249 MB, free: 9.699 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003253/0.006814, allocations: 2.785 MB / 251.8 MB, free: 6.906 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003412/0.007155, allocations: 35.75 kB / 251.8 MB, free: 6.871 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007714/0.007926, allocations: 0.5635 MB / 252.4 MB, free: 6.305 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006404/0.008567, allocations: 0.5401 MB / 252.9 MB, free: 5.762 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001251/0.009818, allocations: 1.045 MB / 254 MB, free: 4.715 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001528/0.01135, allocations: 2.204 MB / 256.2 MB, free: 2.508 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009405/0.01229, allocations: 0.9817 MB / 257.2 MB, free: 1.492 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001002/0.01329, allocations: 1.133 MB / 258.3 MB, free: 364 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005351/0.01382, allocations: 0.5492 MB / 258.9 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001804/0.014, allocations: 192 kB / 259 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003941/0.0144, allocations: 303.6 kB / 259.3 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003188/0.01472, allocations: 406.9 kB / 259.7 MB, free: 14.92 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003827/0.0151, allocations: 407.1 kB / 260.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001232/0.01633, allocations: 1.28 MB / 261.4 MB, free: 13.24 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.621e-05/0.01635, allocations: 0 / 261.4 MB, free: 13.24 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.143e-06/0.01635, allocations: 0 / 261.4 MB, free: 13.24 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.5e-05/0.01636, allocations: 0 / 261.4 MB, free: 13.24 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.002165/0.01853, allocations: 2.116 MB / 263.5 MB, free: 11.02 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.01856, allocations: 12.62 kB / 263.5 MB, free: 11.01 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007946/0.01936, allocations: 345.8 kB / 263.9 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009606/0.02032, allocations: 0.6534 MB / 264.5 MB, free: 9.977 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001761/0.02049, allocations: 281.7 kB / 264.8 MB, free: 9.664 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001462/0.02064, allocations: 152.3 kB / 265 MB, free: 9.516 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001218/0.02186, allocations: 1.109 MB / 266.1 MB, free: 8.273 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.489e-05/0.02188, allocations: 4.125 kB / 266.1 MB, free: 8.27 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.729e-05/0.02196, allocations: 60.11 kB / 266.1 MB, free: 8.211 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.235e-05/0.02201, allocations: 54.19 kB / 266.2 MB, free: 8.156 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006462/0.02266, allocations: 471.1 kB / 266.6 MB, free: 7.664 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003887/0.02655, allocations: 4.267 MB / 270.9 MB, free: 3.254 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008134/0.02736, allocations: 0.7233 MB / 271.6 MB, free: 2.43 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003153/0.02767, allocations: 327.7 kB / 271.9 MB, free: 2.062 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.379e-05/0.02773, allocations: 29 kB / 272 MB, free: 2.035 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006931/0.02842, allocations: 0.7993 MB / 272.8 MB, free: 1.141 MB / 266.7 MB Notification: Performance of pre-optimization done (n=131): time 2.785e-06/0.02842, allocations: 0 / 272.8 MB, free: 1.141 MB / 266.7 MB Notification: Performance of matching and sorting (n=131): time 0.001074/0.0295, allocations: 0.9806 MB / 273.8 MB, free: 100 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002528/0.02975, allocations: 0.6312 MB / 274.4 MB, free: 15.33 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005654/0.03032, allocations: 0.6992 MB / 275.1 MB, free: 14.62 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001081/0.03042, allocations: 109.7 kB / 275.2 MB, free: 14.51 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002634/0.03069, allocations: 448.1 kB / 275.6 MB, free: 14.06 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002407/0.03093, allocations: 353.2 kB / 276 MB, free: 13.71 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003541/0.03128, allocations: 375.2 kB / 276.3 MB, free: 13.34 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.342e-05/0.03136, allocations: 301.1 kB / 276.6 MB, free: 13.04 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003123/0.03167, allocations: 267.8 kB / 276.9 MB, free: 12.76 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000565/0.03223, allocations: 0.7665 MB / 277.7 MB, free: 11.8 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009326/0.03317, allocations: 1.053 MB / 278.7 MB, free: 10.54 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/0.03317, allocations: 4 kB / 278.7 MB, free: 10.54 MB / 282.7 MB Notification: Performance of matching and sorting (n=224) (initialization): time 0.001127/0.0343, allocations: 1.029 MB / 279.8 MB, free: 9.461 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.941e-05/0.03437, allocations: 101.1 kB / 279.9 MB, free: 9.344 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/0.03438, allocations: 12.84 kB / 279.9 MB, free: 9.332 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.444e-05/0.03441, allocations: 20 kB / 279.9 MB, free: 9.312 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005166/0.03493, allocations: 223.5 kB / 280.1 MB, free: 9.094 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.355e-05/0.03495, allocations: 39.86 kB / 280.1 MB, free: 9.055 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000387/0.03534, allocations: 147 kB / 280.3 MB, free: 8.91 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.16e-05/0.03541, allocations: 52 kB / 280.3 MB, free: 8.859 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.0003892/0.0358, allocations: 436 kB / 280.8 MB, free: 8.395 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001518/0.03595, allocations: 119.9 kB / 280.9 MB, free: 8.277 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008604/0.03681, allocations: 0.7856 MB / 281.7 MB, free: 7.445 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/0.03682, allocations: 16 kB / 281.7 MB, free: 7.43 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.03683, allocations: 11.92 kB / 281.7 MB, free: 7.418 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.228e-05/0.03684, allocations: 7.984 kB / 281.7 MB, free: 7.41 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001961/0.0388, allocations: 1.549 MB / 283.2 MB, free: 5.801 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.03881, allocations: 4 kB / 283.3 MB, free: 5.797 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002659/0.03907, allocations: 83.83 kB / 283.3 MB, free: 5.715 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002356/0.03931, allocations: 147 kB / 283.5 MB, free: 5.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.794e-06/0.03932, allocations: 4 kB / 283.5 MB, free: 5.566 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.293e-05/0.03937, allocations: 31.98 kB / 283.5 MB, free: 5.535 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.848e-06/0.03938, allocations: 7.984 kB / 283.5 MB, free: 5.527 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.03938, allocations: 11.94 kB / 283.5 MB, free: 5.516 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001234/0.04062, allocations: 1.305 MB / 284.8 MB, free: 4.109 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001366/0.04075, allocations: 51.98 kB / 284.9 MB, free: 4.059 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002392/0.04099, allocations: 39.97 kB / 284.9 MB, free: 4.02 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001932/0.04119, allocations: 104.8 kB / 285 MB, free: 3.914 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.148e-05/0.04125, allocations: 39.97 kB / 285.1 MB, free: 3.875 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002642/0.04151, allocations: 276.5 kB / 285.3 MB, free: 3.602 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.04151, allocations: 4.031 kB / 285.3 MB, free: 3.598 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007286/0.04224, allocations: 343.2 kB / 285.7 MB, free: 3.262 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.001542/0.04378, allocations: 0.6914 MB / 286.4 MB, free: 2.793 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001335/0.04512, allocations: 1.099 MB / 287.5 MB, free: 1.621 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.277e-05/0.04514, allocations: 16 kB / 287.5 MB, free: 1.605 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006909/0.04583, allocations: 0.6837 MB / 288.2 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.09144/0.1373, allocations: 1.658 MB / 289.8 MB, free: 35.52 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00253/0.1398, allocations: 2.083 MB / 291.9 MB, free: 34.5 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002026/0.14, allocations: 257.1 kB / 292.2 MB, free: 34.42 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004137/0.1404, allocations: 162.1 kB / 292.3 MB, free: 34.41 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005053/0.1409, allocations: 320.7 kB / 292.6 MB, free: 34.36 MB / 282.7 MB Notification: Performance of SimCode: time 1.724e-06/0.1409, allocations: 0 / 292.6 MB, free: 34.36 MB / 282.7 MB Notification: Performance of Templates: time 0.01896/0.1599, allocations: 16.69 MB / 309.3 MB, free: 27.48 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 & (cd run_cvode && ../Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS -inputPath=.. -r=../Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks_res.mat -s cvode) > 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks_dassl.pipe ; mkfifo Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks_dassl.pipe ; head -c 1048576 < Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks_dassl.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks_dassl.sim & (cd run_dassl && ../Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS -inputPath=.. -r=../Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks_dassl_res.mat -s dassl) > Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks_dassl.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks_dassl_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks_gbode.pipe ; mkfifo Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks_gbode.pipe ; head -c 1048576 < Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks_gbode.sim & (cd run_gbode && ../Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS -inputPath=.. -r=../Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks_gbode_res.mat -s gbode -gbm=radauIIA3) > Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks_gbode.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks_gbode_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks_ida.pipe ; mkfifo Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks_ida.pipe ; head -c 1048576 < Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks_ida.sim & (cd run_ida && ../Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS -inputPath=.. -r=../Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks_ida_res.mat -s ida) > Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks_ida.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks_ida_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2301197983324528]