Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.StateGraph.Examples.ControlledTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008805/0.0008805, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.004463/0.004463, allocations: 160.7 kB / 24.7 MB, free: 8.898 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8769/0.8769, allocations: 177.1 MB / 205 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.StateGraph.Examples.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5035,variableFilter="time|tank1.level|tank2.level|shut.on|shut.reset.1.|shut.reset.2.|start.on|start.reset.1.|start.reset.2.|stop.on|stop.reset.1.|stop.reset.2.|tankController.T1.enableFire|tankController.T2.enableFire|tankController.T3.enableFire|tankController.T4.enableFire|tankController.T5.enableFire|tankController.T6.enableFire|tankController.makeProduct.T1.enableFire|tankController.makeProduct.T2.enableFire|tankController.makeProduct.T3.enableFire|tankController.makeProduct.T4.enableFire",fileNamePrefix="Modelica_4.1.0_Modelica.StateGraph.Examples.ControlledTanks") translateModel(Modelica.StateGraph.Examples.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5035,variableFilter="time|tank1.level|tank2.level|shut.on|shut.reset.1.|shut.reset.2.|start.on|start.reset.1.|start.reset.2.|stop.on|stop.reset.1.|stop.reset.2.|tankController.T1.enableFire|tankController.T2.enableFire|tankController.T3.enableFire|tankController.T4.enableFire|tankController.T5.enableFire|tankController.T6.enableFire|tankController.makeProduct.T1.enableFire|tankController.makeProduct.T2.enableFire|tankController.makeProduct.T3.enableFire|tankController.makeProduct.T4.enableFire",fileNamePrefix="Modelica_4.1.0_Modelica.StateGraph.Examples.ControlledTanks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.73e-05/1.855e-05, allocations: 4.672 kB / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.003386/0.003405, allocations: 3.621 MB / 329.4 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003465/0.00687, allocations: 2.672 MB / 332.1 MB, free: 9.125 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003998/0.007269, allocations: 31.75 kB / 332.1 MB, free: 9.094 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008673/0.008137, allocations: 0.5792 MB / 332.7 MB, free: 8.512 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006831/0.00882, allocations: 0.524 MB / 333.2 MB, free: 7.988 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001375/0.01019, allocations: 1.021 MB / 334.2 MB, free: 6.969 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001782/0.01198, allocations: 2.227 MB / 336.5 MB, free: 4.734 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001277/0.01325, allocations: 1.003 MB / 337.5 MB, free: 3.707 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007924/0.01405, allocations: 1.107 MB / 338.6 MB, free: 2.598 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004595/0.01451, allocations: 0.5959 MB / 339.2 MB, free: 2 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001351/0.01464, allocations: 208 kB / 339.4 MB, free: 1.797 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002914/0.01493, allocations: 299.8 kB / 339.7 MB, free: 1.504 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002611/0.01519, allocations: 0.4985 MB / 340.2 MB, free: 1.004 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000309/0.0155, allocations: 0.5144 MB / 340.7 MB, free: 500 kB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001395/0.0169, allocations: 2.458 MB / 343.1 MB, free: 14.02 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.0169, allocations: 0 / 343.1 MB, free: 14.02 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.0169, allocations: 3.938 kB / 343.2 MB, free: 14.02 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.36e-05/0.01691, allocations: 0 / 343.2 MB, free: 14.02 MB / 314.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.002048/0.01896, allocations: 1.879 MB / 345 MB, free: 12.04 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.01899, allocations: 8.031 kB / 345 MB, free: 12.04 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005824/0.01958, allocations: 235.8 kB / 345.3 MB, free: 11.8 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001153/0.02073, allocations: 0.8278 MB / 346.1 MB, free: 10.95 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000201/0.02093, allocations: 281.7 kB / 346.4 MB, free: 10.64 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001835/0.02111, allocations: 148.4 kB / 346.5 MB, free: 10.49 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001918/0.02303, allocations: 1.546 MB / 348.1 MB, free: 8.816 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.371e-05/0.02306, allocations: 7.938 kB / 348.1 MB, free: 8.809 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-05/0.02313, allocations: 48 kB / 348.1 MB, free: 8.762 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-05/0.02316, allocations: 54.17 kB / 348.2 MB, free: 8.707 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0012/0.02436, allocations: 1.075 MB / 349.2 MB, free: 7.605 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004018/0.02838, allocations: 5.204 MB / 354.4 MB, free: 2.246 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/0.02945, allocations: 1.034 MB / 355.5 MB, free: 1.109 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004853/0.02993, allocations: 0.5503 MB / 356 MB, free: 0.5117 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.434e-05/0.02997, allocations: 17 kB / 356 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007933/0.03076, allocations: 1.004 MB / 357.1 MB, free: 15.39 MB / 330.7 MB Notification: Performance of pre-optimization done (n=131): time 2.214e-06/0.03076, allocations: 0 / 357.1 MB, free: 15.39 MB / 330.7 MB Notification: Performance of matching and sorting (n=131): time 0.001933/0.03269, allocations: 1.678 MB / 358.7 MB, free: 13.66 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001594/0.03285, allocations: 0.5257 MB / 359.3 MB, free: 13.02 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007336/0.03359, allocations: 0.9843 MB / 360.2 MB, free: 12.02 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.176e-05/0.03368, allocations: 113.7 kB / 360.4 MB, free: 11.9 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00027/0.03395, allocations: 0.5334 MB / 360.9 MB, free: 11.36 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001906/0.03414, allocations: 349.4 kB / 361.2 MB, free: 11.02 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002865/0.03443, allocations: 363.5 kB / 361.6 MB, free: 10.66 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.848e-05/0.03449, allocations: 305.1 kB / 361.9 MB, free: 10.36 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005529/0.03505, allocations: 0.5594 MB / 362.4 MB, free: 9.777 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007579/0.03581, allocations: 1.063 MB / 363.5 MB, free: 8.508 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/0.0369, allocations: 1.397 MB / 364.9 MB, free: 6.914 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.03691, allocations: 4 kB / 364.9 MB, free: 6.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=224) (initialization): time 0.001753/0.03866, allocations: 1.674 MB / 366.6 MB, free: 5.191 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.392e-05/0.03872, allocations: 109.2 kB / 366.7 MB, free: 5.066 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.03873, allocations: 16 kB / 366.7 MB, free: 5.051 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.275e-05/0.03875, allocations: 20 kB / 366.7 MB, free: 5.031 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000304/0.03906, allocations: 183.5 kB / 366.9 MB, free: 4.852 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.846e-05/0.03908, allocations: 27.92 kB / 366.9 MB, free: 4.824 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003072/0.03938, allocations: 147 kB / 367.1 MB, free: 4.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-05/0.03945, allocations: 67.98 kB / 367.1 MB, free: 4.613 MB / 330.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,stateGraphRoot.resume,stateGraphRoot.suspend,tankController.makeProduct.T4.condition,tankController.makeProduct.T2.condition) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (212): * Single equations (assignments): 209 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004614/0.03991, allocations: 0.6342 MB / 367.8 MB, free: 3.941 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.04001, allocations: 119.2 kB / 367.9 MB, free: 3.824 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001193/0.0412, allocations: 1.268 MB / 369.2 MB, free: 2.512 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.04121, allocations: 19.94 kB / 369.2 MB, free: 2.492 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.04122, allocations: 4 kB / 369.2 MB, free: 2.488 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.04123, allocations: 11.97 kB / 369.2 MB, free: 2.477 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002277/0.0435, allocations: 2.421 MB / 371.6 MB, free: 15.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.04351, allocations: 0 / 371.6 MB, free: 15.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001848/0.04369, allocations: 83.78 kB / 371.7 MB, free: 15.9 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.124e-06/0.0437, allocations: 11.98 kB / 371.7 MB, free: 15.89 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.715e-05/0.04375, allocations: 39.95 kB / 371.7 MB, free: 15.85 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.04375, allocations: 4 kB / 371.7 MB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.04375, allocations: 7.938 kB / 371.8 MB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002121/0.04588, allocations: 2.129 MB / 373.9 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000244/0.04612, allocations: 222.9 kB / 374.1 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/0.04623, allocations: 51.98 kB / 374.2 MB, free: 13.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/0.04642, allocations: 48.03 kB / 374.2 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000192/0.04661, allocations: 148.8 kB / 374.3 MB, free: 13.15 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.926e-05/0.04666, allocations: 47.98 kB / 374.4 MB, free: 13.1 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004477/0.04711, allocations: 0.6045 MB / 375 MB, free: 12.5 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.04711, allocations: 0 / 375 MB, free: 12.5 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005477/0.04766, allocations: 339.2 kB / 375.3 MB, free: 12.16 MB / 346.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 (119): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 24 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008149/0.04847, allocations: 0.5885 MB / 375.9 MB, free: 11.74 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001322/0.04979, allocations: 1.551 MB / 377.5 MB, free: 10.12 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.04979, allocations: 320 / 377.5 MB, free: 10.12 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006514/0.05045, allocations: 0.8093 MB / 378.3 MB, free: 9.258 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005682/0.05101, allocations: 222.4 kB / 378.5 MB, free: 9.051 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002567/0.05358, allocations: 2.442 MB / 380.9 MB, free: 6.527 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005143/0.05409, allocations: 0.5724 MB / 381.5 MB, free: 5.914 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002104/0.0543, allocations: 108.5 kB / 381.6 MB, free: 5.809 MB / 346.7 MB Notification: Performance of SimCode: time 9.32e-07/0.05431, allocations: 0 / 381.6 MB, free: 5.809 MB / 346.7 MB Notification: Performance of Templates: time 0.01369/0.06799, allocations: 18.19 MB / 399.8 MB, free: 3.641 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.StateGraph.Examples.ControlledTanks.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.StateGraph.Examples.ControlledTanks.pipe ; mkfifo Modelica_4.1.0_Modelica.StateGraph.Examples.ControlledTanks.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.StateGraph.Examples.ControlledTanks.pipe >> ../files/Modelica_4.1.0_Modelica.StateGraph.Examples.ControlledTanks.sim & ./Modelica_4.1.0_Modelica.StateGraph.Examples.ControlledTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.StateGraph.Examples.ControlledTanks.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.StateGraph.Examples.ControlledTanks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/StateGraph/Examples/ControlledTanks/ControlledTanks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.StateGraph.Examples.ControlledTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.8317894376814365]