Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.GearConstraint.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.002004/0.002004, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 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.003067/0.003067, allocations: 205.3 kB / 23.72 MB, free: 4.391 MB / 14.72 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 1.57/1.57, allocations: 230.5 MB / 257.4 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2426/0.2426, allocations: 46.95 MB / 360.8 MB, free: 3.934 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(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_trunk_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_trunk_ModelicaTest.MultiBody.Joints.GearConstraint") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003503/0.003503, allocations: 75.88 kB / 0.4966 GB, free: 7.051 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.3597, allocations: 66.09 MB / 0.5612 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.GearConstraint): time 0.02057/0.3802, allocations: 16.1 MB / 0.5769 GB, free: 3.824 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01549/0.3957, allocations: 5.116 MB / 0.5819 GB, free: 14.69 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005176/0.4009, allocations: 135.4 kB / 0.582 GB, free: 14.56 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01065/0.4116, allocations: 4.661 MB / 0.5866 GB, free: 9.883 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009032/0.4206, allocations: 3.148 MB / 0.5897 GB, free: 6.723 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002778/0.4234, allocations: 0.9204 MB / 0.5906 GB, free: 5.801 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01226/0.4356, allocations: 8.42 MB / 0.5988 GB, free: 13.36 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007828/0.4435, allocations: 5.207 MB / 0.6039 GB, free: 8.078 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005457/0.4489, allocations: 2.971 MB / 0.6068 GB, free: 5.098 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00662/0.4555, allocations: 4.068 MB / 0.6107 GB, free: 1.016 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001804/0.4573, allocations: 0.625 MB / 0.6114 GB, free: 400 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003551/0.4609, allocations: 1.35 MB / 0.6127 GB, free: 15.04 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004072/0.465, allocations: 3.712 MB / 0.6163 GB, free: 11.31 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004501/0.4695, allocations: 3.082 MB / 0.6193 GB, free: 8.211 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01673/0.4862, allocations: 13.57 MB / 0.6326 GB, free: 10.59 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.4862, allocations: 4 kB / 0.6326 GB, free: 10.58 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.4862, allocations: 0 / 0.6326 GB, free: 10.58 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0006216/0.4868, allocations: 4 kB / 0.6326 GB, free: 10.58 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2997 * Number of variables: 2997 Notification: Performance of Generate backend data structure: time 0.02547/0.5123, allocations: 8.892 MB / 0.6413 GB, free: 1.605 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.5123, allocations: 12.03 kB / 0.6413 GB, free: 1.594 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02237/0.5347, allocations: 5.49 MB / 0.6466 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0146/0.5493, allocations: 4.864 MB / 0.6514 GB, free: 7.176 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004868/0.5498, allocations: 435.5 kB / 0.6518 GB, free: 6.75 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003228/0.553, allocations: 0.574 MB / 0.6523 GB, free: 6.176 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03826/0.5913, allocations: 19.9 MB / 0.6718 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002657/0.5916, allocations: 71.44 kB / 0.6718 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001046/0.5926, allocations: 271.7 kB / 0.6721 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007178/0.5998, allocations: 4.18 MB / 0.6762 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03887/0.6387, allocations: 17.59 MB / 0.6934 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6809/1.32, allocations: 67.69 MB / 0.7595 GB, free: 107.2 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01383/1.333, allocations: 6.641 MB / 0.766 GB, free: 106.1 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005457/1.339, allocations: 4.842 MB / 0.7707 GB, free: 104.2 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002572/1.339, allocations: 48.45 kB / 0.7707 GB, free: 104.2 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.309e-05/1.339, allocations: 76.69 kB / 0.7708 GB, free: 104.1 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=429): time 9.879e-06/1.339, allocations: 0 / 0.7708 GB, free: 104.1 MB / 0.5607 GB Notification: Performance of matching and sorting (n=476): time 0.09324/1.432, allocations: 41.89 MB / 0.8117 GB, free: 71.46 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/1.433, allocations: 226.8 kB / 0.8119 GB, free: 71.19 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007224/1.44, allocations: 6.144 MB / 0.8179 GB, free: 65.33 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001125/1.441, allocations: 89.7 kB / 0.818 GB, free: 65.23 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002855/1.444, allocations: 5.734 MB / 0.8236 GB, free: 59.91 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002324/1.446, allocations: 1.821 MB / 0.8254 GB, free: 58.11 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002828/1.449, allocations: 2.263 MB / 0.8276 GB, free: 55.84 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 5.456e-05/1.449, allocations: 305.1 kB / 0.8279 GB, free: 55.54 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006434/1.455, allocations: 5.031 MB / 0.8328 GB, free: 50.51 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01084/1.466, allocations: 11.13 MB / 0.8437 GB, free: 36.53 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01945/1.486, allocations: 17.43 MB / 0.8607 GB, free: 16.19 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003236/1.486, allocations: 60 kB / 0.8608 GB, free: 16.13 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1483) (initialization): time 0.03297/1.519, allocations: 17.82 MB / 0.8782 GB, free: 14.29 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003596/1.519, allocations: 96 kB / 0.8782 GB, free: 14.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004563/1.52, allocations: 208 kB / 0.8784 GB, free: 13.99 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007067/1.527, allocations: 2.343 MB / 0.8807 GB, free: 11.64 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009818/1.537, allocations: 2.562 MB / 0.8832 GB, free: 9.07 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02587/1.563, allocations: 16.77 MB / 0.8996 GB, free: 7.906 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01143/1.574, allocations: 0.666 MB / 0.9003 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002949/1.577, allocations: 0.621 MB / 0.9009 GB, free: 6.621 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 955 * Number of states: 0 () * Number of discrete variables: 53 (torque1.torqueArrow.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,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 (1359): * Single equations (assignments): 1346 * 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%), (3,40,77.8%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01103/1.588, allocations: 4.072 MB / 0.9048 GB, free: 2.539 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002171/1.59, allocations: 0.5782 MB / 0.9054 GB, free: 1.957 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02347/1.614, allocations: 10.14 MB / 0.9153 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002212/1.614, allocations: 95.41 kB / 0.9154 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.572e-05/1.614, allocations: 12 kB / 0.9154 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.233e-05/1.614, allocations: 27.8 kB / 0.9154 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04812/1.662, allocations: 19.53 MB / 0.9345 GB, free: 3.949 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-05/1.662, allocations: 12 kB / 0.9345 GB, free: 3.938 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004089/1.666, allocations: 0.7371 MB / 0.9352 GB, free: 3.199 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006154/1.672, allocations: 2.029 MB / 0.9372 GB, free: 1.156 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007687/1.673, allocations: 83.98 kB / 0.9373 GB, free: 1.074 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02298/1.696, allocations: 15.54 MB / 0.9525 GB, free: 1.133 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.001e-05/1.696, allocations: 23.88 kB / 0.9525 GB, free: 1.109 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02974/1.726, allocations: 16.04 MB / 0.9682 GB, free: 0.8281 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001824/1.728, allocations: 0.5194 MB / 0.9687 GB, free: 312 kB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001701/1.729, allocations: 80 kB / 0.9688 GB, free: 232 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003923/1.733, allocations: 306.5 kB / 0.969 GB, free: 15.93 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001195/1.735, allocations: 305.7 kB / 0.9693 GB, free: 15.63 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003725/1.735, allocations: 123.3 kB / 0.9695 GB, free: 15.51 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.007454/1.742, allocations: 3.53 MB / 0.9729 GB, free: 12.01 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/1.742, allocations: 0 / 0.9729 GB, free: 12.01 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0113/1.754, allocations: 2 MB / 0.9749 GB, free: 10.01 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 48 * 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 (359): * Single equations (assignments): 346 * 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 {(3,37,77.8%), (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.001259/1.755, allocations: 242 kB / 0.9751 GB, free: 9.766 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02291/1.778, allocations: 11.79 MB / 0.9866 GB, free: 13.96 MB / 0.6857 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-05/1.778, allocations: 4 kB / 0.9866 GB, free: 13.96 MB / 0.6857 GB Notification: Performance of simCode: created simulation system equations: time 0.009416/1.787, allocations: 4.57 MB / 0.9911 GB, free: 9.336 MB / 0.6857 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005235/1.793, allocations: 0.6423 MB / 0.9917 GB, free: 8.703 MB / 0.6857 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3127/2.105, allocations: 20.43 MB / 1.012 GB, free: 250.4 MB / 0.6857 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00632/2.112, allocations: 5.451 MB / 1.017 GB, free: 249.9 MB / 0.6857 GB Notification: Performance of simCode: alias equations: time 0.007221/2.119, allocations: 3.925 MB / 1.021 GB, free: 249.8 MB / 0.6857 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001364/2.12, allocations: 410.9 kB / 1.021 GB, free: 249.8 MB / 0.6857 GB Notification: Performance of SimCode: time 1.032e-06/2.12, allocations: 0 / 1.021 GB, free: 249.8 MB / 0.6857 GB Notification: Performance of Templates: time 0.1056/2.226, allocations: 71.16 MB / 1.091 GB, free: 185.2 MB / 0.6857 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.GearConstraint.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.GearConstraint.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.GearConstraint.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.GearConstraint.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.GearConstraint.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.GearConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.GearConstraint.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.GearConstraint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/GearConstraint/GearConstraint.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.GearConstraint.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: 9.507242750376463]