Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.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.00184/0.00184, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002233/0.002233, allocations: 214.8 kB / 22.99 MB, free: 4.602 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.538/1.538, allocations: 207.7 MB / 233.8 MB, free: 9.785 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.221/0.221, allocations: 44.27 MB / 330.3 MB, free: 9.312 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.MultiBody.Forces.FrameTorques,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameTorques",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameTorques",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.002458/0.002458, allocations: 67.91 kB / 467.6 MB, free: 4.285 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1237, allocations: 61.05 MB / 0.5162 GB, free: 7.105 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.0155/0.1392, allocations: 12.42 MB / 0.5284 GB, free: 10.62 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01004/0.1492, allocations: 4.467 MB / 0.5327 GB, free: 6.145 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002734/0.152, allocations: 107.5 kB / 0.5328 GB, free: 6.039 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007543/0.1595, allocations: 3.687 MB / 0.5364 GB, free: 2.34 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.25/0.4095, allocations: 2.487 MB / 0.5388 GB, free: 10.2 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002836/0.4124, allocations: 1.005 MB / 0.5398 GB, free: 10.2 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01037/0.4227, allocations: 6.025 MB / 0.5457 GB, free: 10.19 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006457/0.4292, allocations: 3.697 MB / 0.5493 GB, free: 9.906 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005234/0.4344, allocations: 2.164 MB / 0.5514 GB, free: 9.668 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006861/0.4413, allocations: 2.955 MB / 0.5543 GB, free: 9.043 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002469/0.4437, allocations: 457 kB / 0.5548 GB, free: 9.043 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004296/0.448, allocations: 1.375 MB / 0.5561 GB, free: 8.898 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005013/0.453, allocations: 2.773 MB / 0.5588 GB, free: 7.922 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009183/0.4622, allocations: 2.31 MB / 0.5611 GB, free: 6.562 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01564/0.4779, allocations: 9.9 MB / 0.5707 GB, free: 1.754 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.4779, allocations: 0 / 0.5707 GB, free: 1.754 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.4779, allocations: 0 / 0.5707 GB, free: 1.754 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004217/0.4783, allocations: 1.062 kB / 0.5707 GB, free: 1.754 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1959 * Number of variables: 1959 Notification: Performance of Generate backend data structure: time 0.02468/0.503, allocations: 6.845 MB / 0.5774 GB, free: 13.16 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.503, allocations: 10.34 kB / 0.5774 GB, free: 13.16 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002339/0.5054, allocations: 0.9246 MB / 0.5783 GB, free: 12.56 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03795/0.5433, allocations: 6.185 MB / 0.5844 GB, free: 9.496 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01321/0.5565, allocations: 4.808 MB / 0.5891 GB, free: 6.629 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003608/0.5569, allocations: 306.9 kB / 0.5894 GB, free: 6.371 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002198/0.5591, allocations: 414 kB / 0.5898 GB, free: 6.016 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02959/0.5887, allocations: 12.93 MB / 0.6024 GB, free: 8.414 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002426/0.5889, allocations: 63.52 kB / 0.6024 GB, free: 8.352 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009966/0.5899, allocations: 196.3 kB / 0.6026 GB, free: 8.207 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004593/0.5945, allocations: 2.499 MB / 0.6051 GB, free: 5.723 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02377/0.6183, allocations: 10.55 MB / 0.6154 GB, free: 11.17 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07121/0.6895, allocations: 47.48 MB / 0.6617 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01098/0.7005, allocations: 3.785 MB / 0.6654 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003331/0.7038, allocations: 2.145 MB / 0.6675 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01206/0.7159, allocations: 5.701 MB / 0.6731 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.052e-05/0.7159, allocations: 55.59 kB / 0.6731 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=183): time 6.091e-06/0.7159, allocations: 0 / 0.6731 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of matching and sorting (n=195): time 0.0513/0.7672, allocations: 17.79 MB / 0.6905 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001639/0.7674, allocations: 235.1 kB / 0.6908 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01288/0.7803, allocations: 6.209 MB / 0.6968 GB, free: 6.578 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006288/0.7809, allocations: 61.3 kB / 0.6969 GB, free: 6.516 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00427/0.7852, allocations: 4.268 MB / 0.701 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001405/0.7866, allocations: 0.8023 MB / 0.7018 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002733/0.7893, allocations: 1.471 MB / 0.7033 GB, free: 0 / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.7895, allocations: 305.1 kB / 0.7036 GB, free: 15.7 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004227/0.7937, allocations: 2.419 MB / 0.7059 GB, free: 13.28 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008444/0.8021, allocations: 6.968 MB / 0.7127 GB, free: 4.07 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01381/0.816, allocations: 10.12 MB / 0.7226 GB, free: 7.738 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001708/0.8161, allocations: 48 kB / 0.7227 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of matching and sorting (n=942) (initialization): time 0.02119/0.8373, allocations: 9.604 MB / 0.732 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.000118/0.8374, allocations: 73 kB / 0.7321 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002273/0.8377, allocations: 160 kB / 0.7323 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00185/0.8395, allocations: 0.7324 MB / 0.733 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005695/0.8452, allocations: 1.665 MB / 0.7346 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008646/0.8538, allocations: 6.714 MB / 0.7412 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005627/0.8595, allocations: 391.6 kB / 0.7415 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008711/0.8603, allocations: 449.8 kB / 0.742 GB, free: 3.691 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 726 * Number of states: 0 () * Number of discrete variables: 45 (Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (880): * Single equations (assignments): 873 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004715/0.8651, allocations: 2.695 MB / 0.7446 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008914/0.866, allocations: 0.5044 MB / 0.7451 GB, free: 492 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005843/0.8718, allocations: 3.297 MB / 0.7483 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.822e-05/0.8718, allocations: 20 kB / 0.7483 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.466e-05/0.8718, allocations: 8 kB / 0.7483 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.869e-05/0.8719, allocations: 11.91 kB / 0.7483 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01609/0.8879, allocations: 8.366 MB / 0.7565 GB, free: 4.789 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.531e-05/0.888, allocations: 4 kB / 0.7565 GB, free: 4.785 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001643/0.8896, allocations: 327.5 kB / 0.7568 GB, free: 4.465 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00143/0.891, allocations: 0.5052 MB / 0.7573 GB, free: 3.953 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001488/0.8912, allocations: 42.72 kB / 0.7574 GB, free: 3.914 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2462/1.137, allocations: 6.033 MB / 0.7632 GB, free: 189.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/1.137, allocations: 4.484 kB / 0.7633 GB, free: 189.6 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01011/1.148, allocations: 5.998 MB / 0.7691 GB, free: 188.4 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003303/1.151, allocations: 0.7556 MB / 0.7698 GB, free: 188.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002448/1.153, allocations: 35.33 kB / 0.7699 GB, free: 188.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003948/1.157, allocations: 98.8 kB / 0.77 GB, free: 188.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006103/1.158, allocations: 127.7 kB / 0.7701 GB, free: 188.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001786/1.158, allocations: 53.42 kB / 0.7701 GB, free: 188.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.009496/1.168, allocations: 3.81 MB / 0.7739 GB, free: 186.9 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.3e-07/1.168, allocations: 1.062 kB / 0.7739 GB, free: 186.9 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009575/1.177, allocations: 1.238 MB / 0.7751 GB, free: 186.8 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (154): * Single equations (assignments): 149 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,11,100.0%), (1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01136/1.188, allocations: 6.626 MB / 0.7815 GB, free: 184 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01073/1.199, allocations: 5.711 MB / 0.7871 GB, free: 182 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.906e-06/1.199, allocations: 0 / 0.7871 GB, free: 182 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002635/1.202, allocations: 1.673 MB / 0.7888 GB, free: 181.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004997/1.207, allocations: 0.6683 MB / 0.7894 GB, free: 181 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09309/1.3, allocations: 59.72 MB / 0.8477 GB, free: 127.6 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00653/1.306, allocations: 3.616 MB / 0.8513 GB, free: 124 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005945/1.312, allocations: 2.32 MB / 0.8535 GB, free: 121.6 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004558/1.317, allocations: 2.573 MB / 0.856 GB, free: 119.1 MB / 0.5919 GB Notification: Performance of SimCode: time 1.203e-06/1.317, allocations: 0 / 0.856 GB, free: 119.1 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1519/1.469, allocations: 92.04 MB / 0.9459 GB, free: 26.98 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.7/20.17, allocations: 4.797 kB / 0.9459 GB, free: 26.97 MB / 0.5919 GB " [Timeout remaining time 640] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameTorques.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.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: 23.451761228963733]