Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009094/0.0009094, allocations: 84.67 kB / 21.43 MB, free: 3.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008157/0.0008157, allocations: 143.8 kB / 24.68 MB, free: 9.449 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.825/0.825, allocations: 173.4 MB / 201.2 MB, free: 9.422 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.StateGraph.Examples.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5035,variableFilter="time|tank1.level|tank2.level|shut.on|shut.reset.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.0.0_Modelica.StateGraph.Examples.ControlledTanks") translateModel(Modelica.StateGraph.Examples.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5035,variableFilter="time|tank1.level|tank2.level|shut.on|shut.reset.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.0.0_Modelica.StateGraph.Examples.ControlledTanks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 319.7 MB, free: 5.852 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.848e-05/3.004e-05, allocations: 2.281 kB / 319.7 MB, free: 5.848 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.003384/0.003414, allocations: 3.541 MB / 323.2 MB, free: 2.289 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00291/0.006323, allocations: 2.524 MB / 325.7 MB, free: 15.75 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003423/0.006666, allocations: 39.75 kB / 325.8 MB, free: 15.71 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009209/0.007587, allocations: 0.5792 MB / 326.3 MB, free: 15.13 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005731/0.00816, allocations: 460.2 kB / 326.8 MB, free: 14.68 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001408/0.009568, allocations: 1.119 MB / 327.9 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001503/0.01107, allocations: 2.188 MB / 330.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008548/0.01192, allocations: 0.987 MB / 331.1 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000941/0.01287, allocations: 1.092 MB / 332.2 MB, free: 9.27 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004888/0.01335, allocations: 0.592 MB / 332.8 MB, free: 8.676 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001419/0.0135, allocations: 204 kB / 333 MB, free: 8.477 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003525/0.01385, allocations: 303.8 kB / 333.3 MB, free: 8.18 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003039/0.01415, allocations: 0.4985 MB / 333.8 MB, free: 7.68 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003275/0.01448, allocations: 0.5105 MB / 334.3 MB, free: 7.168 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001602/0.01608, allocations: 2.43 MB / 336.7 MB, free: 4.73 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.01609, allocations: 0 / 336.7 MB, free: 4.73 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.01609, allocations: 4 kB / 336.7 MB, free: 4.727 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.628e-05/0.0161, allocations: 3.984 kB / 336.7 MB, free: 4.723 MB / 298.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.001991/0.01809, allocations: 1.852 MB / 338.6 MB, free: 2.766 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.01813, allocations: 12.92 kB / 338.6 MB, free: 2.754 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004815/0.01862, allocations: 167.9 kB / 338.7 MB, free: 2.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009085/0.01952, allocations: 0.8356 MB / 339.6 MB, free: 1.727 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001579/0.01968, allocations: 281.7 kB / 339.8 MB, free: 1.414 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001334/0.01982, allocations: 144.4 kB / 340 MB, free: 1.273 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0016/0.02142, allocations: 1.566 MB / 341.6 MB, free: 15.57 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/0.02144, allocations: 7.938 kB / 341.6 MB, free: 15.56 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.015e-05/0.02151, allocations: 51.98 kB / 341.6 MB, free: 15.51 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.935e-05/0.02155, allocations: 50.19 kB / 341.7 MB, free: 15.46 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001195/0.02274, allocations: 1.087 MB / 342.8 MB, free: 14.35 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003831/0.02657, allocations: 4.889 MB / 347.6 MB, free: 9.316 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001161/0.02774, allocations: 1.046 MB / 348.7 MB, free: 8.18 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005097/0.02825, allocations: 0.5621 MB / 349.2 MB, free: 7.57 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.664e-05/0.02834, allocations: 28.94 kB / 349.3 MB, free: 7.543 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008412/0.02918, allocations: 0.9921 MB / 350.3 MB, free: 6.453 MB / 314.7 MB Notification: Performance of pre-optimization done (n=133): time 2.925e-06/0.02919, allocations: 0 / 350.3 MB, free: 6.453 MB / 314.7 MB Notification: Performance of matching and sorting (n=133): time 0.00176/0.03095, allocations: 1.718 MB / 352 MB, free: 4.68 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001618/0.03111, allocations: 0.5286 MB / 352.5 MB, free: 4.035 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/0.03211, allocations: 0.953 MB / 353.5 MB, free: 3.074 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.733e-05/0.03221, allocations: 109.7 kB / 353.6 MB, free: 2.961 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002695/0.03248, allocations: 0.5256 MB / 354.1 MB, free: 2.426 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001947/0.03267, allocations: 353.4 kB / 354.4 MB, free: 2.078 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003032/0.03298, allocations: 375.5 kB / 354.8 MB, free: 1.707 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.03308, allocations: 361.9 kB / 355.2 MB, free: 1.348 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005597/0.03364, allocations: 0.5594 MB / 355.7 MB, free: 0.7695 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008096/0.03445, allocations: 1.071 MB / 356.8 MB, free: 15.49 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001191/0.03564, allocations: 1.402 MB / 358.2 MB, free: 13.89 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.03564, allocations: 8 kB / 358.2 MB, free: 13.88 MB / 330.7 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.001891/0.03754, allocations: 1.689 MB / 359.9 MB, free: 12.15 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.14e-05/0.0376, allocations: 101.1 kB / 360 MB, free: 12.03 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/0.03761, allocations: 19.88 kB / 360 MB, free: 12.01 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.305e-05/0.03763, allocations: 20 kB / 360 MB, free: 11.99 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003189/0.03795, allocations: 187.5 kB / 360.2 MB, free: 11.81 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.982e-05/0.03797, allocations: 27.92 kB / 360.2 MB, free: 11.78 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003661/0.03834, allocations: 151 kB / 360.4 MB, free: 11.63 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.708e-05/0.03842, allocations: 76.2 kB / 360.5 MB, free: 11.56 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: 180 ($PRE.tankController.makeProduct.T1.enableFire,$PRE.tankController.makeProduct.T3.enableFire,$PRE.tankController.makeProduct.T2.enableFire,$PRE.tankController.makeProduct.T4.enableFire,$PRE.tankController.T1.enableFire,$PRE.tankController.T2.enableFire,$PRE.tankController.T3.enableFire,$PRE.tankController.T4.enableFire,$PRE.tankController.T5.enableFire,$PRE.tankController.T6.enableFire,$PRE.start.pre_reset[1],$PRE.start.pre_reset[2],$PRE.stop.pre_reset[1],$PRE.stop.pre_reset[2],$PRE.shut.pre_reset[1],$PRE.shut.pre_reset[2],$PRE.shut.table.combiTimeTable.nextTimeEvent,$whenCondition6,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition5,$PRE.start.table.combiTimeTable.nextTimeEvent,$whenCondition4,stateGraphRoot.activeSteps,valve3.valveControl,valve2.valveControl,shut.on,$PRE.shut.on,shut.reset[2],shut.reset[1],stop.on,$PRE.stop.on,stop.reset[2],stop.reset[1],start.on,$PRE.start.on,start.reset[2],start.reset[1],tankController.T6.enableFire,tankController.T6.localCondition,tankController.emptyTanks.oldActive,$PRE.tankController.emptyTanks.oldActive,tankController.emptyTanks.newActive,$PRE.tankController.emptyTanks.newActive,tankController.emptyTanks.localActive,$PRE.tankController.emptyTanks.localActive,tankController.emptyTanks.active,tankController.T5.enableFire,tankController.T4.enableFire,tankController.s2.oldActive,$PRE.tankController.s2.oldActive,tankController.s2.newActive,$PRE.tankController.s2.newActive,tankController.s2.outPort[2].available,tankController.s2.localActive,$PRE.tankController.s2.localActive,tankController.s2.active,tankController.T3.enableFire,tankController.T2.enableFire,tankController.T2.localCondition,tankController.T1.enableFire,tankController.makeProduct.T4.t_start,$PRE.tankController.makeProduct.T4.t_start,tankController.makeProduct.T4.fire,tankController.makeProduct.T4.enableFire,tankController.makeProduct.wait2.oldActive,$PRE.tankController.makeProduct.wait2.oldActive,tankController.makeProduct.wait2.newActive,$PRE.tankController.makeProduct.wait2.newActive,tankController.makeProduct.wait2.localActive,$PRE.tankController.makeProduct.wait2.localActive,tankController.makeProduct.wait2.active,tankController.makeProduct.T2.t_start,$PRE.tankController.makeProduct.T2.t_start,tankController.makeProduct.T2.fire,tankController.makeProduct.T2.enableFire,tankController.makeProduct.wait1.oldActive,$PRE.tankController.makeProduct.wait1.oldActive,tankController.makeProduct.wait1.newActive,$PRE.tankController.makeProduct.wait1.newActive,tankController.makeProduct.wait1.localActive,$PRE.tankController.makeProduct.wait1.localActive,tankController.makeProduct.wait1.active,tankController.makeProduct.emptyTank2.oldActive,$PRE.tankController.makeProduct.emptyTank2.oldActive,tankController.makeProduct.emptyTank2.newActive,$PRE.tankController.makeProduct.emptyTank2.newActive,tankController.makeProduct.emptyTank2.localActive,$PRE.tankController.makeProduct.emptyTank2.localActive,tankController.makeProduct.emptyTank2.active,tankController.makeProduct.T3.enableFire,tankController.makeProduct.T3.localCondition,tankController.makeProduct.fillTank2.oldActive,$PRE.tankController.makeProduct.fillTank2.oldActive,tankController.makeProduct.fillTank2.newActive,$PRE.tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.fillTank2.localActive,$PRE.tankController.makeProduct.fillTank2.localActive,tankController.makeProduct.fillTank2.active,tankController.makeProduct.T1.enableFire,tankController.makeProduct.T1.localCondition,tankController.makeProduct.fillTank1.oldActive,$PRE.tankController.makeProduct.fillTank1.oldActive,tankController.makeProduct.fillTank1.newActive,$PRE.tankController.makeProduct.fillTank1.newActive,tankController.makeProduct.fillTank1.localActive,$PRE.tankController.makeProduct.fillTank1.localActive,tankController.makeProduct.fillTank1.active,tankController.makeProduct.activeSteps,tankController.makeProduct.newActive,$PRE.tankController.makeProduct.newActive,tankController.makeProduct.active,tankController.makeProduct.stateGraphRoot.resume,tankController.makeProduct.stateGraphRoot.suspend,tankController.s1.oldActive,$PRE.tankController.s1.oldActive,tankController.s1.newActive,$PRE.tankController.s1.newActive,tankController.s1.inPort[2].occupied,tankController.s1.localActive,$PRE.tankController.s1.localActive,tankController.s1.active,$whenCondition1,$whenCondition2,$whenCondition3,shut.pre_reset[2],shut.pre_reset[1],shut.table.combiTimeTable.nextTimeEventScaled,$PRE.shut.table.combiTimeTable.nextTimeEventScaled,shut.table.combiTimeTable.nextTimeEvent,shut.table.y,$PRE.shut.table.y,$PRE.shut.reset[2],$PRE.shut.reset[1],$whenCondition9,$whenCondition7,$whenCondition8,stop.pre_reset[2],stop.pre_reset[1],stop.table.combiTimeTable.nextTimeEventScaled,$PRE.stop.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEvent,stop.table.y,$PRE.stop.table.y,$PRE.stop.reset[2],$PRE.stop.reset[1],$whenCondition12,$whenCondition10,$whenCondition11,start.pre_reset[2],start.pre_reset[1],start.table.combiTimeTable.nextTimeEventScaled,$PRE.start.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEvent,start.table.y,$PRE.start.table.y,$PRE.start.reset[2],$PRE.start.reset[1],$whenCondition15,$whenCondition13,$whenCondition14,tankController.makeProduct.T1.t_start,$PRE.tankController.makeProduct.T1.t_start,tankController.makeProduct.T3.t_start,$PRE.tankController.makeProduct.T3.t_start,tankController.T1.t_start,$PRE.tankController.T1.t_start,tankController.T2.t_start,$PRE.tankController.T2.t_start,tankController.T3.t_start,$PRE.tankController.T3.t_start,tankController.T4.t_start,$PRE.tankController.T4.t_start,tankController.T5.t_start,$PRE.tankController.T5.t_start,tankController.T6.t_start,$PRE.tankController.T6.t_start,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 (214): * Single equations (assignments): 211 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006228/0.03904, allocations: 0.6459 MB / 361.1 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000134/0.03917, allocations: 107.3 kB / 361.2 MB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001325/0.0405, allocations: 1.348 MB / 362.6 MB, free: 9.375 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.808e-06/0.04051, allocations: 16 kB / 362.6 MB, free: 9.359 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.04051, allocations: 0 / 362.6 MB, free: 9.359 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.828e-06/0.04052, allocations: 7.984 kB / 362.6 MB, free: 9.352 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002642/0.04317, allocations: 2.528 MB / 365.1 MB, free: 6.746 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.04317, allocations: 4 kB / 365.1 MB, free: 6.742 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001981/0.04337, allocations: 83.81 kB / 365.2 MB, free: 6.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.917e-06/0.04338, allocations: 8.281 kB / 365.2 MB, free: 6.652 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.169e-05/0.04343, allocations: 39.97 kB / 365.2 MB, free: 6.613 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-06/0.04344, allocations: 8 kB / 365.3 MB, free: 6.605 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.04344, allocations: 7.875 kB / 365.3 MB, free: 6.598 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002172/0.04561, allocations: 2.177 MB / 367.4 MB, free: 4.324 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003319/0.04594, allocations: 238.9 kB / 367.7 MB, free: 4.09 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001268/0.04607, allocations: 55.98 kB / 367.7 MB, free: 4.035 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002073/0.04628, allocations: 47.95 kB / 367.8 MB, free: 3.988 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002102/0.04649, allocations: 156.7 kB / 367.9 MB, free: 3.836 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.767e-05/0.04656, allocations: 55.97 kB / 368 MB, free: 3.781 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000509/0.04706, allocations: 0.581 MB / 368.6 MB, free: 3.207 MB / 330.7 MB Notification: Performance of sort global known variables: time 2e-07/0.04706, allocations: 0 / 368.6 MB, free: 3.207 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000776/0.04784, allocations: 343.2 kB / 368.9 MB, free: 2.871 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (tank1.level,tank2.level) * Number of discrete variables: 112 (tankController.T6.t_start,tankController.T5.t_start,tankController.T4.t_start,tankController.T3.t_start,tankController.T2.t_start,tankController.T1.t_start,tankController.makeProduct.T3.t_start,tankController.makeProduct.T1.t_start,tankController.makeProduct.stateGraphRoot.suspend,tankController.emptyTanks.active,tankController.s2.active,tankController.makeProduct.T4.enableFire,tankController.makeProduct.wait2.active,tankController.makeProduct.T2.enableFire,tankController.makeProduct.wait1.active,tankController.makeProduct.emptyTank2.active,tankController.makeProduct.fillTank2.active,tankController.makeProduct.fillTank1.localActive,tankController.s1.active,$cse4,$cse5,$cse6,$cse7,$cse8,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition8,$whenCondition7,$whenCondition9,$whenCondition11,$whenCondition10,$whenCondition12,$whenCondition14,$whenCondition13,$whenCondition15,tankController.s1.localActive,tankController.s1.inPort[2].occupied,tankController.s1.newActive,tankController.s1.oldActive,tankController.makeProduct.stateGraphRoot.resume,tankController.makeProduct.active,tankController.makeProduct.newActive,tankController.makeProduct.activeSteps,tankController.makeProduct.fillTank1.active,tankController.makeProduct.fillTank1.newActive,tankController.makeProduct.fillTank1.oldActive,tankController.makeProduct.T1.localCondition,tankController.makeProduct.T1.enableFire,tankController.makeProduct.fillTank2.localActive,tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.fillTank2.oldActive,tankController.makeProduct.T3.localCondition,tankController.makeProduct.T3.enableFire,tankController.makeProduct.emptyTank2.localActive,tankController.makeProduct.emptyTank2.newActive,tankController.makeProduct.emptyTank2.oldActive,tankController.makeProduct.wait1.localActive,tankController.makeProduct.wait1.newActive,tankController.makeProduct.wait1.oldActive,tankController.makeProduct.T2.fire,tankController.makeProduct.T2.t_start,tankController.makeProduct.wait2.localActive,tankController.makeProduct.wait2.newActive,tankController.makeProduct.wait2.oldActive,tankController.makeProduct.T4.fire,tankController.makeProduct.T4.t_start,tankController.T1.enableFire,tankController.T2.localCondition,tankController.T2.enableFire,tankController.T3.enableFire,tankController.s2.localActive,tankController.s2.outPort[2].available,tankController.s2.newActive,tankController.s2.oldActive,tankController.T4.enableFire,tankController.T5.enableFire,tankController.emptyTanks.localActive,tankController.emptyTanks.newActive,tankController.emptyTanks.oldActive,tankController.T6.localCondition,tankController.T6.enableFire,start.reset[1],start.reset[2],start.on,start.table.y,start.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEventScaled,start.pre_reset[1],start.pre_reset[2],stop.reset[1],stop.reset[2],stop.on,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEventScaled,stop.pre_reset[1],stop.pre_reset[2],shut.reset[1],shut.reset[2],shut.on,shut.table.y,shut.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEventScaled,shut.pre_reset[1],shut.pre_reset[2],valve2.valveControl,valve3.valveControl,stateGraphRoot.activeSteps) * Number of discrete states: 50 (shut.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEvent,tankController.s1.newActive,tankController.makeProduct.fillTank1.newActive,tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.emptyTank2.newActive,tankController.makeProduct.wait1.newActive,tankController.makeProduct.wait2.newActive,tankController.makeProduct.newActive,tankController.s2.newActive,tankController.emptyTanks.newActive,shut.table.combiTimeTable.nextTimeEventScaled,$whenCondition9,shut.on,$whenCondition8,$whenCondition7,shut.pre_reset[2],shut.pre_reset[1],shut.reset[1],shut.reset[2],shut.table.y,stop.table.combiTimeTable.nextTimeEventScaled,$whenCondition12,stop.on,$whenCondition11,$whenCondition10,stop.pre_reset[2],stop.pre_reset[1],stop.reset[1],stop.reset[2],stop.table.y,start.table.combiTimeTable.nextTimeEventScaled,$whenCondition15,start.on,$whenCondition14,$whenCondition13,start.pre_reset[2],start.pre_reset[1],start.reset[1],start.reset[2],start.table.y,tankController.makeProduct.T1.t_start,tankController.makeProduct.T3.t_start,tankController.T1.t_start,tankController.T2.t_start,tankController.T3.t_start,tankController.T4.t_start,tankController.T5.t_start,tankController.T6.t_start) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 99 * 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.0008717/0.04871, allocations: 0.5914 MB / 369.5 MB, free: 2.449 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001612/0.05032, allocations: 1.579 MB / 371.1 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.05033, allocations: 0 / 371.1 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006969/0.05102, allocations: 0.833 MB / 371.9 MB, free: 15.91 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006407/0.05167, allocations: 240.3 kB / 372.1 MB, free: 15.69 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0029/0.05457, allocations: 2.426 MB / 374.6 MB, free: 13.18 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003894/0.05495, allocations: 0.5644 MB / 375.1 MB, free: 12.58 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002693/0.05522, allocations: 117 kB / 375.2 MB, free: 12.46 MB / 346.7 MB Notification: Performance of SimCode: time 1.092e-06/0.05522, allocations: 0 / 375.2 MB, free: 12.46 MB / 346.7 MB Notification: Performance of Templates: time 0.01812/0.07334, allocations: 18.62 MB / 393.9 MB, free: 9.859 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.pipe ; mkfifo Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.pipe >> ../files/Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.sim & ./Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/StateGraph/Examples/ControlledTanks/ControlledTanks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.211082147434354]