Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.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.001804/0.001804, allocations: 113.6 kB / 21.19 MB, free: 0.7031 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.00205/0.00205, allocations: 208.6 kB / 24.49 MB, free: 4.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.473/1.473, allocations: 207.6 MB / 235.3 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMR_CurrentSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMR_CurrentSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 54.59 kB / 347.2 MB, free: 10.07 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2834, allocations: 49.15 MB / 396.4 MB, free: 9 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource): time 0.04742/0.3309, allocations: 40.28 MB / 436.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02733/0.3582, allocations: 10.58 MB / 447.3 MB, free: 300 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009729/0.3679, allocations: 326.2 kB / 447.6 MB, free: 15.97 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02252/0.3905, allocations: 8.687 MB / 456.3 MB, free: 7.246 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01456/0.405, allocations: 3.777 MB / 460 MB, free: 3.449 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008261/0.4133, allocations: 2.467 MB / 462.5 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02128/0.4346, allocations: 13.5 MB / 476 MB, free: 3.422 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03645/0.471, allocations: 17.48 MB / 493.5 MB, free: 1.785 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01403/0.485, allocations: 7.219 MB / 0.489 GB, free: 10.54 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01556/0.5006, allocations: 8.164 MB / 0.4969 GB, free: 2.352 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00653/0.5071, allocations: 1.988 MB / 0.4989 GB, free: 372 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00877/0.5159, allocations: 2.386 MB / 0.5012 GB, free: 13.98 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007658/0.5236, allocations: 4.189 MB / 0.5053 GB, free: 9.781 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01617/0.5397, allocations: 7.824 MB / 0.5129 GB, free: 1.926 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03954/0.5793, allocations: 26.49 MB / 0.5388 GB, free: 7.348 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.14e-05/0.5793, allocations: 4 kB / 0.5388 GB, free: 7.344 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.5793, allocations: 0 / 0.5388 GB, free: 7.344 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0008304/0.5801, allocations: 0 / 0.5388 GB, free: 7.344 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3512 * Number of variables: 3512 Notification: Performance of Generate backend data structure: time 0.05063/0.6307, allocations: 15.81 MB / 0.5543 GB, free: 7.414 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.922e-05/0.6308, allocations: 15.98 kB / 0.5543 GB, free: 7.398 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006947/0.6377, allocations: 1.798 MB / 0.556 GB, free: 5.59 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4035/1.041, allocations: 9.176 MB / 0.565 GB, free: 130.8 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.021/1.062, allocations: 7.551 MB / 0.5724 GB, free: 128 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001101/1.063, allocations: 0.9428 MB / 0.5733 GB, free: 127.6 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005085/1.068, allocations: 1.248 MB / 0.5745 GB, free: 127.1 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05039/1.119, allocations: 20.16 MB / 0.5942 GB, free: 117.2 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005033/1.119, allocations: 20.97 kB / 0.5942 GB, free: 117.2 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004082/1.123, allocations: 0.5135 MB / 0.5947 GB, free: 116.7 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006418/1.124, allocations: 0.7371 MB / 0.5954 GB, free: 115.9 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03674/1.161, allocations: 18.98 MB / 0.614 GB, free: 96.92 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09707/1.258, allocations: 60.57 MB / 0.6731 GB, free: 36.05 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02232/1.28, allocations: 14.87 MB / 0.6877 GB, free: 24.47 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005341/1.286, allocations: 3.734 MB / 0.6913 GB, free: 20.71 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01829/1.304, allocations: 10.96 MB / 0.702 GB, free: 10.02 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.904e-05/1.304, allocations: 77.23 kB / 0.7021 GB, free: 9.934 MB / 478.1 MB Notification: Performance of pre-optimization done (n=349): time 6.242e-06/1.304, allocations: 0 / 0.7021 GB, free: 9.934 MB / 478.1 MB Notification: Performance of matching and sorting (n=389): time 0.03765/1.342, allocations: 17.89 MB / 0.7195 GB, free: 8.035 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.831e-05/1.342, allocations: 94.47 kB / 0.7196 GB, free: 7.93 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009593/1.351, allocations: 5.467 MB / 0.725 GB, free: 2.488 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007932/1.352, allocations: 89.7 kB / 0.7251 GB, free: 2.395 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005375/1.357, allocations: 6.097 MB / 0.731 GB, free: 12.24 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.001869/1.359, allocations: 1.437 MB / 0.7324 GB, free: 10.79 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002681/1.362, allocations: 1.525 MB / 0.7339 GB, free: 9.258 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0001256/1.362, allocations: 301.1 kB / 0.7342 GB, free: 8.961 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005526/1.368, allocations: 3.08 MB / 0.7372 GB, free: 5.879 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009205/1.377, allocations: 6.755 MB / 0.7438 GB, free: 13.36 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01529/1.392, allocations: 10.58 MB / 0.7541 GB, free: 0.9727 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001097/1.392, allocations: 40 kB / 0.7542 GB, free: 0.9336 MB / 0.5138 GB Notification: Performance of matching and sorting (n=982) (initialization): time 0.02131/1.413, allocations: 10.8 MB / 0.7647 GB, free: 6.078 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001074/1.414, allocations: 60 kB / 0.7648 GB, free: 6.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002122/1.414, allocations: 124 kB / 0.7649 GB, free: 5.898 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002713/1.417, allocations: 0.973 MB / 0.7658 GB, free: 4.91 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0069/1.423, allocations: 1.813 MB / 0.7676 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.231/1.654, allocations: 9.934 MB / 0.7773 GB, free: 164.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006677/1.661, allocations: 448.9 kB / 0.7777 GB, free: 164.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001547/1.663, allocations: 417.1 kB / 0.7781 GB, free: 164.6 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 572 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (933): * Single equations (assignments): 928 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (8,38,65.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009092/1.672, allocations: 4.464 MB / 0.7825 GB, free: 162.8 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00151/1.673, allocations: 0.5683 MB / 0.783 GB, free: 162.8 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01203/1.685, allocations: 6.493 MB / 0.7894 GB, free: 160.2 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.686e-05/1.685, allocations: 43.56 kB / 0.7894 GB, free: 160.2 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.992e-05/1.685, allocations: 8.281 kB / 0.7894 GB, free: 160.2 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.917e-05/1.685, allocations: 21.75 kB / 0.7895 GB, free: 160.2 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02943/1.715, allocations: 15.95 MB / 0.805 GB, free: 153.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.407e-05/1.715, allocations: 3.969 kB / 0.805 GB, free: 153.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003149/1.718, allocations: 0.7628 MB / 0.8058 GB, free: 153.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002003/1.72, allocations: 0.7959 MB / 0.8066 GB, free: 153.6 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000308/1.72, allocations: 85.25 kB / 0.8066 GB, free: 153.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009027/1.729, allocations: 9.056 MB / 0.8155 GB, free: 147.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/1.729, allocations: 2.875 kB / 0.8155 GB, free: 147.4 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01299/1.742, allocations: 9.541 MB / 0.8248 GB, free: 143.5 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002904/1.745, allocations: 1.046 MB / 0.8258 GB, free: 143.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001243/1.746, allocations: 71 kB / 0.8259 GB, free: 143.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003016/1.749, allocations: 221.7 kB / 0.8261 GB, free: 143.1 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005518/1.75, allocations: 279 kB / 0.8264 GB, free: 143.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002425/1.75, allocations: 115.7 kB / 0.8265 GB, free: 143 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005395/1.756, allocations: 3.601 MB / 0.83 GB, free: 141.8 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.71e-07/1.756, allocations: 2.031 kB / 0.83 GB, free: 141.8 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007972/1.764, allocations: 1.985 MB / 0.8319 GB, free: 139.8 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (inertiaLoad.w,quadraticSpeedDependentTorque.phi,inertiaLoadQS.w,quadraticSpeedDependentTorqueQS.phi) * 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 (368): * Single equations (assignments): 363 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (8,38,65.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0137/1.777, allocations: 10.24 MB / 0.8419 GB, free: 130.2 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01115/1.789, allocations: 7.588 MB / 0.8494 GB, free: 122.6 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.756e-06/1.789, allocations: 0 / 0.8494 GB, free: 122.6 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004941/1.793, allocations: 3.158 MB / 0.8524 GB, free: 119.4 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006341/1.8, allocations: 1.31 MB / 0.8537 GB, free: 118.1 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1067/1.907, allocations: 70.68 MB / 0.9227 GB, free: 42.53 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01089/1.917, allocations: 7.594 MB / 0.9302 GB, free: 34.89 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006901/1.924, allocations: 2.355 MB / 0.9325 GB, free: 32.52 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007064/1.931, allocations: 4.518 MB / 0.9369 GB, free: 28.01 MB / 0.5294 GB Notification: Performance of SimCode: time 1.613e-06/1.931, allocations: 0 / 0.9369 GB, free: 28.01 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4326/2.364, allocations: 157.4 MB / 1.091 GB, free: 99.84 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.09/28.46, allocations: 15.88 kB / 1.091 GB, free: 99.83 MB / 0.545 GB " [Timeout remaining time 631] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMR_CurrentSource_fmu --startTime=0 --stopTime=2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMR_CurrentSource.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMR_CurrentSource/SMR_CurrentSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 652] Reference file matches [Calling sys.exit(0), Time elapsed: 44.989615440834314]