Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.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.001699/0.001699, allocations: 107.5 kB / 20.44 MB, free: 1.203 MB / 14.72 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.00192/0.00192, allocations: 184 kB / 23.7 MB, free: 4.434 MB / 14.72 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.47/1.47, allocations: 225.7 MB / 252.5 MB, free: 12.82 MB / 206.1 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.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.|p2.s|p2.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.|p2.s|p2.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001753/0.001753, allocations: 43.92 kB / 370.9 MB, free: 9.172 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2731, allocations: 52.19 MB / 423.1 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.01364/0.2867, allocations: 10.49 MB / 433.6 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009133/0.2958, allocations: 3.998 MB / 437.6 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001609/0.2974, allocations: 87.56 kB / 437.7 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005405/0.3028, allocations: 2.694 MB / 440.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005673/0.3085, allocations: 2.03 MB / 442.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00197/0.3105, allocations: 0.819 MB / 443.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006299/0.3168, allocations: 4.605 MB / 447.8 MB, free: 5.637 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003892/0.3207, allocations: 2.932 MB / 450.7 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00261/0.3233, allocations: 1.717 MB / 452.5 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003459/0.3267, allocations: 2.383 MB / 454.8 MB, free: 14.54 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007696/0.3275, allocations: 352 kB / 455.2 MB, free: 14.2 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002361/0.3299, allocations: 1.19 MB / 456.4 MB, free: 13.01 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002148/0.332, allocations: 2.158 MB / 458.5 MB, free: 10.84 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00242/0.3344, allocations: 1.821 MB / 460.3 MB, free: 9.012 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009167/0.3436, allocations: 7.586 MB / 467.9 MB, free: 1.395 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.3436, allocations: 3.938 kB / 467.9 MB, free: 1.391 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3436, allocations: 0 / 467.9 MB, free: 1.391 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.00026/0.3439, allocations: 0 / 467.9 MB, free: 1.391 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: 1686 * Number of variables: 1686 Notification: Performance of Generate backend data structure: time 0.01109/0.355, allocations: 5.345 MB / 473.3 MB, free: 11.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.355, allocations: 12.03 kB / 473.3 MB, free: 11.97 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008086/0.3631, allocations: 2.135 MB / 475.4 MB, free: 9.832 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006222/0.3693, allocations: 2.48 MB / 477.9 MB, free: 7.309 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002427/0.3696, allocations: 278.8 kB / 478.2 MB, free: 7.035 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001049/0.3706, allocations: 431.7 kB / 478.6 MB, free: 6.613 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02319/0.3938, allocations: 12.3 MB / 490.9 MB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001198/0.3939, allocations: 43.62 kB / 490.9 MB, free: 9.441 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004482/0.3944, allocations: 171.8 kB / 491.1 MB, free: 9.273 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003364/0.3977, allocations: 2.166 MB / 493.3 MB, free: 7.102 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02278/0.4205, allocations: 10.18 MB / 0.4917 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05756/0.4781, allocations: 41.43 MB / 0.5321 GB, free: 2.23 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2167/0.6948, allocations: 3.785 MB / 0.5358 GB, free: 107.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002485/0.6973, allocations: 1.624 MB / 0.5374 GB, free: 106.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01058/0.7079, allocations: 6.472 MB / 0.5437 GB, free: 104.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.112e-05/0.7079, allocations: 55.62 kB / 0.5438 GB, free: 104.4 MB / 446.1 MB Notification: Performance of pre-optimization done (n=183): time 6.362e-06/0.7079, allocations: 3.844 kB / 0.5438 GB, free: 104.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=205): time 0.03511/0.743, allocations: 15.86 MB / 0.5593 GB, free: 94.04 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009/0.7439, allocations: 1.565 MB / 0.5608 GB, free: 92.33 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0043/0.7482, allocations: 3.997 MB / 0.5647 GB, free: 88.52 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003441/0.7486, allocations: 53.7 kB / 0.5648 GB, free: 88.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001354/0.7499, allocations: 3.572 MB / 0.5682 GB, free: 85 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006341/0.7506, allocations: 0.836 MB / 0.5691 GB, free: 84.18 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001281/0.7519, allocations: 1.374 MB / 0.5704 GB, free: 82.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.002e-05/0.7519, allocations: 301.1 kB / 0.5707 GB, free: 82.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002648/0.7545, allocations: 2.27 MB / 0.5729 GB, free: 80.23 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004072/0.7586, allocations: 6.394 MB / 0.5791 GB, free: 71.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007405/0.766, allocations: 9.316 MB / 0.5882 GB, free: 60.44 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.122e-05/0.7661, allocations: 47.94 kB / 0.5883 GB, free: 60.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.01938/0.7855, allocations: 10.04 MB / 0.5981 GB, free: 50.33 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.999e-05/0.7856, allocations: 64 kB / 0.5982 GB, free: 50.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009921/0.7955, allocations: 3.787 MB / 0.6019 GB, free: 46.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009532/0.805, allocations: 2.16 MB / 0.604 GB, free: 44.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004893/0.8099, allocations: 1.591 MB / 0.6055 GB, free: 42.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007365/0.8173, allocations: 6.282 MB / 0.6117 GB, free: 36.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005273/0.8225, allocations: 430.8 kB / 0.6121 GB, free: 35.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001028/0.8236, allocations: 420 kB / 0.6125 GB, free: 35.38 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 665 * Number of states: 0 () * Number of discrete variables: 45 (damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],p2.boxColor[3],p2.boxColor[2],p2.boxColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],bar2.color[3],bar2.color[2],bar2.color[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (856): * Single equations (assignments): 847 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004153/0.8277, allocations: 2.202 MB / 0.6146 GB, free: 33.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008648/0.8286, allocations: 361.6 kB / 0.615 GB, free: 32.81 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005802/0.8344, allocations: 3.258 MB / 0.6181 GB, free: 29.53 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004468/0.8389, allocations: 2.738 MB / 0.6208 GB, free: 26.78 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-05/0.8389, allocations: 11.92 kB / 0.6208 GB, free: 26.77 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.93e-05/0.8389, allocations: 7.969 kB / 0.6208 GB, free: 26.76 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.018/0.8569, allocations: 8.953 MB / 0.6296 GB, free: 17.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-05/0.8569, allocations: 12.94 kB / 0.6296 GB, free: 17.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00133/0.8583, allocations: 371.3 kB / 0.6299 GB, free: 17.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0026/0.8609, allocations: 0.9864 MB / 0.6309 GB, free: 16.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002032/0.8611, allocations: 59.97 kB / 0.631 GB, free: 16.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004057/0.8651, allocations: 4.638 MB / 0.6355 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007525/0.8659, allocations: 1.439 MB / 0.6369 GB, free: 9.754 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007952/0.8738, allocations: 5.899 MB / 0.6427 GB, free: 3.656 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001145/0.875, allocations: 337.4 kB / 0.643 GB, free: 3.324 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008143/0.8758, allocations: 59.98 kB / 0.643 GB, free: 3.266 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002111/0.8779, allocations: 151.7 kB / 0.6432 GB, free: 3.117 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004209/0.8783, allocations: 175.7 kB / 0.6434 GB, free: 2.949 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001768/0.8785, allocations: 85.47 kB / 0.6434 GB, free: 2.867 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004981/0.8835, allocations: 2.266 MB / 0.6456 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.8835, allocations: 0 / 0.6456 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.007141/0.8906, allocations: 1.158 MB / 0.6468 GB, free: 15.45 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * Number of states: 14 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3],p2.s,p2.v) * 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 (180): * Single equations (assignments): 173 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007852/0.8914, allocations: 214.3 kB / 0.647 GB, free: 15.24 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01227/0.9037, allocations: 5.633 MB / 0.6525 GB, free: 9.605 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.467e-05/0.9037, allocations: 0 / 0.6525 GB, free: 9.605 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004621/0.9083, allocations: 1.96 MB / 0.6544 GB, free: 7.613 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004204/0.9125, allocations: 439 kB / 0.6548 GB, free: 7.184 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02151/0.934, allocations: 10.82 MB / 0.6654 GB, free: 12.14 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006243/0.9403, allocations: 2.93 MB / 0.6682 GB, free: 9.18 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.005738/0.946, allocations: 1.977 MB / 0.6702 GB, free: 7.195 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001041/0.947, allocations: 255.4 kB / 0.6704 GB, free: 6.945 MB / 478.1 MB Notification: Performance of SimCode: time 1.613e-06/0.9471, allocations: 0 / 0.6704 GB, free: 6.945 MB / 478.1 MB Notification: Performance of Templates: time 0.08571/1.033, allocations: 39.13 MB / 0.7086 GB, free: 380 kB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringDamperSystem/SpringDamperSystem.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.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: 6.898700015619397]