Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.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.00158/0.00158, allocations: 113.6 kB / 21.19 MB, free: 0.7031 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.001792/0.001792, allocations: 208.6 kB / 24.49 MB, free: 4.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.398/1.398, allocations: 207.6 MB / 235.3 MB, free: 9.996 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001765/0.001765, allocations: 51.92 kB / 347.2 MB, free: 10.03 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.243, allocations: 49.16 MB / 396.4 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01236/0.2554, allocations: 13.84 MB / 410.2 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01042/0.2658, allocations: 4.427 MB / 414.6 MB, free: 12.26 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002582/0.2684, allocations: 99.41 kB / 414.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008056/0.2765, allocations: 3.802 MB / 418.5 MB, free: 9.898 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006421/0.2829, allocations: 2.169 MB / 420.7 MB, free: 8.336 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002093/0.285, allocations: 0.6974 MB / 421.4 MB, free: 7.84 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007438/0.2924, allocations: 4.416 MB / 425.8 MB, free: 5.43 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005912/0.2983, allocations: 3.735 MB / 429.5 MB, free: 1.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003859/0.3022, allocations: 1.947 MB / 431.5 MB, free: 28 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004561/0.3067, allocations: 2.784 MB / 434.3 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001288/0.308, allocations: 432 kB / 434.7 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002925/0.311, allocations: 1.182 MB / 435.9 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00292/0.3139, allocations: 2.392 MB / 438.3 MB, free: 9.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004396/0.3183, allocations: 2.758 MB / 441 MB, free: 6.457 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0114/0.3297, allocations: 8.662 MB / 449.7 MB, free: 13.77 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3297, allocations: 0 / 449.7 MB, free: 13.77 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3297, allocations: 4 kB / 449.7 MB, free: 13.76 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002627/0.3299, allocations: 4 kB / 449.7 MB, free: 13.76 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: 1851 * Number of variables: 1851 Notification: Performance of Generate backend data structure: time 0.022/0.3519, allocations: 6.519 MB / 456.2 MB, free: 7.176 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.352, allocations: 15.98 kB / 456.2 MB, free: 7.16 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001931/0.3539, allocations: 0.8766 MB / 457.1 MB, free: 6.27 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00723/0.3612, allocations: 2.037 MB / 459.1 MB, free: 4.227 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007013/0.3682, allocations: 3.174 MB / 462.3 MB, free: 1.004 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000259/0.3684, allocations: 307.8 kB / 462.6 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001005/0.3694, allocations: 407.7 kB / 463 MB, free: 312 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02607/0.3955, allocations: 12.88 MB / 475.9 MB, free: 2.676 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001922/0.3957, allocations: 47.64 kB / 475.9 MB, free: 2.629 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001053/0.3967, allocations: 187.8 kB / 476.1 MB, free: 2.445 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004917/0.4017, allocations: 2.374 MB / 478.5 MB, free: 60 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02587/0.4275, allocations: 11.74 MB / 490.2 MB, free: 4.305 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07101/0.4985, allocations: 48.34 MB / 0.526 GB, free: 2.762 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01819/0.5167, allocations: 4.921 MB / 0.5308 GB, free: 13.8 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004859/0.5216, allocations: 3.217 MB / 0.5339 GB, free: 10.57 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006231/0.5222, allocations: 149.2 kB / 0.5341 GB, free: 10.43 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.384e-05/0.5223, allocations: 59.81 kB / 0.5341 GB, free: 10.36 MB / 462.1 MB Notification: Performance of pre-optimization done (n=221): time 4.829e-06/0.5223, allocations: 0 / 0.5341 GB, free: 10.36 MB / 462.1 MB Notification: Performance of matching and sorting (n=252): time 0.249/0.7712, allocations: 28.03 MB / 0.5615 GB, free: 144.6 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.104e-05/0.7713, allocations: 156.8 kB / 0.5616 GB, free: 144.4 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007444/0.7788, allocations: 4.631 MB / 0.5662 GB, free: 143.2 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006282/0.7794, allocations: 63.92 kB / 0.5662 GB, free: 143.1 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002337/0.7817, allocations: 3.728 MB / 0.5699 GB, free: 141.3 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001409/0.7831, allocations: 0.988 MB / 0.5708 GB, free: 140.7 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002606/0.7857, allocations: 1.511 MB / 0.5723 GB, free: 140 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.443e-05/0.7858, allocations: 309.3 kB / 0.5726 GB, free: 139.7 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005156/0.7909, allocations: 3.442 MB / 0.576 GB, free: 138.6 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006725/0.7977, allocations: 7.511 MB / 0.5833 GB, free: 132.1 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01081/0.8085, allocations: 11.82 MB / 0.5948 GB, free: 123.4 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001524/0.8086, allocations: 38.53 kB / 0.5949 GB, free: 123.4 MB / 478.1 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.01729/0.8259, allocations: 11.87 MB / 0.6065 GB, free: 116.6 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.44e-05/0.826, allocations: 64 kB / 0.6065 GB, free: 116.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001224/0.8261, allocations: 148.1 kB / 0.6067 GB, free: 116.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002353/0.8285, allocations: 1.128 MB / 0.6078 GB, free: 115.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00572/0.8342, allocations: 1.801 MB / 0.6095 GB, free: 113.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006448/0.8406, allocations: 6.251 MB / 0.6156 GB, free: 107.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005871/0.8465, allocations: 425.5 kB / 0.616 GB, free: 106.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001177/0.8477, allocations: 467.8 kB / 0.6165 GB, free: 106.3 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 651 * Number of states: 0 () * Number of discrete variables: 42 (fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (871): * Single equations (assignments): 867 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004201/0.8519, allocations: 2.446 MB / 0.6189 GB, free: 103.8 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009288/0.8528, allocations: 437 kB / 0.6193 GB, free: 103.4 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008935/0.8618, allocations: 6.474 MB / 0.6256 GB, free: 96.91 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-05/0.8618, allocations: 31.52 kB / 0.6256 GB, free: 96.88 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.229e-05/0.8618, allocations: 4 kB / 0.6256 GB, free: 96.88 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.057e-05/0.8618, allocations: 11.95 kB / 0.6257 GB, free: 96.86 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01918/0.881, allocations: 13.45 MB / 0.6388 GB, free: 83.36 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.886e-05/0.881, allocations: 4 kB / 0.6388 GB, free: 83.36 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002729/0.8838, allocations: 0.5775 MB / 0.6394 GB, free: 82.78 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002151/0.8859, allocations: 0.953 MB / 0.6403 GB, free: 81.82 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000327/0.8863, allocations: 87.89 kB / 0.6404 GB, free: 81.73 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00603/0.8923, allocations: 5.991 MB / 0.6462 GB, free: 75.62 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.8923, allocations: 4 kB / 0.6462 GB, free: 75.62 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01252/0.9048, allocations: 10.94 MB / 0.6569 GB, free: 64.58 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002401/0.9072, allocations: 0.8906 MB / 0.6578 GB, free: 63.69 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008147/0.908, allocations: 40 kB / 0.6578 GB, free: 63.65 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002177/0.9102, allocations: 171.8 kB / 0.658 GB, free: 63.48 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004642/0.9107, allocations: 205.5 kB / 0.6582 GB, free: 63.28 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002205/0.9109, allocations: 107.9 kB / 0.6583 GB, free: 63.17 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003608/0.9145, allocations: 2.904 MB / 0.6611 GB, free: 60.27 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.9145, allocations: 0 / 0.6611 GB, free: 60.27 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005973/0.9205, allocations: 1.266 MB / 0.6623 GB, free: 59 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,position1.phi,position1.w,position2.phi,position2.w) * 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 (225): * Single equations (assignments): 221 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01288/0.9333, allocations: 11.62 MB / 0.6737 GB, free: 47.27 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0102/0.9435, allocations: 7.853 MB / 0.6814 GB, free: 39.44 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/0.9436, allocations: 0 / 0.6814 GB, free: 39.44 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003807/0.9474, allocations: 2.973 MB / 0.6843 GB, free: 36.46 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003315/0.9507, allocations: 0.5081 MB / 0.6848 GB, free: 35.96 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2956/1.246, allocations: 62.51 MB / 0.7458 GB, free: 164.4 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005666/1.252, allocations: 3.795 MB / 0.7495 GB, free: 163.6 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.006331/1.258, allocations: 2.392 MB / 0.7519 GB, free: 163.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004132/1.262, allocations: 2.443 MB / 0.7542 GB, free: 162.9 MB / 0.4981 GB Notification: Performance of SimCode: time 2.164e-06/1.262, allocations: 0 / 0.7542 GB, free: 162.9 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1457/1.408, allocations: 101.2 MB / 0.8531 GB, free: 77.86 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.54/24.94, allocations: 0 / 0.8531 GB, free: 77.86 MB / 0.4981 GB " [Timeout remaining time 635] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/MovingActuatedDrive/MovingActuatedDrive.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.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: 28.263271634001285]