Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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.0009074/0.0009074, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.001221/0.001221, allocations: 174 kB / 23.95 MB, free: 0.6133 MB / 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 0.8906/0.8906, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2387/0.2387, allocations: 34.25 MB / 294.9 MB, free: 0.707 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointUSP,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_FourbarVariants_JointUSP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointUSP,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_FourbarVariants_JointUSP",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 442.2 MB, free: 1.668 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.676e-05/1.801e-05, allocations: 4.25 kB / 442.2 MB, free: 1.664 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.1636/0.1636, allocations: 13.9 MB / 456.1 MB, free: 36.27 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.009085/0.1727, allocations: 5.232 MB / 461.3 MB, free: 32.93 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002604/0.1753, allocations: 131.9 kB / 461.4 MB, free: 32.89 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004634/0.18, allocations: 5.237 MB / 466.7 MB, free: 30.66 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004316/0.1843, allocations: 2.759 MB / 469.4 MB, free: 29.31 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001783/0.1861, allocations: 1.556 MB / 471 MB, free: 28.62 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.005998/0.1921, allocations: 9.347 MB / 480.3 MB, free: 25.07 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005246/0.1973, allocations: 5.969 MB / 486.3 MB, free: 22.42 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006651/0.2039, allocations: 4.247 MB / 490.5 MB, free: 20.51 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005324/0.2093, allocations: 4.121 MB / 494.7 MB, free: 19.38 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001463/0.2107, allocations: 0.6534 MB / 495.3 MB, free: 19.38 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002959/0.2137, allocations: 1.748 MB / 497.1 MB, free: 19.09 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003498/0.2172, allocations: 3.608 MB / 0.4889 GB, free: 17.53 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004391/0.2216, allocations: 2.337 MB / 0.4912 GB, free: 16.36 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01156/0.2331, allocations: 12.42 MB / 0.5034 GB, free: 7.617 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.2332, allocations: 3.984 kB / 0.5034 GB, free: 7.613 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2332, allocations: 0 / 0.5034 GB, free: 7.613 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003241/0.2335, allocations: 0 / 0.5034 GB, free: 7.613 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: 2166 * Number of variables: 2166 Notification: Performance of Generate backend data structure: time 0.0145/0.248, allocations: 8.432 MB / 0.5116 GB, free: 15.11 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.248, allocations: 16.02 kB / 0.5116 GB, free: 15.09 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001731/0.2498, allocations: 1.152 MB / 0.5127 GB, free: 13.93 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02845/0.2782, allocations: 9.023 MB / 0.5215 GB, free: 4.887 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01037/0.2886, allocations: 5.312 MB / 0.5267 GB, free: 15.48 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002826/0.2889, allocations: 378.2 kB / 0.5271 GB, free: 15.11 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00233/0.2912, allocations: 0.5122 MB / 0.5276 GB, free: 14.6 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02375/0.3149, allocations: 15.55 MB / 0.5428 GB, free: 14.12 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001847/0.3151, allocations: 67.52 kB / 0.5428 GB, free: 14.05 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005289/0.3157, allocations: 239.8 kB / 0.5431 GB, free: 13.82 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002413/0.3181, allocations: 2.536 MB / 0.5455 GB, free: 11.28 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0206/0.3387, allocations: 12.89 MB / 0.5581 GB, free: 14.37 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05681/0.3955, allocations: 54.25 MB / 0.6111 GB, free: 6.789 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01045/0.4059, allocations: 5.846 MB / 0.6168 GB, free: 0.9023 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003411/0.4093, allocations: 3.135 MB / 0.6199 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01197/0.4213, allocations: 9.443 MB / 0.6291 GB, free: 4.277 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.026e-05/0.4213, allocations: 64.48 kB / 0.6292 GB, free: 4.207 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=245): time 5.119e-06/0.4213, allocations: 3.938 kB / 0.6292 GB, free: 4.203 MB / 0.5261 GB Notification: Performance of matching and sorting (n=338): time 0.2516/0.673, allocations: 40.94 MB / 0.6691 GB, free: 139.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.527e-05/0.6731, allocations: 242.4 kB / 0.6694 GB, free: 138.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01172/0.6848, allocations: 6.543 MB / 0.6758 GB, free: 136.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0009215/0.6857, allocations: 77.45 kB / 0.6758 GB, free: 136.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002361/0.6881, allocations: 4.58 MB / 0.6803 GB, free: 133.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.00157/0.6896, allocations: 1.275 MB / 0.6816 GB, free: 132.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002077/0.6917, allocations: 1.616 MB / 0.6831 GB, free: 131.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 2.693e-05/0.6918, allocations: 301.9 kB / 0.6834 GB, free: 131.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003815/0.6956, allocations: 3.772 MB / 0.6871 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005578/0.7011, allocations: 8.381 MB / 0.6953 GB, free: 122.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01073/0.7119, allocations: 13.01 MB / 0.708 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.925e-05/0.712, allocations: 47.94 kB / 0.7081 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1067) (initialization): time 0.02263/0.7346, allocations: 15.44 MB / 0.7231 GB, free: 96.89 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.831e-05/0.7347, allocations: 75.94 kB / 0.7232 GB, free: 96.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001241/0.7348, allocations: 160 kB / 0.7234 GB, free: 96.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00711/0.7419, allocations: 4.089 MB / 0.7273 GB, free: 92.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004145/0.7461, allocations: 1.805 MB / 0.7291 GB, free: 90.76 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01728/0.7633, allocations: 20.67 MB / 0.7493 GB, free: 69.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006219/0.7696, allocations: 0.5778 MB / 0.7499 GB, free: 69.41 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001216/0.7708, allocations: 468 kB / 0.7503 GB, free: 68.95 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 717 * Number of states: 0 () * Number of discrete variables: 46 (jointUSP.prismatic.positiveBranch,body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[1],ground_rod.color[3],ground_rod.color[2],ground_rod.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (966): * Single equations (assignments): 962 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,77,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004756/0.7755, allocations: 3.12 MB / 0.7534 GB, free: 65.82 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001371/0.7769, allocations: 0.5535 MB / 0.7539 GB, free: 65.26 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01081/0.7877, allocations: 9.564 MB / 0.7632 GB, free: 55.63 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.342e-05/0.7877, allocations: 32 kB / 0.7633 GB, free: 55.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.779e-05/0.7877, allocations: 16 kB / 0.7633 GB, free: 55.58 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-05/0.7878, allocations: 11.95 kB / 0.7633 GB, free: 55.57 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02466/0.8124, allocations: 18.92 MB / 0.7818 GB, free: 36.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.867e-05/0.8125, allocations: 4.781 kB / 0.7818 GB, free: 36.55 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00122/0.8137, allocations: 0.4914 MB / 0.7822 GB, free: 36.05 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005897/0.8196, allocations: 3.647 MB / 0.7858 GB, free: 32.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003148/0.8199, allocations: 67.42 kB / 0.7859 GB, free: 32.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01444/0.8343, allocations: 18.21 MB / 0.8037 GB, free: 14 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.8343, allocations: 11.94 kB / 0.8037 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01509/0.8494, allocations: 14.18 MB / 0.8175 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002082/0.8515, allocations: 0.6054 MB / 0.8181 GB, free: 15.01 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007242/0.8522, allocations: 63.98 kB / 0.8182 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001785/0.854, allocations: 299.5 kB / 0.8184 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005192/0.8545, allocations: 242.1 kB / 0.8187 GB, free: 14.42 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001766/0.8547, allocations: 91.98 kB / 0.8188 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.004779/0.8595, allocations: 4.057 MB / 0.8227 GB, free: 10.3 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8595, allocations: 4 kB / 0.8227 GB, free: 10.3 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006615/0.8661, allocations: 1.891 MB / 0.8246 GB, free: 8.406 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 2 (revolute.phi,revolute.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 (256): * Single equations (assignments): 252 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,64,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.1962/1.062, allocations: 14.94 MB / 0.8392 GB, free: 162.8 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.009341/1.072, allocations: 8.826 MB / 0.8478 GB, free: 161 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.277e-06/1.072, allocations: 4 kB / 0.8478 GB, free: 161 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.00302/1.075, allocations: 3.327 MB / 0.851 GB, free: 159.6 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003703/1.078, allocations: 0.7776 MB / 0.8518 GB, free: 159.3 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1052/1.184, allocations: 80.36 MB / 0.9303 GB, free: 108.5 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00502/1.189, allocations: 4.328 MB / 0.9345 GB, free: 105.3 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.004321/1.193, allocations: 2.615 MB / 0.9371 GB, free: 103.6 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003783/1.197, allocations: 3.084 MB / 0.9401 GB, free: 100.8 MB / 0.5573 GB Notification: Performance of SimCode: time 1.713e-06/1.197, allocations: 0 / 0.9401 GB, free: 100.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.307/1.504, allocations: 133.9 MB / 1.071 GB, free: 169.5 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/13.28, allocations: 4.391 kB / 1.071 GB, free: 169.5 MB / 0.573 GB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_FourbarVariants_JointUSP_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_FourbarVariants_JointUSP.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/JointUSP/JointUSP.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 16.184338961727917]