Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.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.0008822/0.0008822, allocations: 82.59 kB / 21.43 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009212/0.0009212, allocations: 170 kB / 24.82 MB, free: 9.254 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9525/0.9525, allocations: 177 MB / 205.1 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|tank1.level|tank1.medium.T|tank1.aboveLevel.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2") translateModel(Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|tank1.level|tank1.medium.T|tank1.aboveLevel.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 273.3 MB, free: 1.234 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.849e-05/3.063e-05, allocations: 5.266 kB / 273.3 MB, free: 1.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2): time 0.0111/0.01113, allocations: 8.684 MB / 282 MB, free: 8.5 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009505/0.02064, allocations: 6.026 MB / 288 MB, free: 2.461 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001055/0.02169, allocations: 39.62 kB / 288.1 MB, free: 2.422 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008199/0.02251, allocations: 270.1 kB / 288.3 MB, free: 2.156 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003055/0.02557, allocations: 1.228 MB / 289.6 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1187/0.1443, allocations: 2.225 MB / 291.8 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002745/0.147, allocations: 2.563 MB / 294.4 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008786/0.1479, allocations: 0.6196 MB / 295 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002013/0.1499, allocations: 1.324 MB / 296.3 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001246/0.1512, allocations: 0.8906 MB / 297.2 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002451/0.1514, allocations: 90.62 kB / 297.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001712/0.1531, allocations: 0.9612 MB / 298.2 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003191/0.1535, allocations: 390.3 kB / 298.6 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004959/0.154, allocations: 388 kB / 299 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002299/0.1563, allocations: 1.718 MB / 300.7 MB, free: 15.11 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1563, allocations: 0.7812 kB / 300.7 MB, free: 15.11 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1563, allocations: 0 / 300.7 MB, free: 15.11 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.727e-05/0.1563, allocations: 0.8125 kB / 300.7 MB, free: 15.11 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: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.001924/0.1582, allocations: 1.457 MB / 302.2 MB, free: 14.3 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.1582, allocations: 13.58 kB / 302.2 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003648/0.1586, allocations: 183.9 kB / 302.4 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007686/0.1594, allocations: 0.6609 MB / 303 MB, free: 13.97 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.911e-05/0.1594, allocations: 46.81 kB / 303.1 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.964e-05/0.1595, allocations: 76.23 kB / 303.2 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007751/0.1603, allocations: 1.031 MB / 304.2 MB, free: 13.15 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/0.1603, allocations: 2.812 kB / 304.2 MB, free: 13.15 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.654e-05/0.1604, allocations: 32.47 kB / 304.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.771e-05/0.1604, allocations: 66.53 kB / 304.3 MB, free: 13.13 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005282/0.161, allocations: 367.2 kB / 304.6 MB, free: 13.1 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002866/0.1638, allocations: 3.316 MB / 308 MB, free: 10.63 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003296/0.1642, allocations: 286 kB / 308.2 MB, free: 10.52 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.1643, allocations: 98.09 kB / 308.3 MB, free: 10.49 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000922/0.1652, allocations: 0.9252 MB / 309.3 MB, free: 9.789 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.789e-05/0.1652, allocations: 44.69 kB / 309.3 MB, free: 9.742 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 1.763e-06/0.1652, allocations: 0 / 309.3 MB, free: 9.742 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.001627/0.1668, allocations: 0.975 MB / 310.3 MB, free: 9.207 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/0.1669, allocations: 161.2 kB / 310.4 MB, free: 9.02 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004239/0.1673, allocations: 0.7196 MB / 311.2 MB, free: 8.66 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.669e-05/0.1673, allocations: 37.27 kB / 311.2 MB, free: 8.621 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001955/0.1675, allocations: 0.5509 MB / 311.7 MB, free: 8.16 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.771e-05/0.1676, allocations: 179.6 kB / 311.9 MB, free: 8.02 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001608/0.1678, allocations: 189.9 kB / 312.1 MB, free: 7.918 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.417e-05/0.1679, allocations: 0.5794 MB / 312.7 MB, free: 7.395 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/0.168, allocations: 106 kB / 312.8 MB, free: 7.352 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002436/0.1682, allocations: 0.619 MB / 313.4 MB, free: 6.656 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003929/0.1686, allocations: 0.6272 MB / 314 MB, free: 6.082 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.1686, allocations: 3.312 kB / 314 MB, free: 6.082 MB / 266.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.0007044/0.1693, allocations: 0.6623 MB / 314.7 MB, free: 5.812 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.1694, allocations: 19.92 kB / 314.7 MB, free: 5.793 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.1694, allocations: 11.38 kB / 314.7 MB, free: 5.785 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009907/0.1704, allocations: 314.4 kB / 315 MB, free: 5.473 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003051/0.1707, allocations: 172.3 kB / 315.2 MB, free: 5.316 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004232/0.1711, allocations: 1.689 MB / 316.9 MB, free: 3.578 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003494/0.1714, allocations: 43.27 kB / 316.9 MB, free: 3.539 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.961e-05/0.1715, allocations: 38.89 kB / 317 MB, free: 3.504 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002132/0.1717, allocations: 236.8 kB / 317.2 MB, free: 3.266 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002191/0.1719, allocations: 0.6358 MB / 317.8 MB, free: 2.438 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003618/0.1723, allocations: 0.6275 MB / 318.5 MB, free: 1.695 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.887e-06/0.1723, allocations: 5.797 kB / 318.5 MB, free: 1.691 MB / 266.7 MB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.0005909/0.1729, allocations: 0.6654 MB / 319.1 MB, free: 1.07 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.1729, allocations: 15.12 kB / 319.2 MB, free: 1.059 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.1729, allocations: 8 kB / 319.2 MB, free: 1.051 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008439/0.1737, allocations: 279 kB / 319.4 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002873/0.174, allocations: 182.2 kB / 319.6 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005744/0.1746, allocations: 1.669 MB / 321.3 MB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000328/0.1749, allocations: 48.78 kB / 321.3 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.246e-05/0.175, allocations: 36.88 kB / 321.4 MB, free: 14.81 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 6 (tank1.ports_m_flow_out[1],tank1.ports_m_flow_out[2],tank1.aboveLevel[2],$PRE.tank1.aboveLevel[2],tank1.aboveLevel[1],$PRE.tank1.aboveLevel[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001968/0.1752, allocations: 329.3 kB / 321.7 MB, free: 14.49 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.1753, allocations: 107.4 kB / 321.8 MB, free: 14.39 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006738/0.1759, allocations: 474.8 kB / 322.3 MB, free: 13.92 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/0.1759, allocations: 7.938 kB / 322.3 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-06/0.1759, allocations: 0 / 322.3 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.176, allocations: 0 / 322.3 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001195/0.1771, allocations: 0.9555 MB / 323.2 MB, free: 12.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.1772, allocations: 2.906 kB / 323.2 MB, free: 12.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001808/0.1773, allocations: 82.31 kB / 323.3 MB, free: 12.91 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005622/0.1779, allocations: 230.1 kB / 323.5 MB, free: 12.68 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.975e-05/0.1779, allocations: 15.98 kB / 323.5 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006112/0.1785, allocations: 1.699 MB / 325.2 MB, free: 10.92 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.1785, allocations: 4 kB / 325.2 MB, free: 10.91 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005859/0.1791, allocations: 0.629 MB / 325.9 MB, free: 10.27 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.052e-05/0.1792, allocations: 75.41 kB / 325.9 MB, free: 10.2 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.677e-05/0.1793, allocations: 19.89 kB / 326 MB, free: 10.18 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002157/0.1795, allocations: 27.97 kB / 326 MB, free: 10.15 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.768e-05/0.1796, allocations: 40.52 kB / 326 MB, free: 10.11 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-05/0.1796, allocations: 27.98 kB / 326.1 MB, free: 10.08 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002676/0.1799, allocations: 422.3 kB / 326.5 MB, free: 9.703 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1799, allocations: 0 / 326.5 MB, free: 9.703 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001309/0.1812, allocations: 0.6084 MB / 327.1 MB, free: 9.094 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (tank1.level,tank1.medium.T) * Number of discrete variables: 2 (tank1.aboveLevel[1],tank1.aboveLevel[2]) * Number of discrete states: 2 (tank1.aboveLevel[1],tank1.aboveLevel[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006182/0.1818, allocations: 442.6 kB / 327.5 MB, free: 8.676 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000937/0.1827, allocations: 0.7175 MB / 328.2 MB, free: 8.047 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.1827, allocations: 8.547 kB / 328.2 MB, free: 8.039 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002181/0.1829, allocations: 182.5 kB / 328.4 MB, free: 7.867 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008083/0.1837, allocations: 353.8 kB / 328.8 MB, free: 7.555 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002002/0.1858, allocations: 1.439 MB / 330.2 MB, free: 6.098 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001284/0.1859, allocations: 219.8 kB / 330.4 MB, free: 5.863 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004277/0.1863, allocations: 162.5 kB / 330.6 MB, free: 5.703 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005336/0.1868, allocations: 393.9 kB / 331 MB, free: 5.316 MB / 282.7 MB Notification: Performance of SimCode: time 1.002e-06/0.1868, allocations: 0 / 331 MB, free: 5.316 MB / 282.7 MB Notification: Performance of Templates: time 0.02476/0.2116, allocations: 21.54 MB / 352.5 MB, free: 116 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.pipe ; mkfifo Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.pipe >> ../files/Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.sim & ./Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Fluid/Examples/AST_BatchPlant/Test/TankWithEmptyingPipe2/TankWithEmptyingPipe2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.258346046321094]