Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.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.001477/0.001477, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.002111/0.002111, allocations: 214.7 kB / 24.48 MB, free: 3.941 MB / 14.72 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.467/1.467, allocations: 230.6 MB / 258.2 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 47.92 kB / 379 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2543/0.2559, allocations: 53.36 MB / 432.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2): time 0.003093/0.259, allocations: 1.633 MB / 433.9 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004641/0.2594, allocations: 175.3 kB / 434.1 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.029e-05/0.2595, allocations: 0 / 434.1 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.233e-05/0.2596, allocations: 11.86 kB / 434.1 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001287/0.2597, allocations: 11.94 kB / 434.1 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002529/0.26, allocations: 51.81 kB / 434.2 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.2601, allocations: 59.84 kB / 434.3 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.2602, allocations: 32 kB / 434.3 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.932e-05/0.2603, allocations: 23.92 kB / 434.3 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.942e-05/0.2603, allocations: 35.84 kB / 434.3 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.323e-05/0.2603, allocations: 7.938 kB / 434.4 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.6e-05/0.2604, allocations: 8 kB / 434.4 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.015e-05/0.2604, allocations: 15.92 kB / 434.4 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.644e-05/0.2604, allocations: 23.88 kB / 434.4 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001442/0.2606, allocations: 78.73 kB / 434.5 MB, free: 4.547 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2606, allocations: 3.938 kB / 434.5 MB, free: 4.543 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2606, allocations: 0 / 434.5 MB, free: 4.543 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.2606, allocations: 0 / 434.5 MB, free: 4.543 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.0005051/0.2611, allocations: 313.7 kB / 434.8 MB, free: 4.207 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.2611, allocations: 12.03 kB / 434.8 MB, free: 4.195 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.54e-05/0.2612, allocations: 8.891 kB / 434.8 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002628/0.2614, allocations: 142.4 kB / 434.9 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.2615, allocations: 4.375 kB / 434.9 MB, free: 4.02 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/0.2615, allocations: 8.375 kB / 435 MB, free: 4.012 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004025/0.2619, allocations: 188.9 kB / 435.1 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.2619, allocations: 192 / 435.1 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.2619, allocations: 15.94 kB / 435.2 MB, free: 3.793 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.2619, allocations: 0 / 435.2 MB, free: 3.793 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.262, allocations: 35.92 kB / 435.2 MB, free: 3.758 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003824/0.2624, allocations: 313.5 kB / 435.5 MB, free: 3.414 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001952/0.2626, allocations: 107.8 kB / 435.6 MB, free: 3.281 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.856e-05/0.2627, allocations: 58.62 kB / 435.7 MB, free: 3.215 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.2627, allocations: 0 / 435.7 MB, free: 3.215 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.2627, allocations: 38.5 kB / 435.7 MB, free: 3.168 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 3.286e-06/0.2627, allocations: 7.938 kB / 435.7 MB, free: 3.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003602/0.2631, allocations: 133.5 kB / 435.8 MB, free: 3.023 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.453e-05/0.2632, allocations: 106.8 kB / 435.9 MB, free: 2.895 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.2633, allocations: 141.8 kB / 436.1 MB, free: 2.746 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.2633, allocations: 25.7 kB / 436.1 MB, free: 2.715 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.313e-05/0.2634, allocations: 92.38 kB / 436.2 MB, free: 2.617 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.775e-05/0.2634, allocations: 11.98 kB / 436.2 MB, free: 2.605 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.72e-05/0.2635, allocations: 29.67 kB / 436.2 MB, free: 2.57 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.2636, allocations: 322.8 kB / 436.6 MB, free: 2.246 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.625e-05/0.2637, allocations: 16.23 kB / 436.6 MB, free: 2.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.592e-05/0.2637, allocations: 85.38 kB / 436.6 MB, free: 2.113 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/0.2639, allocations: 101.3 kB / 436.7 MB, free: 1.98 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2639, allocations: 0 / 436.7 MB, free: 1.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002065/0.2641, allocations: 125.3 kB / 436.9 MB, free: 1.852 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.2641, allocations: 8 kB / 436.9 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.2641, allocations: 352 / 436.9 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/0.2641, allocations: 11.98 kB / 436.9 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.355e-05/0.2642, allocations: 8 kB / 436.9 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.2642, allocations: 7.938 kB / 436.9 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.075e-05/0.2642, allocations: 15.92 kB / 436.9 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.2642, allocations: 4 kB / 436.9 MB, free: 1.797 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 (step.y,xor1.y,xor1.u2,xor1.u1,xor.y,xor.u2,xor.u1,integerConstant.y,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.0001133/0.2644, allocations: 137 kB / 437.1 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001512/0.2645, allocations: 81.58 kB / 437.1 MB, free: 1.57 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.227e-05/0.2646, allocations: 20.7 kB / 437.2 MB, free: 1.547 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.2646, allocations: 0 / 437.2 MB, free: 1.547 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.2646, allocations: 4.469 kB / 437.2 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.2646, allocations: 4 kB / 437.2 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002092/0.2648, allocations: 121.3 kB / 437.3 MB, free: 1.391 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.2648, allocations: 7.922 kB / 437.3 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.705e-05/0.2648, allocations: 3.938 kB / 437.3 MB, free: 1.379 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.2648, allocations: 7.938 kB / 437.3 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.759e-06/0.2648, allocations: 4 kB / 437.3 MB, free: 1.367 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.2648, allocations: 0 / 437.3 MB, free: 1.367 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.2648, allocations: 4 kB / 437.3 MB, free: 1.363 MB / 334.1 MB [/var/lib/jenkins1/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.) xor.u2 sample2.y hold1.y hold1.u xor1.y xor1.u2 xor.y xor.y = not (xor.u1 and xor.u2 or not xor.u1 and not xor.u2) xor1.u2 = xor.y xor1.y = not (xor1.u1 and xor1.u2 or not xor1.u1 and not xor1.u2) hold1.u = xor1.y hold1.y = $getPart(hold1.u) sample2.y = $getPart(hold1.y) xor.u2 = sample2.y [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: xor.u2 sample2.y hold1.y hold1.u xor1.y xor1.u2 xor.y equations: xor.y = not (xor.u1 and xor.u2 or not xor.u1 and not xor.u2) xor1.u2 = xor.y xor1.y = not (xor1.u1 and xor1.u2 or not xor1.u1 and not xor1.u2) hold1.u = xor1.y hold1.y = $getPart(hold1.u) sample2.y = $getPart(hold1.y) xor.u2 = sample2.y [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8018:5-8018: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.0003739/0.2652, allocations: 334.9 kB / 437.6 MB, free: 1.023 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.002e-05/0.2652, allocations: 27.81 kB / 437.7 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/0.2653, allocations: 7.984 kB / 437.7 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.2654, allocations: 7.938 kB / 437.7 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.757e-05/0.2654, allocations: 3.938 kB / 437.7 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.2654, allocations: 4 kB / 437.7 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.929e-05/0.2655, allocations: 111.2 kB / 437.8 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2655, allocations: 0 / 437.8 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003072/0.2658, allocations: 12 kB / 437.8 MB, free: 0.8516 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 (step.y,hold1.y,sample1.y,hold1.u,sample2.y,integerConstant.y,xor.u1,xor.u2,xor.y,xor1.u1,xor1.u2,xor1.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.000104/0.2659, allocations: 106.8 kB / 437.9 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001767/0.2661, allocations: 67.84 kB / 438 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2661, allocations: 0 / 438 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.332e-05/0.2661, allocations: 12.62 kB / 438 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000666/0.2668, allocations: 48.06 kB / 438 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000582/0.2674, allocations: 211.7 kB / 438.2 MB, free: 388 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001542/0.2675, allocations: 95.12 kB / 438.3 MB, free: 272 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.285e-05/0.2676, allocations: 4.438 kB / 438.3 MB, free: 268 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.297e-05/0.2676, allocations: 11.44 kB / 438.4 MB, free: 256 kB / 334.1 MB Notification: Performance of SimCode: time 5.71e-07/0.2676, allocations: 0 / 438.4 MB, free: 256 kB / 334.1 MB Notification: Performance of Templates: time 0.004726/0.2723, allocations: 0.8889 MB / 439.2 MB, free: 15.38 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample2/Sample2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.305958806013223]