Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers.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.0009951/0.0009951, allocations: 87.58 kB / 21.19 MB, free: 3.371 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.0009869/0.0009869, allocations: 165 kB / 24.56 MB, free: 4 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 0.9413/0.9413, 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.2365/0.2365, allocations: 32.81 MB / 294.3 MB, free: 1.289 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.Math.Random.TestRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers") translateModel(ModelicaTest.Math.Random.TestRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 376 MB, free: 4.699 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.788e-05/1.953e-05, allocations: 9.344 kB / 376 MB, free: 4.691 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.001208/0.001228, allocations: 0.5632 MB / 376.6 MB, free: 4.125 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008295/0.002057, allocations: 0.6117 MB / 377.2 MB, free: 3.508 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.37e-05/0.002081, allocations: 0 / 377.2 MB, free: 3.508 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 7.532e-05/0.002156, allocations: 7.938 kB / 377.2 MB, free: 3.5 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 4.779e-06/0.002161, allocations: 3.938 kB / 377.2 MB, free: 3.496 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:842:5-926:22:writable] Warning: Pure function 'ModelicaTest.Math.Random.randomNumbers' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.000557/0.002718, allocations: 199.3 kB / 377.4 MB, free: 3.301 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.853e-05/0.002777, allocations: 31.91 kB / 377.4 MB, free: 3.27 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.099e-05/0.002808, allocations: 7.875 kB / 377.4 MB, free: 3.262 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.413e-05/0.002842, allocations: 23.97 kB / 377.5 MB, free: 3.238 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.454e-05/0.002876, allocations: 12.27 kB / 377.5 MB, free: 3.223 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.179e-05/0.002888, allocations: 4 kB / 377.5 MB, free: 3.219 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002355/0.003124, allocations: 195.6 kB / 377.7 MB, free: 3.027 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.252e-05/0.003196, allocations: 64.09 kB / 377.7 MB, free: 2.965 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.449e-05/0.003241, allocations: 35.83 kB / 377.8 MB, free: 2.93 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002414/0.003482, allocations: 223.3 kB / 378 MB, free: 2.711 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.003484, allocations: 0 / 378 MB, free: 2.711 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.003485, allocations: 0 / 378 MB, free: 2.711 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.00349, allocations: 0 / 378 MB, free: 2.711 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.000472/0.003962, allocations: 0.5128 MB / 378.5 MB, free: 2.164 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.004002, allocations: 8.031 kB / 378.5 MB, free: 2.156 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.089e-05/0.004053, allocations: 24.78 kB / 378.5 MB, free: 2.133 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.707e-05/0.00413, allocations: 124.4 kB / 378.6 MB, free: 1.984 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.262e-05/0.004153, allocations: 12.38 kB / 378.7 MB, free: 1.973 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.932e-05/0.004182, allocations: 20.38 kB / 378.7 MB, free: 1.953 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.004289, allocations: 66.25 kB / 378.7 MB, free: 1.879 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.004296, allocations: 192 / 378.7 MB, free: 1.879 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.198e-06/0.004306, allocations: 4.125 kB / 378.7 MB, free: 1.875 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.004312, allocations: 0 / 378.7 MB, free: 1.875 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.146e-05/0.004344, allocations: 44.92 kB / 378.8 MB, free: 1.832 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001227/0.004466, allocations: 157.4 kB / 378.9 MB, free: 1.645 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.63e-05/0.004523, allocations: 75.53 kB / 379 MB, free: 1.559 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000123/0.004646, allocations: 40.72 kB / 379.1 MB, free: 1.516 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.266e-06/0.004649, allocations: 3.938 kB / 379.1 MB, free: 1.512 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001155/0.004764, allocations: 113 kB / 379.2 MB, free: 1.391 MB / 346.7 MB Notification: Performance of pre-optimization done (n=54): time 8.82e-07/0.004765, allocations: 0 / 379.2 MB, free: 1.391 MB / 346.7 MB Notification: Performance of matching and sorting (n=54): time 0.0004744/0.00524, allocations: 0.4906 MB / 379.7 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.567e-05/0.005295, allocations: 99.81 kB / 379.8 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.617e-05/0.005352, allocations: 178.1 kB / 379.9 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.335e-05/0.005385, allocations: 61.69 kB / 380 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.416e-05/0.005419, allocations: 140.2 kB / 380.1 MB, free: 396 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.557e-05/0.005505, allocations: 155 kB / 380.3 MB, free: 240 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.005615, allocations: 164.3 kB / 380.4 MB, free: 64 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.005748, allocations: 0.5274 MB / 381 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.005853, allocations: 89.94 kB / 381.1 MB, free: 15.44 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003086/0.006161, allocations: 0.6005 MB / 381.7 MB, free: 14.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004968/0.006658, allocations: 0.7562 MB / 382.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.006664, allocations: 4 kB / 382.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0005295/0.007193, allocations: 0.6031 MB / 383 MB, free: 13.01 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.007211, allocations: 13.56 kB / 383 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.007223, allocations: 12 kB / 383 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.007244, allocations: 16 kB / 383.1 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003249/0.007569, allocations: 195.6 kB / 383.3 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.672e-05/0.007586, allocations: 23.92 kB / 383.3 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.007704, allocations: 63.56 kB / 383.3 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.921e-05/0.007733, allocations: 44 kB / 383.4 MB, free: 12.65 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 107 (state33[33],$PRE.state33[33],state33[32],$PRE.state33[32],state33[31],$PRE.state33[31],state33[30],$PRE.state33[30],state33[29],$PRE.state33[29],state33[28],$PRE.state33[28],state33[27],$PRE.state33[27],state33[26],$PRE.state33[26],state33[25],$PRE.state33[25],state33[24],$PRE.state33[24],state33[23],$PRE.state33[23],state33[22],$PRE.state33[22],state33[21],$PRE.state33[21],state33[20],$PRE.state33[20],state33[19],$PRE.state33[19],state33[18],$PRE.state33[18],state33[17],$PRE.state33[17],state33[16],$PRE.state33[16],state33[15],$PRE.state33[15],state33[14],$PRE.state33[14],state33[13],$PRE.state33[13],state33[12],$PRE.state33[12],state33[11],$PRE.state33[11],state33[10],$PRE.state33[10],state33[9],$PRE.state33[9],state33[8],$PRE.state33[8],state33[7],$PRE.state33[7],state33[6],$PRE.state33[6],state33[5],$PRE.state33[5],state33[4],$PRE.state33[4],state33[3],$PRE.state33[3],state33[2],$PRE.state33[2],state33[1],$PRE.state33[1],state4c[4],$PRE.state4c[4],state4c[3],$PRE.state4c[3],state4c[2],$PRE.state4c[2],state4c[1],$PRE.state4c[1],state4b[4],$PRE.state4b[4],state4b[3],$PRE.state4b[3],state4b[2],$PRE.state4b[2],state4b[1],$PRE.state4b[1],state4a[4],$PRE.state4a[4],state4a[3],$PRE.state4a[3],state4a[2],$PRE.state4a[2],state4a[1],$PRE.state4a[1],state2[2],$PRE.state2[2],state2[1],$PRE.state2[1],r33,$PRE.r33,r4c,$PRE.r4c,r4b,$PRE.r4b,r4a,$PRE.r4a,r2,$PRE.r2,result,$PRE.result,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001386/0.007871, allocations: 276.3 kB / 383.7 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.171e-05/0.007883, allocations: 15.86 kB / 383.7 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.383e-05/0.007907, allocations: 5.812 kB / 383.7 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.007908, allocations: 0 / 383.7 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.007912, allocations: 7.938 kB / 383.7 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.007916, allocations: 0 / 383.7 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.648e-05/0.007992, allocations: 133 kB / 383.8 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.007993, allocations: 0 / 383.8 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.574e-06/0.007996, allocations: 0 / 383.8 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.007997, allocations: 0 / 383.8 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.008004, allocations: 11.94 kB / 383.8 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.02e-07/0.008004, allocations: 0 / 383.8 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.008005, allocations: 0 / 383.8 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003152/0.00832, allocations: 403.2 kB / 384.2 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.346e-05/0.008333, allocations: 27.73 kB / 384.2 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.715e-06/0.008341, allocations: 4.031 kB / 384.2 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.993e-06/0.008348, allocations: 0 / 384.2 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.943e-05/0.008368, allocations: 3.938 kB / 384.3 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.008373, allocations: 4 kB / 384.3 MB, free: 11.71 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.517e-05/0.008398, allocations: 119.2 kB / 384.4 MB, free: 11.59 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008398, allocations: 0 / 384.4 MB, free: 11.59 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002951/0.008693, allocations: 99.8 kB / 384.5 MB, free: 11.49 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 54 ($whenCondition1,result,r2,r4a,r4b,r4c,r33,state2[1],state2[2],state4a[1],state4a[2],state4a[3],state4a[4],state4b[1],state4b[2],state4b[3],state4b[4],state4c[1],state4c[2],state4c[3],state4c[4],state33[1],state33[2],state33[3],state33[4],state33[5],state33[6],state33[7],state33[8],state33[9],state33[10],state33[11],state33[12],state33[13],state33[14],state33[15],state33[16],state33[17],state33[18],state33[19],state33[20],state33[21],state33[22],state33[23],state33[24],state33[25],state33[26],state33[27],state33[28],state33[29],state33[30],state33[31],state33[32],state33[33]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000419/0.009112, allocations: 284.6 kB / 384.7 MB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003362/0.009448, allocations: 330.7 kB / 385.1 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.00945, allocations: 0 / 385.1 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.08e-05/0.009511, allocations: 78.72 kB / 385.1 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000125/0.009636, allocations: 4 kB / 385.2 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004028/0.01004, allocations: 388.3 kB / 385.5 MB, free: 10.44 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.152e-05/0.01009, allocations: 81.38 kB / 385.6 MB, free: 10.34 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.806e-05/0.01014, allocations: 35.58 kB / 385.6 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.797e-05/0.01017, allocations: 24.5 kB / 385.7 MB, free: 10.28 MB / 362.7 MB Notification: Performance of SimCode: time 7.91e-07/0.01017, allocations: 0 / 385.7 MB, free: 10.28 MB / 362.7 MB Notification: Performance of Templates: time 0.004998/0.01516, allocations: 3.147 MB / 388.8 MB, free: 7.172 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/Random/TestRandomNumbers/TestRandomNumbers.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: 3.222711887676269]