Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.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.001142/0.001142, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001882/0.001882, allocations: 165 kB / 24.56 MB, free: 12 kB / 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 1.022/1.022, allocations: 177.1 MB / 205 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2882/0.2882, allocations: 32.81 MB / 294.3 MB, free: 1.25 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.865e-06/2.865e-06, allocations: 0 / 376 MB, free: 4.645 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.589e-05/4.875e-05, allocations: 9.484 kB / 376 MB, free: 4.637 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.01638/0.01643, allocations: 13.06 MB / 389.1 MB, free: 7.52 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01358/0.03001, allocations: 4.481 MB / 393.6 MB, free: 3.023 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003426/0.03344, allocations: 107.4 kB / 393.7 MB, free: 2.918 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006378/0.03981, allocations: 4.494 MB / 398.2 MB, free: 14.41 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005946/0.04576, allocations: 2.27 MB / 400.4 MB, free: 12.13 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002181/0.04794, allocations: 1.029 MB / 401.5 MB, free: 11.1 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.009025/0.05697, allocations: 6.829 MB / 408.3 MB, free: 4.258 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007401/0.06437, allocations: 4.633 MB / 412.9 MB, free: 15.55 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009168/0.07353, allocations: 4.254 MB / 417.2 MB, free: 11.29 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005101/0.07863, allocations: 3.09 MB / 420.3 MB, free: 8.195 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001389/0.08002, allocations: 484 kB / 420.7 MB, free: 7.723 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002178/0.0822, allocations: 1.291 MB / 422 MB, free: 6.43 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002143/0.08434, allocations: 2.708 MB / 424.7 MB, free: 3.715 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003736/0.08808, allocations: 1.706 MB / 426.5 MB, free: 2.004 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0075/0.09558, allocations: 5.812 MB / 432.3 MB, free: 12.17 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.09559, allocations: 0 / 432.3 MB, free: 12.17 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.09559, allocations: 0 / 432.3 MB, free: 12.17 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002804/0.09587, allocations: 0 / 432.3 MB, free: 12.17 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1722 * Number of variables: 1722 Notification: Performance of Generate backend data structure: time 0.0109/0.1068, allocations: 6.663 MB / 438.9 MB, free: 5.438 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.913e-05/0.1068, allocations: 8.031 kB / 438.9 MB, free: 5.43 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007448/0.1143, allocations: 3.079 MB / 442 MB, free: 2.344 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1901/0.3044, allocations: 3.229 MB / 445.2 MB, free: 93.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002141/0.3046, allocations: 299.2 kB / 445.5 MB, free: 93.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00102/0.3056, allocations: 403.4 kB / 445.9 MB, free: 93.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009884/0.3155, allocations: 6.857 MB / 452.8 MB, free: 90.62 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001436/0.3156, allocations: 52.45 kB / 452.8 MB, free: 90.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003508/0.316, allocations: 190.8 kB / 453 MB, free: 90.62 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001487/0.3175, allocations: 1.917 MB / 454.9 MB, free: 90.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0077/0.3252, allocations: 3.359 MB / 458.3 MB, free: 90.44 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03318/0.3584, allocations: 48.05 MB / 0.4945 GB, free: 51.6 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004702/0.3631, allocations: 1.797 MB / 0.4962 GB, free: 51.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001038/0.3641, allocations: 0.5426 MB / 0.4968 GB, free: 51.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006613/0.3707, allocations: 4.432 MB / 0.5011 GB, free: 48.93 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.3707, allocations: 49.39 kB / 0.5011 GB, free: 48.88 MB / 410.7 MB Notification: Performance of pre-optimization done (n=138): time 4.358e-06/0.3708, allocations: 0 / 0.5011 GB, free: 48.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=151): time 0.01912/0.3899, allocations: 10.28 MB / 0.5112 GB, free: 44.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.097e-05/0.3899, allocations: 201 kB / 0.5114 GB, free: 44.53 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005994/0.3959, allocations: 4.198 MB / 0.5155 GB, free: 41.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001952/0.3961, allocations: 45.7 kB / 0.5155 GB, free: 41.83 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00204/0.3982, allocations: 3.984 MB / 0.5194 GB, free: 38.28 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006409/0.3988, allocations: 0.6567 MB / 0.5201 GB, free: 37.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001102/0.3999, allocations: 1.412 MB / 0.5214 GB, free: 36.37 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.113e-05/0.4, allocations: 476.8 kB / 0.5219 GB, free: 35.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001002/0.401, allocations: 0.6272 MB / 0.5225 GB, free: 35.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002567/0.4035, allocations: 6.662 MB / 0.529 GB, free: 26.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00485/0.4084, allocations: 7.963 MB / 0.5368 GB, free: 15.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001224/0.4085, allocations: 48 kB / 0.5368 GB, free: 15.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=839) (initialization): time 0.007409/0.4159, allocations: 5.573 MB / 0.5423 GB, free: 10.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.158e-05/0.416, allocations: 70.02 kB / 0.5423 GB, free: 10.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001141/0.4161, allocations: 148.2 kB / 0.5425 GB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008162/0.4169, allocations: 443.1 kB / 0.5429 GB, free: 9.965 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002333/0.4192, allocations: 1.502 MB / 0.5444 GB, free: 8.648 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002405/0.4216, allocations: 4.625 MB / 0.5489 GB, free: 3.984 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004181/0.4258, allocations: 419.9 kB / 0.5493 GB, free: 3.641 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006113/0.4264, allocations: 394 kB / 0.5497 GB, free: 3.258 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 652 * Number of states: 0 () * Number of discrete variables: 47 (torque1.torqueArrow.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,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 (801): * Single equations (assignments): 796 * Array equations: 3 * 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): 2 systems {(1,11,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00181/0.4282, allocations: 0.7017 MB / 0.5503 GB, free: 2.551 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007431/0.429, allocations: 425.4 kB / 0.5508 GB, free: 2.133 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001445/0.4304, allocations: 1.057 MB / 0.5518 GB, free: 1.086 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-05/0.4305, allocations: 16 kB / 0.5518 GB, free: 1.07 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/0.4305, allocations: 4 kB / 0.5518 GB, free: 1.066 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.4305, allocations: 11.91 kB / 0.5518 GB, free: 1.055 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008803/0.4393, allocations: 5.129 MB / 0.5568 GB, free: 11.81 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.549e-05/0.4393, allocations: 4 kB / 0.5568 GB, free: 11.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007645/0.4401, allocations: 272.2 kB / 0.5571 GB, free: 11.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007115/0.4408, allocations: 269.5 kB / 0.5573 GB, free: 11.27 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001121/0.4409, allocations: 28 kB / 0.5574 GB, free: 11.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003041/0.4439, allocations: 3.997 MB / 0.5613 GB, free: 7.008 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/0.4439, allocations: 16 kB / 0.5613 GB, free: 6.992 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003054/0.447, allocations: 2.285 MB / 0.5635 GB, free: 4.59 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008119/0.4478, allocations: 393.2 kB / 0.5639 GB, free: 4.203 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002983/0.4481, allocations: 32 kB / 0.5639 GB, free: 4.172 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007877/0.4489, allocations: 127.8 kB / 0.564 GB, free: 4.047 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002031/0.4491, allocations: 116.7 kB / 0.5642 GB, free: 3.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.84e-05/0.4492, allocations: 48 kB / 0.5642 GB, free: 3.883 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002439/0.4516, allocations: 1.835 MB / 0.566 GB, free: 2.039 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4516, allocations: 0 / 0.566 GB, free: 2.039 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00453/0.4561, allocations: 1.132 MB / 0.5671 GB, free: 0.9102 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * 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 (123): * Single equations (assignments): 118 * Array equations: 3 * 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): 2 systems {(1,9,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004937/0.4566, allocations: 181.8 kB / 0.5673 GB, free: 0.7227 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005838/0.4625, allocations: 3.158 MB / 0.5704 GB, free: 13.56 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.076e-05/0.4625, allocations: 7.984 kB / 0.5704 GB, free: 13.55 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001103/0.4636, allocations: 0.8447 MB / 0.5712 GB, free: 12.66 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002568/0.4661, allocations: 0.5001 MB / 0.5717 GB, free: 12.18 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01466/0.4808, allocations: 8.751 MB / 0.5802 GB, free: 3.25 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001569/0.4824, allocations: 1.472 MB / 0.5817 GB, free: 1.746 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002802/0.4852, allocations: 1.695 MB / 0.5833 GB, free: 48 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005704/0.4857, allocations: 252.5 kB / 0.5836 GB, free: 15.8 MB / 458.7 MB Notification: Performance of SimCode: time 2.705e-06/0.4857, allocations: 0 / 0.5836 GB, free: 15.8 MB / 458.7 MB Notification: Performance of Templates: time 0.2055/0.6912, allocations: 29.86 MB / 0.6127 GB, free: 121.4 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Bevel1D/Bevel1D.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: 4.719584537670016]