Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.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.002001/0.002001, allocations: 92.62 kB / 20.96 MB, free: 3.477 MB / 18.57 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.002239/0.002239, allocations: 149.4 kB / 24.25 MB, free: 188 kB / 18.57 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.427/1.427, allocations: 173.4 MB / 200.8 MB, free: 9.32 MB / 186.7 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.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5545,variableFilter="time|advancedSolenoid.armature.stopper_xMax.v_rel|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.Phi|advancedSolenoid.x|simpleSolenoid.armature.stopper_xMax.v_rel|simpleSolenoid.coil.Phi|simpleSolenoid.x",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke") translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5545,variableFilter="time|advancedSolenoid.armature.stopper_xMax.v_rel|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.Phi|advancedSolenoid.x|simpleSolenoid.armature.stopper_xMax.v_rel|simpleSolenoid.coil.Phi|simpleSolenoid.x",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 267.3 MB, free: 6.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.806e-05/3.999e-05, allocations: 2.312 kB / 267.3 MB, free: 6.742 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke): time 0.0177/0.01774, allocations: 9.632 MB / 276.9 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009962/0.0277, allocations: 3.596 MB / 280.5 MB, free: 9.457 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002437/0.03014, allocations: 43.75 kB / 280.6 MB, free: 9.414 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01352/0.04366, allocations: 8.149 MB / 288.7 MB, free: 1.246 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1176/0.1612, allocations: 4.677 MB / 293.4 MB, free: 22.2 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002643/0.1639, allocations: 0.9575 MB / 294.4 MB, free: 22.19 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006823/0.1707, allocations: 5.404 MB / 299.8 MB, free: 21.47 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000999/0.1717, allocations: 0.5514 MB / 300.3 MB, free: 21.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004498/0.1762, allocations: 3.538 MB / 303.9 MB, free: 19.59 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004039/0.1802, allocations: 5.449 MB / 309.3 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004778/0.1807, allocations: 352 kB / 309.7 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006088/0.1813, allocations: 395 kB / 310 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007445/0.1821, allocations: 1.92 MB / 312 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001027/0.1831, allocations: 1.405 MB / 313.4 MB, free: 11.7 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004077/0.1872, allocations: 7.031 MB / 320.4 MB, free: 4.941 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1872, allocations: 0 / 320.4 MB, free: 4.941 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1872, allocations: 4 kB / 320.4 MB, free: 4.938 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001301/0.1873, allocations: 1.531 kB / 320.4 MB, free: 4.938 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 528 * Number of variables: 528 Notification: Performance of Generate backend data structure: time 0.0104/0.1977, allocations: 7.777 MB / 328.2 MB, free: 13.1 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.1978, allocations: 8.922 kB / 328.2 MB, free: 13.09 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0015/0.1993, allocations: 1.054 MB / 329.2 MB, free: 12.04 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00462/0.2039, allocations: 3.216 MB / 332.5 MB, free: 9.008 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001651/0.204, allocations: 157.5 kB / 332.6 MB, free: 8.852 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003479/0.2044, allocations: 210.4 kB / 332.8 MB, free: 8.648 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004439/0.2088, allocations: 2.245 MB / 335.1 MB, free: 6.309 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.865e-05/0.2089, allocations: 0 / 335.1 MB, free: 6.309 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002057/0.2091, allocations: 87.94 kB / 335.1 MB, free: 6.223 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-05/0.2091, allocations: 48 kB / 335.2 MB, free: 6.176 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004209/0.2133, allocations: 1.895 MB / 337.1 MB, free: 4.281 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01485/0.2282, allocations: 7.577 MB / 344.7 MB, free: 12.76 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004279/0.2325, allocations: 2.035 MB / 346.7 MB, free: 10.72 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003134/0.2356, allocations: 1.315 MB / 348 MB, free: 9.398 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001366/0.2357, allocations: 46.3 kB / 348.1 MB, free: 9.352 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002657/0.2384, allocations: 1.296 MB / 349.4 MB, free: 7.996 MB / 298.7 MB Notification: Performance of pre-optimization done (n=242): time 5.119e-06/0.2384, allocations: 0 / 349.4 MB, free: 7.996 MB / 298.7 MB Notification: Performance of matching and sorting (n=367): time 0.09026/0.3286, allocations: 22.68 MB / 372 MB, free: 1.359 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.03549/0.3641, allocations: 13.35 MB / 385.4 MB, free: 3.809 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02416/0.3883, allocations: 14.91 MB / 400.3 MB, free: 4.965 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006175/0.3889, allocations: 89.55 kB / 400.4 MB, free: 4.875 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004292/0.3932, allocations: 3.517 MB / 403.9 MB, free: 1.355 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001901/0.3951, allocations: 1.253 MB / 405.1 MB, free: 124 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001165/0.3963, allocations: 0.5179 MB / 405.7 MB, free: 15.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.3964, allocations: 304.9 kB / 406 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003075/0.3995, allocations: 1.256 MB / 407.2 MB, free: 14.04 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00347/0.403, allocations: 1.752 MB / 409 MB, free: 12.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006659/0.4097, allocations: 2.995 MB / 412 MB, free: 9.129 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.132e-05/0.4097, allocations: 4 kB / 412 MB, free: 9.125 MB / 362.7 MB Notification: Performance of matching and sorting (n=431) (initialization): time 0.01472/0.4244, allocations: 5.336 MB / 417.3 MB, free: 3.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/0.4244, allocations: 8 kB / 417.3 MB, free: 3.832 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.173e-05/0.4244, allocations: 4 kB / 417.3 MB, free: 3.828 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0111/0.4355, allocations: 2.071 MB / 419.4 MB, free: 1.738 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003222/0.4388, allocations: 0.5407 MB / 419.9 MB, free: 1.227 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1626/0.6014, allocations: 22.59 MB / 442.5 MB, free: 114.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003523/0.6049, allocations: 132.5 kB / 442.6 MB, free: 114.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003886/0.6053, allocations: 112.3 kB / 442.8 MB, free: 114.9 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.comparisonWithFEA.nextTimeEvent,$whenCondition1,comparisonWithFEA.nextTimeEventScaled,$PRE.comparisonWithFEA.nextTimeEventScaled,comparisonWithFEA.nextTimeEvent,simpleSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,advancedSolenoid.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (309): * Single equations (assignments): 300 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,3,100.0%), (1,3,100.0%), (1,4,100.0%), (1,4,100.0%), (1,3,100.0%), (1,5,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,43), (3,50)} Notification: Performance of prepare postOptimizeDAE: time 0.003461/0.6088, allocations: 2.184 MB / 444.9 MB, free: 114.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001317/0.6101, allocations: 0.9667 MB / 445.9 MB, free: 114.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01153/0.6216, allocations: 5.279 MB / 451.2 MB, free: 114.4 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.285e-05/0.6217, allocations: 35.44 kB / 451.2 MB, free: 114.4 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.119e-05/0.6217, allocations: 6.938 kB / 451.2 MB, free: 114.4 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-05/0.6217, allocations: 17.86 kB / 451.2 MB, free: 114.4 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01914/0.6409, allocations: 9.924 MB / 461.2 MB, free: 110.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.83e-05/0.6409, allocations: 2 kB / 461.2 MB, free: 110.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002324/0.6432, allocations: 469.2 kB / 461.6 MB, free: 110.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009198/0.6524, allocations: 2.024 MB / 463.7 MB, free: 110.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004138/0.6528, allocations: 74.39 kB / 463.7 MB, free: 110.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02011/0.6729, allocations: 20.51 MB / 484.2 MB, free: 90.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02384/0.6968, allocations: 11.67 MB / 495.9 MB, free: 79.11 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01395/0.7107, allocations: 7.089 MB / 0.4912 GB, free: 72.1 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001653/0.7124, allocations: 0.7188 MB / 0.4919 GB, free: 71.38 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008897/0.7133, allocations: 64 kB / 0.492 GB, free: 71.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002498/0.7158, allocations: 115.9 kB / 0.4921 GB, free: 71.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008001/0.7166, allocations: 291.2 kB / 0.4924 GB, free: 70.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002241/0.7168, allocations: 91.98 kB / 0.4924 GB, free: 70.82 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.01147/0.7282, allocations: 11.1 MB / 0.5033 GB, free: 59.77 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.7282, allocations: 0 / 0.5033 GB, free: 59.77 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004617/0.7329, allocations: 1.084 MB / 0.5043 GB, free: 58.69 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 9 (advancedSolenoid.x,advancedSolenoid.coil1.i,advancedSolenoid.armature.stopper_xMin.v_rel,advancedSolenoid.coil2.i,advancedSolenoid.c_par1.v,advancedSolenoid.c_par2.v,$STATESET1.x,simpleSolenoid.x,simpleSolenoid.armature.stopper_xMin.v_rel) * Number of discrete variables: 7 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact,$whenCondition1,comparisonWithFEA.nextTimeEvent,comparisonWithFEA.nextTimeEventScaled) * Number of discrete states: 2 (comparisonWithFEA.nextTimeEvent,comparisonWithFEA.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (256): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,2,100.0%), (1,2,100.0%), (1,4,100.0%), (1,5,100.0%), (1,3,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,49), (4,42)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00224/0.7351, allocations: 0.5264 MB / 0.5049 GB, free: 58.38 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.007529/0.7426, allocations: 4.654 MB / 0.5094 GB, free: 53.61 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.887e-06/0.7426, allocations: 8 kB / 0.5094 GB, free: 53.6 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004696/0.7473, allocations: 3.161 MB / 0.5125 GB, free: 50.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003425/0.7508, allocations: 0.5596 MB / 0.513 GB, free: 49.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02246/0.7732, allocations: 18.18 MB / 0.5308 GB, free: 31.49 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005562/0.7788, allocations: 3.53 MB / 0.5342 GB, free: 27.91 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001906/0.7807, allocations: 309 kB / 0.5345 GB, free: 27.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006821/0.7814, allocations: 168.4 kB / 0.5347 GB, free: 27.44 MB / 378.7 MB Notification: Performance of SimCode: time 1.633e-06/0.7814, allocations: 0 / 0.5347 GB, free: 27.44 MB / 378.7 MB Notification: Performance of Templates: time 0.2449/1.026, allocations: 63.65 MB / 0.5969 GB, free: 117.5 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/SolenoidActuator/ComparisonPullInStroke/ComparisonPullInStroke.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.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: 9.344646523008123]