Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.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.00157/0.00157, allocations: 88.62 kB / 20.95 MB, free: 3.477 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.001523/0.001523, allocations: 145.5 kB / 24.25 MB, free: 188 kB / 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 1.453/1.453, allocations: 173.4 MB / 200.8 MB, free: 9.301 MB / 186.7 MB " [Timeout remaining time 178] 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.Mechanics.MultiBody.Examples.Elementary.PointGravity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.|body2.frame_a.r_0.1.|body2.frame_a.r_0.2.|body2.frame_a.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body2.w_a.1.|body2.w_a.2.|body2.w_a.3.",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.|body2.frame_a.r_0.1.|body2.frame_a.r_0.2.|body2.frame_a.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body2.w_a.1.|body2.w_a.2.|body2.w_a.3.",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0 / 267.3 MB, free: 6.711 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.865e-05/3.038e-05, allocations: 2.312 kB / 267.3 MB, free: 6.707 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.008941/0.008971, allocations: 6.221 MB / 273.5 MB, free: 460 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007057/0.01603, allocations: 2.932 MB / 276.5 MB, free: 13.51 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001046/0.01708, allocations: 35.88 kB / 276.5 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001895/0.01897, allocations: 0.6923 MB / 277.2 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003859/0.02283, allocations: 1.47 MB / 278.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001234/0.02406, allocations: 0.5651 MB / 279.2 MB, free: 10.73 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005235/0.0293, allocations: 3.72 MB / 283 MB, free: 7.012 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001306/0.0306, allocations: 0.6739 MB / 283.6 MB, free: 6.324 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002818/0.03342, allocations: 1.305 MB / 284.9 MB, free: 5.016 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004004/0.03742, allocations: 1.602 MB / 286.5 MB, free: 3.41 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000589/0.03801, allocations: 136 kB / 286.7 MB, free: 3.277 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002773/0.04079, allocations: 0.9124 MB / 287.6 MB, free: 2.363 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001993/0.04278, allocations: 1.176 MB / 288.8 MB, free: 1.184 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001563/0.04434, allocations: 0.6812 MB / 289.4 MB, free: 0.5 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1585/0.2028, allocations: 4.107 MB / 293.6 MB, free: 18.95 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.2028, allocations: 1.25 kB / 293.6 MB, free: 18.95 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2028, allocations: 0 / 293.6 MB, free: 18.95 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001093/0.203, allocations: 0.75 kB / 293.6 MB, free: 18.95 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: 911 * Number of variables: 911 Notification: Performance of Generate backend data structure: time 0.008526/0.2115, allocations: 3.313 MB / 296.9 MB, free: 17.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.2115, allocations: 9.094 kB / 296.9 MB, free: 17.66 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009183/0.2207, allocations: 2.398 MB / 299.3 MB, free: 17.47 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003454/0.2242, allocations: 1.544 MB / 300.8 MB, free: 17.11 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.258e-05/0.2243, allocations: 108.5 kB / 300.9 MB, free: 17.11 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008937/0.2251, allocations: 310.5 kB / 301.2 MB, free: 17.1 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.013/0.2381, allocations: 8.258 MB / 309.5 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.235e-05/0.2382, allocations: 38.12 kB / 309.5 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002796/0.2385, allocations: 78.33 kB / 309.6 MB, free: 13.42 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001845/0.2403, allocations: 1.401 MB / 311 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0148/0.2551, allocations: 9.653 MB / 320.7 MB, free: 3.859 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04225/0.2974, allocations: 29.38 MB / 350 MB, free: 5.969 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01392/0.3113, allocations: 3.988 MB / 354 MB, free: 1.957 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003586/0.3149, allocations: 2.078 MB / 356.1 MB, free: 15.86 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.536e-05/0.315, allocations: 16 kB / 356.1 MB, free: 15.84 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.401e-05/0.315, allocations: 54.25 kB / 356.2 MB, free: 15.79 MB / 314.7 MB Notification: Performance of pre-optimization done (n=122): time 3.978e-06/0.315, allocations: 0 / 356.2 MB, free: 15.79 MB / 314.7 MB Notification: Performance of matching and sorting (n=136): time 0.05545/0.3705, allocations: 18.39 MB / 374.6 MB, free: 13.34 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003774/0.3743, allocations: 2.985 MB / 377.5 MB, free: 10.09 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007348/0.3816, allocations: 2.998 MB / 380.5 MB, free: 7.074 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008514/0.3825, allocations: 44.2 kB / 380.6 MB, free: 7.027 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002643/0.3851, allocations: 2.158 MB / 382.7 MB, free: 4.891 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00168/0.3868, allocations: 0.5908 MB / 383.3 MB, free: 4.309 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002937/0.3897, allocations: 1.011 MB / 384.3 MB, free: 3.289 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001934/0.3899, allocations: 301.1 kB / 384.6 MB, free: 2.992 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007681/0.3976, allocations: 2.703 MB / 387.3 MB, free: 288 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01241/0.41, allocations: 5.646 MB / 393 MB, free: 9.164 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01647/0.4265, allocations: 8.692 MB / 401.7 MB, free: 15.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001263/0.4266, allocations: 32 kB / 401.7 MB, free: 14.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.03854/0.4651, allocations: 12.15 MB / 413.9 MB, free: 2.816 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.435e-05/0.4652, allocations: 48 kB / 413.9 MB, free: 2.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02515/0.4904, allocations: 7.092 MB / 421 MB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0239/0.5143, allocations: 4.556 MB / 425.6 MB, free: 7.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005018/0.5193, allocations: 1.268 MB / 426.8 MB, free: 5.801 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1377/0.6569, allocations: 11.94 MB / 438.8 MB, free: 121.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006087/0.663, allocations: 0.7146 MB / 439.5 MB, free: 121.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007881/0.6638, allocations: 320.7 kB / 439.8 MB, free: 121.5 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 475 * Number of states: 0 () * Number of discrete variables: 18 (body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (592): * Single equations (assignments): 577 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(4,100.0%), (3,100.0%), (4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 2 systems {4, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002299/0.6661, allocations: 1.413 MB / 441.2 MB, free: 121.4 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007272/0.6669, allocations: 283.8 kB / 441.5 MB, free: 121.4 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008024/0.6677, allocations: 391.8 kB / 441.9 MB, free: 121.1 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01025/0.6779, allocations: 4.992 MB / 446.9 MB, free: 119.9 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.654e-05/0.6779, allocations: 5.875 kB / 446.9 MB, free: 119.9 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.391e-05/0.6779, allocations: 7.891 kB / 446.9 MB, free: 119.9 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006973/0.6849, allocations: 4.688 MB / 451.6 MB, free: 118.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.6849, allocations: 3.969 kB / 451.6 MB, free: 118.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001634/0.6866, allocations: 367 kB / 451.9 MB, free: 118.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007831/0.6944, allocations: 2.398 MB / 454.3 MB, free: 117.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003311/0.6947, allocations: 42.34 kB / 454.4 MB, free: 117.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007591/0.7023, allocations: 8.939 MB / 463.3 MB, free: 110.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001334/0.7036, allocations: 2.819 MB / 466.1 MB, free: 107.7 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01458/0.7182, allocations: 8.767 MB / 474.9 MB, free: 99.04 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008188/0.719, allocations: 275.1 kB / 475.2 MB, free: 98.91 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000445/0.7195, allocations: 39.98 kB / 475.2 MB, free: 98.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002318/0.7218, allocations: 391.2 kB / 475.6 MB, free: 98.49 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004436/0.7222, allocations: 114.9 kB / 475.7 MB, free: 98.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001772/0.7224, allocations: 51.69 kB / 475.7 MB, free: 98.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002418/0.7248, allocations: 1.766 MB / 477.5 MB, free: 96.56 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.7248, allocations: 0 / 477.5 MB, free: 96.56 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004708/0.7295, allocations: 1.152 MB / 478.7 MB, free: 95.42 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 24 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],body2.frame_a.r_0[1],body2.frame_a.r_0[2],body2.frame_a.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.w_a[1],body2.w_a[2],body2.w_a[3],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 81 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(3,100.0%), (4,100.0%), (3,100.0%), (4,100.0%)} * Non-linear Jacobian (size): 2 systems {4, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000539/0.7301, allocations: 189 kB / 478.8 MB, free: 95.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01049/0.7406, allocations: 6.969 MB / 485.8 MB, free: 88.36 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.251e-06/0.7406, allocations: 4 kB / 485.8 MB, free: 88.35 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005353/0.7459, allocations: 3.253 MB / 489.1 MB, free: 85.04 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002743/0.7487, allocations: 330.1 kB / 489.4 MB, free: 84.73 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01103/0.7597, allocations: 7.941 MB / 497.3 MB, free: 76.74 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00181/0.7615, allocations: 1.725 MB / 499.1 MB, free: 74.98 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003666/0.7652, allocations: 1.652 MB / 0.489 GB, free: 73.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009423/0.7661, allocations: 196.4 kB / 0.4892 GB, free: 73.13 MB / 378.7 MB Notification: Performance of SimCode: time 1.483e-06/0.7661, allocations: 0 / 0.4892 GB, free: 73.13 MB / 378.7 MB Notification: Performance of Templates: time 0.05984/0.826, allocations: 45.07 MB / 0.5332 GB, free: 28.29 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravity/PointGravity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.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: 6.43927369103767]