Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.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.001846/0.001846, allocations: 107.5 kB / 20.44 MB, free: 1.066 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.002087/0.002087, allocations: 186 kB / 23.7 MB, free: 4.191 MB / 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.44/1.44, allocations: 225.7 MB / 252.5 MB, free: 12.8 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.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001603/0.001603, allocations: 47.92 kB / 370.9 MB, free: 9.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2377/0.2393, allocations: 52.18 MB / 423.1 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01582/0.2552, allocations: 11.95 MB / 435 MB, free: 2.465 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008643/0.2638, allocations: 4.197 MB / 439.2 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001626/0.2654, allocations: 99.44 kB / 439.3 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002876/0.2683, allocations: 0.9823 MB / 440.3 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004385/0.2727, allocations: 1.355 MB / 441.7 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002335/0.275, allocations: 0.874 MB / 442.5 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005275/0.2803, allocations: 4.075 MB / 446.6 MB, free: 6.844 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002644/0.283, allocations: 1.727 MB / 448.3 MB, free: 5.047 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003097/0.286, allocations: 1.955 MB / 450.3 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00366/0.2897, allocations: 1.98 MB / 452.3 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007539/0.2905, allocations: 0.5078 MB / 452.8 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00158/0.292, allocations: 0.6873 MB / 453.5 MB, free: 15.9 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001075/0.2931, allocations: 1.114 MB / 454.6 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002018/0.2951, allocations: 1.696 MB / 456.3 MB, free: 13.08 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007495/0.3026, allocations: 6.747 MB / 463 MB, free: 6.312 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.3026, allocations: 4 kB / 463 MB, free: 6.309 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.497e-06/0.3026, allocations: 3.984 kB / 463 MB, free: 6.305 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.714e-05/0.3027, allocations: 0 / 463 MB, free: 6.305 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.01028/0.313, allocations: 4.412 MB / 467.5 MB, free: 1.836 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.3131, allocations: 8.031 kB / 467.5 MB, free: 1.828 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004176/0.3172, allocations: 0.8339 MB / 468.3 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00466/0.3219, allocations: 2.361 MB / 470.7 MB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002179/0.3221, allocations: 246.8 kB / 470.9 MB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000521/0.3226, allocations: 324.1 kB / 471.2 MB, free: 14.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0078/0.3304, allocations: 4.425 MB / 475.6 MB, free: 9.508 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.263e-05/0.3305, allocations: 15.88 kB / 475.7 MB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003148/0.3308, allocations: 132 kB / 475.8 MB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001697/0.331, allocations: 150.4 kB / 475.9 MB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006602/0.3376, allocations: 3.582 MB / 479.5 MB, free: 5.625 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02102/0.3586, allocations: 11.8 MB / 491.3 MB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00526/0.3639, allocations: 2.579 MB / 493.9 MB, free: 7.02 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002361/0.3662, allocations: 1.273 MB / 495.2 MB, free: 5.746 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005986/0.3722, allocations: 2.999 MB / 498.2 MB, free: 2.723 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.754e-05/0.3723, allocations: 51.88 kB / 498.2 MB, free: 2.66 MB / 398.1 MB Notification: Performance of pre-optimization done (n=134): time 3.196e-06/0.3723, allocations: 0 / 498.2 MB, free: 2.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=137): time 0.01136/0.3836, allocations: 5.202 MB / 0.4916 GB, free: 13.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.498e-05/0.3837, allocations: 72.66 kB / 0.4917 GB, free: 13.33 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002269/0.386, allocations: 1.595 MB / 0.4932 GB, free: 11.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.693e-05/0.3861, allocations: 49.7 kB / 0.4933 GB, free: 11.67 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001143/0.3872, allocations: 1.496 MB / 0.4947 GB, free: 10.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004318/0.3876, allocations: 0.4919 MB / 0.4952 GB, free: 9.668 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004967/0.3881, allocations: 319.5 kB / 0.4955 GB, free: 9.352 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.3883, allocations: 305.1 kB / 0.4958 GB, free: 9.051 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001167/0.3894, allocations: 0.6793 MB / 0.4965 GB, free: 8.371 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001619/0.391, allocations: 1.222 MB / 0.4977 GB, free: 6.918 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002911/0.394, allocations: 1.995 MB / 0.4996 GB, free: 4.699 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.686e-06/0.394, allocations: 8 kB / 0.4996 GB, free: 4.691 MB / 414.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004291/0.3983, allocations: 2.453 MB / 0.502 GB, free: 2.215 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/0.3983, allocations: 8 kB / 0.502 GB, free: 2.207 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.06e-05/0.3983, allocations: 16 kB / 0.5021 GB, free: 2.191 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009911/0.3993, allocations: 372.2 kB / 0.5024 GB, free: 1.812 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001401/0.4007, allocations: 371.4 kB / 0.5028 GB, free: 1.449 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008502/0.4092, allocations: 7.825 MB / 0.5104 GB, free: 9.223 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/0.4106, allocations: 75.92 kB / 0.5105 GB, free: 9.148 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001314/0.4107, allocations: 75.98 kB / 0.5106 GB, free: 9.074 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(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): 4 systems {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001754/0.4125, allocations: 1.013 MB / 0.5115 GB, free: 8.051 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003382/0.4128, allocations: 182.8 kB / 0.5117 GB, free: 7.871 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004068/0.4169, allocations: 2.094 MB / 0.5138 GB, free: 5.738 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-05/0.4169, allocations: 20 kB / 0.5138 GB, free: 5.719 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-05/0.4169, allocations: 8 kB / 0.5138 GB, free: 5.711 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.532e-05/0.4169, allocations: 11.91 kB / 0.5138 GB, free: 5.699 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007868/0.4248, allocations: 4.192 MB / 0.5179 GB, free: 1.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.4248, allocations: 0 / 0.5179 GB, free: 1.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008236/0.4256, allocations: 176 kB / 0.5181 GB, free: 1.258 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001475/0.4271, allocations: 0.5304 MB / 0.5186 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001047/0.4272, allocations: 35.98 kB / 0.5186 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01356/0.4407, allocations: 12.34 MB / 0.5307 GB, free: 3.738 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.4408, allocations: 0 / 0.5307 GB, free: 3.738 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005321/0.4461, allocations: 3.044 MB / 0.5336 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008831/0.447, allocations: 338.7 kB / 0.534 GB, free: 312 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002268/0.4472, allocations: 36 kB / 0.534 GB, free: 276 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008249/0.448, allocations: 67.88 kB / 0.5341 GB, free: 208 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002558/0.4483, allocations: 117.1 kB / 0.5342 GB, free: 92 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.342e-05/0.4483, allocations: 40 kB / 0.5342 GB, free: 52 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.1904/0.6388, allocations: 1.058 MB / 0.5352 GB, free: 105.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.6388, allocations: 0 / 0.5352 GB, free: 105.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003107/0.6419, allocations: 0.5792 MB / 0.5358 GB, free: 105.2 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%), (1,8,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003575/0.6423, allocations: 158.1 kB / 0.536 GB, free: 105.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003388/0.6456, allocations: 2.213 MB / 0.5381 GB, free: 104.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.6457, allocations: 0 / 0.5381 GB, free: 104.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00217/0.6478, allocations: 1.687 MB / 0.5398 GB, free: 103.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002007/0.6498, allocations: 449.3 kB / 0.5402 GB, free: 103.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008095/0.6579, allocations: 5.896 MB / 0.5459 GB, free: 100.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00164/0.6596, allocations: 1.76 MB / 0.5477 GB, free: 100.1 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001099/0.6607, allocations: 372.2 kB / 0.548 GB, free: 100.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002654/0.6609, allocations: 117.3 kB / 0.5481 GB, free: 100 MB / 446.1 MB Notification: Performance of SimCode: time 7.71e-07/0.6609, allocations: 0 / 0.5481 GB, free: 100 MB / 446.1 MB Notification: Performance of Templates: time 0.04043/0.7014, allocations: 31.13 MB / 0.5785 GB, free: 70.96 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.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: 5.788499716669321]