Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled.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.00131/0.00131, allocations: 114.9 kB / 19.04 MB, free: 3.281 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.001234/0.001234, allocations: 190 kB / 22.21 MB, free: 112 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.4/1.4, allocations: 225.6 MB / 250.8 MB, free: 13.39 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.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|PID.I.y|dcpm.la.i|firstOrder.y|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|PID.I.y|dcpm.la.i|firstOrder.y|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 47.92 kB / 368.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2469/0.2484, allocations: 52.14 MB / 420.9 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled): time 0.01043/0.2588, allocations: 8.248 MB / 429.1 MB, free: 6.844 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005321/0.2641, allocations: 2.718 MB / 431.8 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001128/0.2652, allocations: 23.94 kB / 431.9 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001601/0.2668, allocations: 0.559 MB / 432.4 MB, free: 3.535 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001176/0.268, allocations: 464.5 kB / 432.9 MB, free: 3.078 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000782/0.2688, allocations: 379.3 kB / 433.3 MB, free: 2.707 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001754/0.2706, allocations: 1.507 MB / 434.8 MB, free: 1.195 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007064/0.2713, allocations: 419.5 kB / 435.2 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007899/0.2721, allocations: 0.5525 MB / 435.7 MB, free: 212 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008418/0.2729, allocations: 0.6028 MB / 436.3 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001778/0.2731, allocations: 144 kB / 436.5 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003228/0.2734, allocations: 183.8 kB / 436.6 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002475/0.2736, allocations: 282.9 kB / 436.9 MB, free: 15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006824/0.2743, allocations: 0.6685 MB / 437.6 MB, free: 14.33 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002225/0.2766, allocations: 1.731 MB / 439.3 MB, free: 12.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.2766, allocations: 3.984 kB / 439.3 MB, free: 12.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2766, allocations: 0 / 439.3 MB, free: 12.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.488e-05/0.2766, allocations: 0 / 439.3 MB, free: 12.59 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.002712/0.2793, allocations: 1.545 MB / 440.9 MB, free: 10.99 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/0.2794, allocations: 8.031 kB / 440.9 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007134/0.2801, allocations: 188 kB / 441.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001674/0.2817, allocations: 0.8063 MB / 441.9 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.875e-05/0.2818, allocations: 73.94 kB / 441.9 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001734/0.282, allocations: 107.9 kB / 442 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001862/0.2839, allocations: 0.9497 MB / 443 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.001e-05/0.2839, allocations: 7.984 kB / 443 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.842e-05/0.284, allocations: 44 kB / 443 MB, free: 8.734 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.115e-05/0.284, allocations: 24 kB / 443.1 MB, free: 8.711 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001246/0.2853, allocations: 0.6324 MB / 443.7 MB, free: 8.074 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005723/0.291, allocations: 4.093 MB / 447.8 MB, free: 3.758 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000974/0.292, allocations: 411.7 kB / 448.2 MB, free: 3.348 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002952/0.2923, allocations: 161.4 kB / 448.4 MB, free: 3.188 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.704e-05/0.2923, allocations: 4 kB / 448.4 MB, free: 3.184 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.2923, allocations: 30.56 kB / 448.4 MB, free: 3.145 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 1.853e-06/0.2923, allocations: 0 / 448.4 MB, free: 3.145 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002426/0.2948, allocations: 1.344 MB / 449.7 MB, free: 1.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.501e-05/0.2948, allocations: 106.8 kB / 449.8 MB, free: 1.602 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001142/0.296, allocations: 0.8898 MB / 450.7 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.468e-05/0.296, allocations: 41.64 kB / 450.8 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004477/0.2965, allocations: 0.6047 MB / 451.4 MB, free: 28 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001279/0.2966, allocations: 158.9 kB / 451.5 MB, free: 15.87 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001911/0.2968, allocations: 142.5 kB / 451.7 MB, free: 15.72 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.2969, allocations: 333.9 kB / 452 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003215/0.2973, allocations: 172.8 kB / 452.2 MB, free: 15.22 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005746/0.2978, allocations: 497.6 kB / 452.6 MB, free: 14.58 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009123/0.2987, allocations: 0.6792 MB / 453.3 MB, free: 13.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.615e-06/0.2987, allocations: 8 kB / 453.3 MB, free: 13.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001204/0.3, allocations: 0.7471 MB / 454.1 MB, free: 12.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.3, allocations: 12 kB / 454.1 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.3, allocations: 8 kB / 454.1 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001507/0.3001, allocations: 36.84 kB / 454.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005524/0.3007, allocations: 168.1 kB / 454.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001104/0.3018, allocations: 1.394 MB / 455.7 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000497/0.3023, allocations: 35.98 kB / 455.7 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.416e-05/0.3023, allocations: 32 kB / 455.8 MB, free: 11.17 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005523/0.3029, allocations: 354.1 kB / 456.1 MB, free: 10.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005361/0.3034, allocations: 481.8 kB / 456.6 MB, free: 10.2 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008441/0.3043, allocations: 0.6676 MB / 457.2 MB, free: 9.391 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.039e-06/0.3043, allocations: 8 kB / 457.2 MB, free: 9.383 MB / 366.1 MB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.001111/0.3054, allocations: 0.7166 MB / 458 MB, free: 8.656 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.3054, allocations: 10.97 kB / 458 MB, free: 8.648 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.3054, allocations: 15.94 kB / 458 MB, free: 8.633 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.593e-05/0.3055, allocations: 36.78 kB / 458 MB, free: 8.594 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005113/0.306, allocations: 167.7 kB / 458.2 MB, free: 8.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001025/0.307, allocations: 1.39 MB / 459.6 MB, free: 6.898 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004723/0.3075, allocations: 28 kB / 459.6 MB, free: 6.871 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.166e-05/0.3076, allocations: 44.11 kB / 459.7 MB, free: 6.828 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 1 (PID.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 89 * Array equations: 0 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001841/0.3077, allocations: 231.9 kB / 459.9 MB, free: 6.594 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/0.3079, allocations: 99.34 kB / 460 MB, free: 6.496 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008076/0.3087, allocations: 435.4 kB / 460.4 MB, free: 6.062 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.3087, allocations: 4 kB / 460.4 MB, free: 6.059 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.3087, allocations: 8 kB / 460.4 MB, free: 6.051 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.3087, allocations: 7.922 kB / 460.4 MB, free: 6.043 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002015/0.3107, allocations: 1.381 MB / 461.8 MB, free: 4.578 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.3107, allocations: 3.938 kB / 461.8 MB, free: 4.574 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003518/0.3111, allocations: 75.89 kB / 461.9 MB, free: 4.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.546e-05/0.3111, allocations: 20.86 kB / 461.9 MB, free: 4.477 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.967e-05/0.3112, allocations: 12 kB / 461.9 MB, free: 4.465 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00107/0.3122, allocations: 1.379 MB / 463.3 MB, free: 2.949 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3122, allocations: 160 / 463.3 MB, free: 2.949 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001077/0.3133, allocations: 0.7221 MB / 464 MB, free: 2.188 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002486/0.3136, allocations: 208.5 kB / 464.2 MB, free: 1.965 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.641e-05/0.3137, allocations: 12 kB / 464.2 MB, free: 1.953 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003744/0.314, allocations: 27.91 kB / 464.3 MB, free: 1.926 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.905e-05/0.3141, allocations: 31.91 kB / 464.3 MB, free: 1.895 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.018e-05/0.3141, allocations: 16 kB / 464.3 MB, free: 1.879 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008133/0.3149, allocations: 0.6015 MB / 464.9 MB, free: 1.266 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3149, allocations: 0 / 464.9 MB, free: 1.266 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00105/0.316, allocations: 351.9 kB / 465.2 MB, free: 0.9219 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 5 (dcpm.inertiaRotor.w,dcpm.la.i,loadTorque.phi,firstOrder.y,PID.I.y) * 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 (39): * Single equations (assignments): 38 * Array equations: 0 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002162/0.3162, allocations: 131.2 kB / 465.4 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001541/0.3178, allocations: 0.9263 MB / 466.3 MB, free: 15.83 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3178, allocations: 0 / 466.3 MB, free: 15.83 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004296/0.3182, allocations: 287.7 kB / 466.6 MB, free: 15.54 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.3192, allocations: 237.3 kB / 466.8 MB, free: 15.31 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003095/0.3223, allocations: 1.842 MB / 468.7 MB, free: 13.42 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006622/0.323, allocations: 1.025 MB / 469.7 MB, free: 12.36 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000425/0.3234, allocations: 123.3 kB / 469.8 MB, free: 12.24 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001486/0.3236, allocations: 63.44 kB / 469.9 MB, free: 12.18 MB / 382.1 MB Notification: Performance of SimCode: time 7.92e-07/0.3236, allocations: 4 kB / 469.9 MB, free: 12.17 MB / 382.1 MB Notification: Performance of Templates: time 0.02135/0.3449, allocations: 11.11 MB / 481 MB, free: 1.191 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_CurrentControlled/DCPM_CurrentControlled.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled.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.920069765299559]