Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 113 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.536/1.536, allocations: 225.6 MB / 250.8 MB, free: 13.33 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 47.92 kB / 368.7 MB, free: 10.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3431, allocations: 52.14 MB / 420.9 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2): time 0.003984/0.3471, allocations: 1.635 MB / 422.5 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007056/0.3478, allocations: 187.3 kB / 422.7 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001209/0.3479, allocations: 4 kB / 422.7 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001467/0.3481, allocations: 11.86 kB / 422.7 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001757/0.3482, allocations: 11.88 kB / 422.7 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002825/0.3485, allocations: 51.88 kB / 422.8 MB, free: 13.17 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000184/0.3487, allocations: 71.77 kB / 422.8 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001787/0.3489, allocations: 27.92 kB / 422.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.573e-05/0.3489, allocations: 23.92 kB / 422.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001372/0.3491, allocations: 39.78 kB / 422.9 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.327e-05/0.3491, allocations: 8 kB / 422.9 MB, free: 13 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.695e-05/0.3491, allocations: 4 kB / 422.9 MB, free: 13 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.458e-05/0.3492, allocations: 27.91 kB / 423 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.411e-05/0.3493, allocations: 43.67 kB / 423 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002103/0.3495, allocations: 92.78 kB / 423.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.3495, allocations: 0 / 423.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.3495, allocations: 4 kB / 423.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.318e-06/0.3495, allocations: 0 / 423.1 MB, free: 12.84 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008505/0.3504, allocations: 418.8 kB / 423.5 MB, free: 12.38 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.3504, allocations: 11.89 kB / 423.5 MB, free: 12.37 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.504e-05/0.3505, allocations: 16.84 kB / 423.5 MB, free: 12.35 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002815/0.3507, allocations: 208.1 kB / 423.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.382e-05/0.3508, allocations: 8.375 kB / 423.7 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.3508, allocations: 4.375 kB / 423.7 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004843/0.3513, allocations: 210.3 kB / 423.9 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.3513, allocations: 192 / 423.9 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/0.3513, allocations: 11.94 kB / 424 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.3513, allocations: 0 / 424 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001328/0.3515, allocations: 55.91 kB / 424 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005214/0.352, allocations: 377.9 kB / 424.4 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002199/0.3522, allocations: 127.8 kB / 424.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001387/0.3523, allocations: 74.67 kB / 424.6 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.223e-05/0.3524, allocations: 3.984 kB / 424.6 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.3524, allocations: 34.56 kB / 424.6 MB, free: 11.1 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.302e-06/0.3524, allocations: 0 / 424.6 MB, free: 11.1 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004236/0.3528, allocations: 177.3 kB / 424.8 MB, free: 10.92 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.926e-05/0.3529, allocations: 114.7 kB / 424.9 MB, free: 10.78 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/0.3531, allocations: 169.6 kB / 425.1 MB, free: 10.61 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.3531, allocations: 25.7 kB / 425.1 MB, free: 10.58 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.639e-05/0.3532, allocations: 96.41 kB / 425.2 MB, free: 10.48 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.244e-05/0.3532, allocations: 0 / 425.2 MB, free: 10.48 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.789e-05/0.3533, allocations: 45.91 kB / 425.2 MB, free: 10.43 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.3535, allocations: 318.8 kB / 425.5 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.008e-05/0.3535, allocations: 19.98 kB / 425.6 MB, free: 10.09 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.3536, allocations: 81.42 kB / 425.6 MB, free: 9.973 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001645/0.3538, allocations: 121.2 kB / 425.8 MB, free: 9.82 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.3538, allocations: 3.938 kB / 425.8 MB, free: 9.816 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002266/0.354, allocations: 125.5 kB / 425.9 MB, free: 9.688 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.354, allocations: 4 kB / 425.9 MB, free: 9.684 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.3541, allocations: 4 kB / 425.9 MB, free: 9.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.3541, allocations: 7.984 kB / 425.9 MB, free: 9.672 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.3542, allocations: 19.94 kB / 425.9 MB, free: 9.652 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.3542, allocations: 7.984 kB / 425.9 MB, free: 9.645 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.63e-05/0.3542, allocations: 7.938 kB / 425.9 MB, free: 9.637 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.3543, allocations: 8 kB / 425.9 MB, free: 9.629 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 12 (sample1.u,integerConstant.y,sum2.y,sum2.u[2],sum2.u[1],sum1.y,sum1.u[2],sum1.u[1],sample2.y,hold1.y,hold1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.0001534/0.3544, allocations: 145.9 kB / 426.1 MB, free: 9.477 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001813/0.3546, allocations: 109.5 kB / 426.2 MB, free: 9.363 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.071e-05/0.3546, allocations: 16.72 kB / 426.2 MB, free: 9.344 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.3546, allocations: 3.938 kB / 426.2 MB, free: 9.34 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.3547, allocations: 0 / 426.2 MB, free: 9.34 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.3547, allocations: 7.984 kB / 426.2 MB, free: 9.332 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002915/0.355, allocations: 197.5 kB / 426.4 MB, free: 9.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.391e-06/0.355, allocations: 3.984 kB / 426.4 MB, free: 9.086 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001207/0.3551, allocations: 27.98 kB / 426.4 MB, free: 9.059 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3551, allocations: 0 / 426.4 MB, free: 9.059 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.3551, allocations: 480 / 426.5 MB, free: 9.059 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.3551, allocations: 4 kB / 426.5 MB, free: 9.055 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3551, allocations: 0 / 426.5 MB, free: 9.055 MB / 334.1 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:332:7-332:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed (Purely discrete algebraic loops cannot be solved by iterative processes. Try to break them open using the delay() operator.) sum1.y sum2.u[2] sum2.y hold1.u hold1.y sample2.y sum1.u[2] sum1.y = sum1.k[1] * sum1.u[1] + sum1.k[2] * sum1.u[2] sum1.u[2] = sample2.y sample2.y = $getPart(hold1.y) hold1.y = $getPart(hold1.u) hold1.u = sum2.y sum2.y = sum2.k[1] * sum2.u[1] + sum2.k[2] * sum2.u[2] sum2.u[2] = sum1.y [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: sum1.y sum2.u[2] sum2.y hold1.u hold1.y sample2.y sum1.u[2] equations: sum1.y = sum1.k[1] * sum1.u[1] + sum1.k[2] * sum1.u[2] sum1.u[2] = sample2.y sample2.y = $getPart(hold1.y) hold1.y = $getPart(hold1.u) hold1.u = sum2.y sum2.y = sum2.k[1] * sum2.u[1] + sum2.k[2] * sum2.u[2] sum2.u[2] = sum1.y [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8012:5-8012:89:writable] Error: Internal error Transformation module sort components failed Warning: The optimization module detectJacobianSparsePattern failed. This module will be skipped and the transformation process continued. Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000481/0.3556, allocations: 384.8 kB / 426.8 MB, free: 8.66 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001505/0.3557, allocations: 105 kB / 426.9 MB, free: 8.539 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.3557, allocations: 4 kB / 426.9 MB, free: 8.535 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.3559, allocations: 8 kB / 426.9 MB, free: 8.527 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.388e-05/0.3559, allocations: 4 kB / 426.9 MB, free: 8.523 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.868e-06/0.3559, allocations: 11.98 kB / 427 MB, free: 8.512 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.529e-05/0.356, allocations: 122 kB / 427.1 MB, free: 8.395 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.356, allocations: 0 / 427.1 MB, free: 8.395 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002985/0.3563, allocations: 16 kB / 427.1 MB, free: 8.379 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 12 (sample1.u,hold1.y,sample1.y,hold1.u,sample2.y,sum1.u[1],sum1.u[2],sum1.y,sum2.u[1],sum2.u[2],sum2.y,integerConstant.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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 Backend phase and start with SimCode phase: time 0.0001272/0.3564, allocations: 103.2 kB / 427.2 MB, free: 8.27 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002299/0.3567, allocations: 83.95 kB / 427.3 MB, free: 8.188 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3567, allocations: 0 / 427.3 MB, free: 8.188 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.502e-05/0.3567, allocations: 8 kB / 427.3 MB, free: 8.18 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004714/0.3572, allocations: 63.88 kB / 427.3 MB, free: 8.117 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004692/0.3576, allocations: 248.4 kB / 427.6 MB, free: 7.844 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003824/0.358, allocations: 0.7157 MB / 428.3 MB, free: 7.102 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.652e-05/0.3581, allocations: 8.547 kB / 428.3 MB, free: 7.094 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.213e-05/0.3581, allocations: 15.38 kB / 428.3 MB, free: 7.078 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3581, allocations: 0 / 428.3 MB, free: 7.078 MB / 334.1 MB Notification: Performance of Templates: time 0.003825/0.3619, allocations: 0.9779 MB / 429.3 MB, free: 6.109 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample2/Sample2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.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: 4.791734926402569]