Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.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.001435/0.001435, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.001444/0.001444, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.565/1.565, allocations: 230.5 MB / 254.1 MB, free: 15.11 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.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,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|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,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|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001699/0.001699, allocations: 39.94 kB / 373.5 MB, free: 9.707 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1059, allocations: 53.33 MB / 426.8 MB, free: 4.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.2048/0.3107, allocations: 14.13 MB / 441 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00973/0.3205, allocations: 5.223 MB / 446.2 MB, free: 108 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002758/0.3232, allocations: 107.1 kB / 446.3 MB, free: 64 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003617/0.3268, allocations: 1.165 MB / 447.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005333/0.3322, allocations: 1.429 MB / 448.9 MB, free: 14.57 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002923/0.3351, allocations: 0.9987 MB / 449.9 MB, free: 13.95 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006109/0.3412, allocations: 4.12 MB / 454 MB, free: 11.81 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003262/0.3445, allocations: 2.277 MB / 456.3 MB, free: 10.73 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003544/0.348, allocations: 1.977 MB / 458.2 MB, free: 9.77 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004402/0.3524, allocations: 2.32 MB / 460.6 MB, free: 8.672 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001059/0.3535, allocations: 0.51 MB / 461.1 MB, free: 8.672 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003578/0.357, allocations: 0.7744 MB / 461.9 MB, free: 8.574 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001579/0.3586, allocations: 1.151 MB / 463 MB, free: 7.828 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00405/0.3627, allocations: 2.152 MB / 465.2 MB, free: 6.375 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01045/0.3731, allocations: 6.857 MB / 472 MB, free: 1.211 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.3731, allocations: 0 / 472 MB, free: 1.211 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3731, allocations: 1.5 kB / 472 MB, free: 1.211 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001912/0.3733, allocations: 0 / 472 MB, free: 1.211 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: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.0145/0.3878, allocations: 4.622 MB / 476.6 MB, free: 14.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.3879, allocations: 8.656 kB / 476.6 MB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00494/0.3928, allocations: 0.8295 MB / 477.5 MB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00579/0.3986, allocations: 2.505 MB / 480 MB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002313/0.3988, allocations: 246.4 kB / 480.2 MB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008288/0.3997, allocations: 316 kB / 480.5 MB, free: 10.76 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008641/0.4083, allocations: 4.297 MB / 484.8 MB, free: 6.414 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.074e-05/0.4084, allocations: 3.953 kB / 484.8 MB, free: 6.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003475/0.4087, allocations: 132 kB / 485 MB, free: 6.281 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001662/0.4089, allocations: 154.4 kB / 485.1 MB, free: 6.129 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007125/0.416, allocations: 3.633 MB / 488.7 MB, free: 2.484 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02367/0.4397, allocations: 13.39 MB / 0.4904 GB, free: 4.773 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008121/0.4478, allocations: 7.09 MB / 0.4973 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003304/0.4511, allocations: 1.53 MB / 0.4988 GB, free: 11.22 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008072/0.4592, allocations: 4.327 MB / 0.503 GB, free: 6.742 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001535/0.4607, allocations: 0.8766 MB / 0.5039 GB, free: 5.836 MB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 2.805e-06/0.4607, allocations: 0 / 0.5039 GB, free: 5.836 MB / 414.1 MB Notification: Performance of matching and sorting (n=140): time 0.01534/0.4761, allocations: 6.749 MB / 0.5105 GB, free: 14.88 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001497/0.4762, allocations: 226.9 kB / 0.5107 GB, free: 14.61 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003163/0.4794, allocations: 1.932 MB / 0.5126 GB, free: 12.63 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001648/0.4795, allocations: 49.7 kB / 0.5126 GB, free: 12.58 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001555/0.4811, allocations: 1.529 MB / 0.5141 GB, free: 11.04 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005285/0.4816, allocations: 0.4997 MB / 0.5146 GB, free: 10.53 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005739/0.4822, allocations: 315.5 kB / 0.5149 GB, free: 10.22 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.4823, allocations: 309.1 kB / 0.5152 GB, free: 9.914 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001243/0.4836, allocations: 0.6801 MB / 0.5158 GB, free: 9.234 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001774/0.4853, allocations: 1.225 MB / 0.517 GB, free: 7.789 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003044/0.4884, allocations: 1.962 MB / 0.519 GB, free: 5.621 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.078e-05/0.4884, allocations: 4 kB / 0.519 GB, free: 5.617 MB / 430.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004828/0.4932, allocations: 2.519 MB / 0.5214 GB, free: 3.059 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.391e-05/0.4933, allocations: 12 kB / 0.5214 GB, free: 3.047 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.462e-05/0.4933, allocations: 16 kB / 0.5214 GB, free: 3.031 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000949/0.4942, allocations: 336 kB / 0.5218 GB, free: 2.691 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001514/0.4957, allocations: 371.4 kB / 0.5221 GB, free: 2.328 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007779/0.5035, allocations: 6.81 MB / 0.5288 GB, free: 11.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001926/0.5054, allocations: 91.91 kB / 0.5289 GB, free: 11.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001827/0.5056, allocations: 71.98 kB / 0.5289 GB, free: 10.94 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.dutyCycle.nextTimeEvent,$whenCondition1,dutyCycle.nextTimeEventScaled,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (193): * Single equations (assignments): 189 * 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,4,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.002058/0.5077, allocations: 1.038 MB / 0.5299 GB, free: 9.895 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004556/0.5081, allocations: 218.6 kB / 0.5302 GB, free: 9.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004624/0.5128, allocations: 2.321 MB / 0.5324 GB, free: 7.297 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.631e-05/0.5128, allocations: 16 kB / 0.5324 GB, free: 7.281 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/0.5128, allocations: 11.94 kB / 0.5324 GB, free: 7.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.708e-05/0.5128, allocations: 7.969 kB / 0.5325 GB, free: 7.262 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009212/0.522, allocations: 5.214 MB / 0.5375 GB, free: 1.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.522, allocations: 0 / 0.5375 GB, free: 1.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008658/0.5229, allocations: 179.8 kB / 0.5377 GB, free: 1.734 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001486/0.5244, allocations: 499.9 kB / 0.5382 GB, free: 1.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001101/0.5245, allocations: 43.97 kB / 0.5382 GB, free: 1.188 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01309/0.5376, allocations: 11.59 MB / 0.5496 GB, free: 4.898 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.5376, allocations: 0 / 0.5496 GB, free: 4.898 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005984/0.5436, allocations: 3.241 MB / 0.5527 GB, free: 1.566 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00114/0.5447, allocations: 443.6 kB / 0.5531 GB, free: 1.113 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002843/0.545, allocations: 35.98 kB / 0.5532 GB, free: 1.078 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009559/0.546, allocations: 63.95 kB / 0.5532 GB, free: 1.016 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002979/0.5462, allocations: 105.1 kB / 0.5533 GB, free: 0.9141 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.769e-05/0.5463, allocations: 43.98 kB / 0.5534 GB, free: 0.8711 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002189/0.5485, allocations: 1.327 MB / 0.5547 GB, free: 15.52 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5485, allocations: 0 / 0.5547 GB, free: 15.52 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002268/0.5508, allocations: 0.5937 MB / 0.5553 GB, free: 14.93 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (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,mass.s,mass.v) * Number of discrete variables: 3 ($whenCondition1,dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of discrete states: 2 (dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,3,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.001815/0.5526, allocations: 475.3 kB / 0.5557 GB, free: 14.61 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003903/0.5565, allocations: 2.167 MB / 0.5578 GB, free: 12.38 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.5565, allocations: 0.5 kB / 0.5578 GB, free: 12.38 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002646/0.5592, allocations: 1.547 MB / 0.5593 GB, free: 10.77 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002579/0.5617, allocations: 0.5524 MB / 0.5599 GB, free: 10.23 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01105/0.5728, allocations: 5.892 MB / 0.5656 GB, free: 4.285 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002547/0.5753, allocations: 2.36 MB / 0.5679 GB, free: 1.895 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001501/0.5769, allocations: 405.2 kB / 0.5683 GB, free: 1.496 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004006/0.5773, allocations: 139.4 kB / 0.5685 GB, free: 1.359 MB / 478.1 MB Notification: Performance of SimCode: time 1.012e-06/0.5773, allocations: 0 / 0.5685 GB, free: 1.359 MB / 478.1 MB Notification: Performance of Templates: time 0.06147/0.6387, allocations: 31.66 MB / 0.5994 GB, free: 1.992 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Conveyor/IMC_Conveyor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 9.68250983580947]