Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001285/0.001285, allocations: 119.3 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001366/0.001366, allocations: 206.8 kB / 24.46 MB, free: 3.902 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.386/1.386, allocations: 230.5 MB / 258.1 MB, free: 8.148 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|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|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|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|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 71.83 kB / 378.7 MB, free: 2.879 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2751, allocations: 53.33 MB / 432.1 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01639/0.2915, allocations: 13.55 MB / 445.6 MB, free: 9.754 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008517/0.3, allocations: 4.526 MB / 450.2 MB, free: 5.215 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0019/0.3019, allocations: 79.69 kB / 450.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00272/0.3046, allocations: 1.041 MB / 451.3 MB, free: 4.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003769/0.3084, allocations: 1.293 MB / 452.6 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002125/0.3105, allocations: 0.9025 MB / 453.5 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005171/0.3157, allocations: 3.919 MB / 457.4 MB, free: 13.95 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002738/0.3184, allocations: 1.792 MB / 459.2 MB, free: 12.09 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00282/0.3212, allocations: 1.85 MB / 461 MB, free: 10.23 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003765/0.325, allocations: 2.227 MB / 463.3 MB, free: 7.996 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001163/0.3261, allocations: 0.4961 MB / 463.8 MB, free: 7.5 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002044/0.3282, allocations: 0.7224 MB / 464.5 MB, free: 6.777 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001337/0.3295, allocations: 1.11 MB / 465.6 MB, free: 5.664 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003106/0.3326, allocations: 2.085 MB / 467.7 MB, free: 3.57 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008506/0.3411, allocations: 6.65 MB / 474.3 MB, free: 12.9 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.3411, allocations: 4 kB / 474.3 MB, free: 12.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.3412, allocations: 0 / 474.3 MB, free: 12.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001337/0.3413, allocations: 0 / 474.3 MB, free: 12.89 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.01173/0.353, allocations: 4.421 MB / 478.7 MB, free: 8.398 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.3531, allocations: 8.031 kB / 478.8 MB, free: 8.391 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004308/0.3574, allocations: 0.8027 MB / 479.6 MB, free: 7.586 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005142/0.3625, allocations: 2.416 MB / 482 MB, free: 5.113 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002136/0.3627, allocations: 246.2 kB / 482.2 MB, free: 4.871 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006357/0.3634, allocations: 308 kB / 482.5 MB, free: 4.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007517/0.3709, allocations: 4.23 MB / 486.7 MB, free: 296 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-05/0.3709, allocations: 4 kB / 486.7 MB, free: 292 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002997/0.3712, allocations: 127.9 kB / 486.9 MB, free: 164 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00016/0.3714, allocations: 158.2 kB / 487 MB, free: 4 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006466/0.3779, allocations: 3.612 MB / 490.6 MB, free: 12.38 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02142/0.3993, allocations: 13.14 MB / 0.492 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007586/0.4069, allocations: 7.05 MB / 0.4989 GB, free: 6.898 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003044/0.4099, allocations: 1.508 MB / 0.5003 GB, free: 5.391 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007233/0.4171, allocations: 4.218 MB / 0.5044 GB, free: 1.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.719e-05/0.4172, allocations: 43.56 kB / 0.5045 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of pre-optimization done (n=120): time 2.886e-06/0.4172, allocations: 0 / 0.5045 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of matching and sorting (n=123): time 0.01118/0.4284, allocations: 5.6 MB / 0.51 GB, free: 11.18 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.4284, allocations: 64.41 kB / 0.51 GB, free: 11.1 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002523/0.4309, allocations: 1.722 MB / 0.5117 GB, free: 9.375 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.168e-05/0.431, allocations: 49.7 kB / 0.5117 GB, free: 9.32 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001283/0.4323, allocations: 1.442 MB / 0.5132 GB, free: 7.863 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000366/0.4327, allocations: 464 kB / 0.5136 GB, free: 7.406 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000441/0.4331, allocations: 287.5 kB / 0.5139 GB, free: 7.121 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.4332, allocations: 305.1 kB / 0.5142 GB, free: 6.82 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001125/0.4344, allocations: 0.6675 MB / 0.5148 GB, free: 6.152 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001469/0.4358, allocations: 1.117 MB / 0.5159 GB, free: 4.836 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002793/0.4386, allocations: 1.898 MB / 0.5178 GB, free: 2.738 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.4386, allocations: 4 kB / 0.5178 GB, free: 2.734 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003995/0.4426, allocations: 2.41 MB / 0.5201 GB, free: 292 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/0.4427, allocations: 15.94 kB / 0.5201 GB, free: 276 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.165e-05/0.4427, allocations: 16 kB / 0.5201 GB, free: 260 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008052/0.4435, allocations: 310.9 kB / 0.5204 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001347/0.4448, allocations: 355.4 kB / 0.5208 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006928/0.4518, allocations: 6.623 MB / 0.5273 GB, free: 8.547 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/0.4531, allocations: 79.84 kB / 0.5273 GB, free: 8.469 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001203/0.4532, allocations: 71.98 kB / 0.5274 GB, free: 8.398 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (177): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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): 3 systems {(1,1,100.0%), (1,8,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001709/0.455, allocations: 1.001 MB / 0.5284 GB, free: 7.387 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003278/0.4553, allocations: 190.8 kB / 0.5286 GB, free: 7.199 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004024/0.4593, allocations: 2.198 MB / 0.5307 GB, free: 4.93 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.4593, allocations: 12 kB / 0.5307 GB, free: 4.918 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/0.4593, allocations: 8.188 kB / 0.5307 GB, free: 4.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.383e-05/0.4593, allocations: 7.969 kB / 0.5307 GB, free: 4.902 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1935/0.6528, allocations: 4.927 MB / 0.5355 GB, free: 98.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.822e-05/0.6529, allocations: 5.406 kB / 0.5355 GB, free: 98.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009526/0.6538, allocations: 166.2 kB / 0.5357 GB, free: 98.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001493/0.6553, allocations: 498.8 kB / 0.5362 GB, free: 98.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001248/0.6554, allocations: 36.72 kB / 0.5362 GB, free: 98.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008572/0.664, allocations: 11.46 MB / 0.5474 GB, free: 90.04 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.664, allocations: 3.969 kB / 0.5474 GB, free: 90.04 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004238/0.6682, allocations: 3.097 MB / 0.5504 GB, free: 88.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007858/0.669, allocations: 421 kB / 0.5508 GB, free: 88.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002123/0.6692, allocations: 35.31 kB / 0.5509 GB, free: 88.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007952/0.67, allocations: 59.08 kB / 0.5509 GB, free: 88.38 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002122/0.6702, allocations: 105.7 kB / 0.551 GB, free: 88.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.458e-05/0.6703, allocations: 39.45 kB / 0.5511 GB, free: 88.35 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001284/0.6716, allocations: 1.182 MB / 0.5522 GB, free: 87.88 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.6716, allocations: 1.531 kB / 0.5522 GB, free: 87.88 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001615/0.6732, allocations: 0.5508 MB / 0.5528 GB, free: 87.84 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.inertiaRotor.w,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,loadInertia.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 (83): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,8,100.0%), (1,1,100.0%), (1,8,100.0%), (1,13,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.000258/0.6735, allocations: 168.6 kB / 0.5529 GB, free: 87.72 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002565/0.676, allocations: 2.063 MB / 0.5549 GB, free: 86.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.676, allocations: 4 kB / 0.5549 GB, free: 86.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001733/0.6778, allocations: 1.5 MB / 0.5564 GB, free: 85.74 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001781/0.6795, allocations: 0.5192 MB / 0.5569 GB, free: 85.56 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006804/0.6863, allocations: 5.579 MB / 0.5624 GB, free: 82.74 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001265/0.6876, allocations: 2.241 MB / 0.5646 GB, free: 80.91 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003722/0.688, allocations: 135.4 kB / 0.5647 GB, free: 80.79 MB / 446.1 MB Notification: Performance of SimCode: time 6.01e-07/0.688, allocations: 0 / 0.5647 GB, free: 80.79 MB / 446.1 MB Notification: Performance of Templates: time 0.08532/0.7733, allocations: 110.4 MB / 0.6725 GB, free: 2.859 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.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: 12.958771700970829]