Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.GearConstraint.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.001013/0.001013, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.001266/0.001266, allocations: 169.2 kB / 24.84 MB, free: 9.297 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.052/1.052, allocations: 158.6 MB / 186.7 MB, free: 2.77 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1488/0.1488, allocations: 32.37 MB / 271.5 MB, free: 14.54 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.MultiBody.Joints.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.GearConstraint") translateModel(ModelicaTest.MultiBody.Joints.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.GearConstraint") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 348.9 MB, free: 9.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.095e-05/3.28e-05, allocations: 2.312 kB / 348.9 MB, free: 9.156 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.GearConstraint): time 0.01344/0.01348, allocations: 18.16 MB / 367.1 MB, free: 6.918 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01205/0.02553, allocations: 5.307 MB / 372.4 MB, free: 1.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004251/0.02978, allocations: 139.4 kB / 372.5 MB, free: 1.453 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006604/0.03638, allocations: 5.1 MB / 377.6 MB, free: 12.34 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009258/0.04564, allocations: 3.414 MB / 381 MB, free: 8.906 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002909/0.04855, allocations: 1.006 MB / 382.1 MB, free: 7.898 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01116/0.05972, allocations: 8.965 MB / 391 MB, free: 14.91 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009361/0.06908, allocations: 6.045 MB / 397.1 MB, free: 8.797 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01115/0.08022, allocations: 5.247 MB / 402.3 MB, free: 3.539 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007003/0.08723, allocations: 4.52 MB / 406.8 MB, free: 15.01 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002686/0.08991, allocations: 0.6562 MB / 407.5 MB, free: 14.35 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004192/0.09411, allocations: 1.49 MB / 409 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005264/0.09937, allocations: 4.079 MB / 413.1 MB, free: 8.77 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006583/0.106, allocations: 2.508 MB / 415.6 MB, free: 6.254 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01591/0.1219, allocations: 8.85 MB / 424.4 MB, free: 13.37 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/0.1219, allocations: 0 / 424.4 MB, free: 13.37 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1219, allocations: 0 / 424.4 MB, free: 13.37 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0008278/0.1227, allocations: 0 / 424.4 MB, free: 13.37 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3112 * Number of variables: 3112 Notification: Performance of Generate backend data structure: time 0.01681/0.1395, allocations: 9.648 MB / 434.1 MB, free: 3.629 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.1395, allocations: 12.03 kB / 434.1 MB, free: 3.617 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3027/0.4423, allocations: 3.774 MB / 437.8 MB, free: 82.84 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007666/0.4499, allocations: 3.912 MB / 441.8 MB, free: 82.58 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003197/0.4502, allocations: 455.8 kB / 442.2 MB, free: 82.57 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001684/0.4519, allocations: 0.5884 MB / 442.8 MB, free: 82.56 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01565/0.4676, allocations: 10.27 MB / 453.1 MB, free: 77.91 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001883/0.4678, allocations: 70.98 kB / 453.1 MB, free: 77.86 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005865/0.4683, allocations: 284.7 kB / 453.4 MB, free: 77.67 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002809/0.4712, allocations: 3.847 MB / 457.3 MB, free: 74.22 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0119/0.4831, allocations: 4.865 MB / 462.1 MB, free: 69.38 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06667/0.5497, allocations: 76.1 MB / 0.5256 GB, free: 8.059 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007374/0.5571, allocations: 2.892 MB / 0.5284 GB, free: 5.129 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001938/0.559, allocations: 0.9922 MB / 0.5294 GB, free: 4.117 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01429/0.5733, allocations: 7.407 MB / 0.5366 GB, free: 12.91 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.367e-05/0.5734, allocations: 63.39 kB / 0.5367 GB, free: 12.83 MB / 394.8 MB Notification: Performance of pre-optimization done (n=354): time 7.304e-06/0.5734, allocations: 0 / 0.5367 GB, free: 12.83 MB / 394.8 MB Notification: Performance of matching and sorting (n=389): time 0.04154/0.6149, allocations: 15.96 MB / 0.5523 GB, free: 12.86 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.496e-05/0.615, allocations: 218.2 kB / 0.5525 GB, free: 12.61 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006692/0.6217, allocations: 5.889 MB / 0.5582 GB, free: 6.672 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007092/0.6224, allocations: 77.64 kB / 0.5583 GB, free: 6.59 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003885/0.6263, allocations: 6.381 MB / 0.5646 GB, free: 156 kB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002157/0.6285, allocations: 1.582 MB / 0.5661 GB, free: 14.56 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003157/0.6316, allocations: 2.432 MB / 0.5685 GB, free: 12.12 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.6317, allocations: 480.8 kB / 0.5689 GB, free: 11.64 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002122/0.6339, allocations: 1.15 MB / 0.5701 GB, free: 10.49 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007995/0.6419, allocations: 10.56 MB / 0.5804 GB, free: 11.72 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1938/0.8357, allocations: 12.7 MB / 0.5928 GB, free: 124.5 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003599/0.836, allocations: 65.34 kB / 0.5928 GB, free: 124.5 MB / 442.8 MB Notification: Performance of matching and sorting (n=1460) (initialization): time 0.01968/0.8557, allocations: 8.805 MB / 0.6014 GB, free: 122.8 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001298/0.8558, allocations: 102.3 kB / 0.6015 GB, free: 122.8 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002848/0.8561, allocations: 217.6 kB / 0.6017 GB, free: 122.8 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001347/0.8575, allocations: 0.5992 MB / 0.6023 GB, free: 122.8 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005562/0.863, allocations: 2.408 MB / 0.6047 GB, free: 122.6 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004573/0.8676, allocations: 9.12 MB / 0.6136 GB, free: 114.8 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00666/0.8743, allocations: 453.3 kB / 0.614 GB, free: 114.7 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00172/0.876, allocations: 0.5484 MB / 0.6146 GB, free: 114.7 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1000 * Number of states: 0 () * Number of discrete variables: 51 (fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame2.color_x[3],fixedFrame2.color_x[2],fixedFrame2.color_x[1],fixed.color[3],fixed.color[2],fixed.color[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],cyl2.color[3],cyl2.color[2],cyl2.color[1],cyl2.body.sphereColor[3],cyl2.body.sphereColor[2],cyl2.body.sphereColor[1],cyl1.color[3],cyl1.color[2],cyl1.color[1],cyl1.body.sphereColor[3],cyl1.body.sphereColor[2],cyl1.body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],gearConstraint.fixedTranslation2.color[3],gearConstraint.fixedTranslation2.color[2],gearConstraint.fixedTranslation2.color[1],gearConstraint.fixedTranslation1.color[3],gearConstraint.fixedTranslation1.color[2],gearConstraint.fixedTranslation1.color[1],gearConstraint.actuatedRevolute_b.cylinderColor[3],gearConstraint.actuatedRevolute_b.cylinderColor[2],gearConstraint.actuatedRevolute_b.cylinderColor[1],gearConstraint.actuatedRevolute_a.cylinderColor[3],gearConstraint.actuatedRevolute_a.cylinderColor[2],gearConstraint.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1364): * Single equations (assignments): 1351 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (2,13,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004658/0.8807, allocations: 1.043 MB / 0.6156 GB, free: 114.3 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001481/0.8821, allocations: 0.6595 MB / 0.6162 GB, free: 114.3 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004141/0.8863, allocations: 2.454 MB / 0.6186 GB, free: 114.1 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.362e-05/0.8863, allocations: 39.5 kB / 0.6186 GB, free: 114.1 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.487e-05/0.8863, allocations: 7.875 kB / 0.6187 GB, free: 114.1 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-05/0.8864, allocations: 15.05 kB / 0.6187 GB, free: 114.1 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01764/0.904, allocations: 10.13 MB / 0.6286 GB, free: 110.7 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.819e-05/0.904, allocations: 16 kB / 0.6286 GB, free: 110.7 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001368/0.9054, allocations: 499.5 kB / 0.6291 GB, free: 110.3 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000687/0.9061, allocations: 295.9 kB / 0.6293 GB, free: 110 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001792/0.9062, allocations: 75.75 kB / 0.6294 GB, free: 110 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003193/0.9094, allocations: 8.005 MB / 0.6372 GB, free: 101.8 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.554e-06/0.9094, allocations: 19.94 kB / 0.6372 GB, free: 101.8 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004906/0.9144, allocations: 4.156 MB / 0.6413 GB, free: 97.55 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001963/0.9163, allocations: 0.8569 MB / 0.6421 GB, free: 96.79 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008281/0.9171, allocations: 75.75 kB / 0.6422 GB, free: 96.72 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001431/0.9186, allocations: 71.75 kB / 0.6423 GB, free: 96.66 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003969/0.919, allocations: 265.2 kB / 0.6425 GB, free: 96.5 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001666/0.9191, allocations: 95.66 kB / 0.6426 GB, free: 96.41 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.002736/0.9219, allocations: 2.301 MB / 0.6449 GB, free: 94.79 MB / 442.8 MB Notification: Performance of sort global known variables: time 2.6e-07/0.9219, allocations: 0.6562 kB / 0.6449 GB, free: 94.79 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.009099/0.931, allocations: 1.947 MB / 0.6468 GB, free: 92.86 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 62 * Number of states: 4 (gearConstraint.actuatedRevolute_b.phi,gearConstraint.actuatedRevolute_b.w,inertia1.phi,inertia1.w) * 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 (309): * Single equations (assignments): 296 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,10,100.0%), (1,2,100.0%), (1,1,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008001/0.9318, allocations: 250.5 kB / 0.647 GB, free: 92.62 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.007888/0.9397, allocations: 5.616 MB / 0.6525 GB, free: 87.68 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.899e-05/0.9397, allocations: 0 / 0.6525 GB, free: 87.68 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002025/0.9417, allocations: 1.856 MB / 0.6543 GB, free: 85.92 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003564/0.9453, allocations: 0.6619 MB / 0.655 GB, free: 85.32 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0222/0.9675, allocations: 15.52 MB / 0.6701 GB, free: 69.84 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003689/0.9712, allocations: 2.553 MB / 0.6726 GB, free: 67.25 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.003137/0.9743, allocations: 0.8974 MB / 0.6735 GB, free: 66.35 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001566/0.9759, allocations: 0.9785 MB / 0.6744 GB, free: 65.37 MB / 442.8 MB Notification: Performance of SimCode: time 3.597e-06/0.9759, allocations: 0 / 0.6744 GB, free: 65.37 MB / 442.8 MB Notification: Performance of Templates: time 0.08446/1.06, allocations: 59.07 MB / 0.7321 GB, free: 6.336 MB / 442.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.GearConstraint.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.GearConstraint.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.GearConstraint.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.GearConstraint.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.GearConstraint.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.GearConstraint -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.GearConstraint.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.GearConstraint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/GearConstraint/GearConstraint.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: 5.921514173038304]