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.001806/0.001806, allocations: 74.11 kB / 21.24 MB, free: 0.5547 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.002211/0.002211, allocations: 158.2 kB / 24.5 MB, free: 3.715 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.616/1.616, allocations: 177.2 MB / 204.9 MB, free: 9.023 MB / 190.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.00155/0.00155, allocations: 47.55 kB / 325.6 MB, free: 264 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08416/0.08571, allocations: 53.35 MB / 378.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01577/0.1015, allocations: 12.33 MB / 391.3 MB, free: 3.285 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008882/0.1104, allocations: 4.954 MB / 396.2 MB, free: 14.31 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001032/0.1114, allocations: 99.38 kB / 396.3 MB, free: 14.21 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002344/0.1137, allocations: 1.099 MB / 397.4 MB, free: 13.11 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003019/0.1168, allocations: 1.433 MB / 398.8 MB, free: 11.67 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002056/0.1188, allocations: 0.9853 MB / 399.8 MB, free: 10.68 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004405/0.1232, allocations: 4.113 MB / 403.9 MB, free: 6.551 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002375/0.1256, allocations: 1.735 MB / 405.7 MB, free: 4.746 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002403/0.128, allocations: 1.986 MB / 407.7 MB, free: 2.754 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003172/0.1312, allocations: 2.199 MB / 409.9 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006967/0.1319, allocations: 0.5078 MB / 410.4 MB, free: 40 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001435/0.1333, allocations: 0.7497 MB / 411.1 MB, free: 15.29 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001092/0.1344, allocations: 1.149 MB / 412.3 MB, free: 14.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001915/0.1363, allocations: 1.7 MB / 414 MB, free: 12.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007513/0.1438, allocations: 6.895 MB / 420.9 MB, free: 5.512 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1438, allocations: 0 / 420.9 MB, free: 5.512 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1438, allocations: 0 / 420.9 MB, free: 5.512 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.017e-05/0.1439, allocations: 0 / 420.9 MB, free: 5.512 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: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.01019/0.1541, allocations: 4.532 MB / 425.4 MB, free: 0.918 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.1541, allocations: 12.03 kB / 425.4 MB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004377/0.1585, allocations: 0.8261 MB / 426.2 MB, free: 80 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004479/0.163, allocations: 2.424 MB / 428.7 MB, free: 13.61 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002082/0.1632, allocations: 238.4 kB / 428.9 MB, free: 13.37 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005049/0.1637, allocations: 323.9 kB / 429.2 MB, free: 13.05 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007599/0.1713, allocations: 4.45 MB / 433.7 MB, free: 8.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.286e-05/0.1714, allocations: 7.891 kB / 433.7 MB, free: 8.512 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003092/0.1717, allocations: 132 kB / 433.8 MB, free: 8.383 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001626/0.1718, allocations: 154.4 kB / 433.9 MB, free: 8.23 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00637/0.1782, allocations: 3.625 MB / 437.6 MB, free: 4.598 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01853/0.1967, allocations: 11.38 MB / 448.9 MB, free: 8.922 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005443/0.2022, allocations: 2.712 MB / 451.7 MB, free: 6.332 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002952/0.2051, allocations: 1.519 MB / 453.2 MB, free: 4.812 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006337/0.2115, allocations: 3.44 MB / 456.6 MB, free: 1.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001464/0.2129, allocations: 1.031 MB / 457.6 MB, free: 240 kB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 3.236e-06/0.2129, allocations: 0 / 457.6 MB, free: 240 kB / 414.1 MB Notification: Performance of matching and sorting (n=140): time 0.01299/0.2259, allocations: 6.131 MB / 463.8 MB, free: 10.05 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001528/0.2261, allocations: 226.9 kB / 464 MB, free: 9.781 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002509/0.2286, allocations: 1.722 MB / 465.7 MB, free: 8.051 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.942e-05/0.2287, allocations: 49.7 kB / 465.8 MB, free: 7.996 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001426/0.2301, allocations: 1.548 MB / 467.3 MB, free: 6.434 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004327/0.2305, allocations: 0.4997 MB / 467.8 MB, free: 5.93 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004837/0.231, allocations: 311.4 kB / 468.1 MB, free: 5.621 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.2311, allocations: 301.1 kB / 468.4 MB, free: 5.324 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001153/0.2323, allocations: 0.6793 MB / 469.1 MB, free: 4.645 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002098/0.2344, allocations: 1.408 MB / 470.5 MB, free: 2.969 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004451/0.2388, allocations: 1.966 MB / 472.5 MB, free: 0.8008 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-05/0.2389, allocations: 8 kB / 472.5 MB, free: 0.793 MB / 430.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.1815/0.4203, allocations: 2.418 MB / 474.9 MB, free: 81.31 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.743e-05/0.4204, allocations: 14.84 kB / 474.9 MB, free: 81.31 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.181e-05/0.4204, allocations: 15.91 kB / 474.9 MB, free: 81.31 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008411/0.4212, allocations: 343.7 kB / 475.3 MB, free: 81.28 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001375/0.4226, allocations: 377.2 kB / 475.6 MB, free: 81.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005145/0.4277, allocations: 6.353 MB / 482 MB, free: 76.89 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001373/0.4291, allocations: 92.8 kB / 482.1 MB, free: 76.87 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000158/0.4293, allocations: 71.8 kB / 482.1 MB, free: 76.86 MB / 430.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.001552/0.4308, allocations: 1.032 MB / 483.2 MB, free: 76.29 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002626/0.4311, allocations: 198.9 kB / 483.4 MB, free: 76.28 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003744/0.4348, allocations: 2.169 MB / 485.5 MB, free: 75.36 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/0.4348, allocations: 14.64 kB / 485.5 MB, free: 75.36 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/0.4349, allocations: 7.188 kB / 485.6 MB, free: 75.36 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.671e-05/0.4349, allocations: 7.547 kB / 485.6 MB, free: 75.36 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006647/0.4415, allocations: 4.349 MB / 489.9 MB, free: 73.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.4415, allocations: 1.094 kB / 489.9 MB, free: 73.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007651/0.4423, allocations: 180.9 kB / 490.1 MB, free: 73.42 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001154/0.4435, allocations: 0.4947 MB / 490.6 MB, free: 73.25 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.759e-05/0.4435, allocations: 35.86 kB / 490.6 MB, free: 73.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007953/0.4515, allocations: 10.81 MB / 0.4897 GB, free: 64.56 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.4515, allocations: 0.9688 kB / 0.4897 GB, free: 64.56 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004062/0.4556, allocations: 3.077 MB / 0.4927 GB, free: 63.24 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006375/0.4562, allocations: 344.3 kB / 0.493 GB, free: 63.08 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000199/0.4564, allocations: 36.5 kB / 0.493 GB, free: 63.06 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000814/0.4572, allocations: 62.11 kB / 0.4931 GB, free: 63.04 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001861/0.4574, allocations: 116 kB / 0.4932 GB, free: 63.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.923e-05/0.4575, allocations: 42.97 kB / 0.4933 GB, free: 63.01 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001333/0.4588, allocations: 1.171 MB / 0.4944 GB, free: 62.56 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4588, allocations: 0 / 0.4944 GB, free: 62.56 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001758/0.4606, allocations: 0.5834 MB / 0.495 GB, free: 62.06 MB / 430.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 (100): * Single equations (assignments): 93 * 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.001691/0.4623, allocations: 0.5027 MB / 0.4955 GB, free: 61.79 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002635/0.4649, allocations: 2.087 MB / 0.4975 GB, free: 59.77 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.4649, allocations: 0.875 kB / 0.4975 GB, free: 59.77 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001815/0.4667, allocations: 1.569 MB / 0.499 GB, free: 58.14 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001646/0.4684, allocations: 447.8 kB / 0.4995 GB, free: 57.71 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00706/0.4754, allocations: 5.9 MB / 0.5052 GB, free: 51.8 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00145/0.4769, allocations: 1.802 MB / 0.507 GB, free: 49.96 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00101/0.4779, allocations: 383.5 kB / 0.5073 GB, free: 49.59 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002818/0.4782, allocations: 128.5 kB / 0.5075 GB, free: 49.46 MB / 430.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4782, allocations: 0 / 0.5075 GB, free: 49.46 MB / 430.1 MB Notification: Performance of Templates: time 0.03883/0.517, allocations: 28.36 MB / 0.5352 GB, free: 21.47 MB / 430.1 MB " [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 -s ida -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/jenkins1/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/jenkins1/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.43100919004064]