Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.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.001644/0.001644, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.0022/0.0022, allocations: 213.4 kB / 23.74 MB, free: 4.688 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.473/1.473, allocations: 230.6 MB / 257.5 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2432/0.2432, allocations: 46.93 MB / 360.9 MB, free: 4.297 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 67.89 kB / 0.4962 GB, free: 7.938 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3476/0.3496, allocations: 66.04 MB / 0.5606 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.01561/0.3652, allocations: 13.47 MB / 0.5738 GB, free: 6.973 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009849/0.3751, allocations: 4.84 MB / 0.5785 GB, free: 2.117 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001793/0.3769, allocations: 115.4 kB / 0.5786 GB, free: 2.004 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006915/0.3838, allocations: 3.788 MB / 0.5823 GB, free: 14.2 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005008/0.3888, allocations: 2.222 MB / 0.5845 GB, free: 11.97 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002234/0.391, allocations: 1.08 MB / 0.5856 GB, free: 10.89 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008564/0.3996, allocations: 6.674 MB / 0.5921 GB, free: 4.203 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004607/0.4042, allocations: 3.54 MB / 0.5955 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003288/0.4075, allocations: 2.068 MB / 0.5976 GB, free: 14.52 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004418/0.4119, allocations: 2.956 MB / 0.6004 GB, free: 11.55 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00103/0.4129, allocations: 428 kB / 0.6008 GB, free: 11.14 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002881/0.4158, allocations: 1.482 MB / 0.6023 GB, free: 9.652 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002952/0.4188, allocations: 2.548 MB / 0.6048 GB, free: 7.098 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004201/0.423, allocations: 2.832 MB / 0.6075 GB, free: 4.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01167/0.4347, allocations: 8.938 MB / 0.6163 GB, free: 11.27 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.4347, allocations: 7.938 kB / 0.6163 GB, free: 11.27 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4347, allocations: 0 / 0.6163 GB, free: 11.27 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003575/0.435, allocations: 0 / 0.6163 GB, free: 11.27 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.01953/0.4545, allocations: 6.523 MB / 0.6227 GB, free: 4.68 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.4546, allocations: 8.031 kB / 0.6227 GB, free: 4.672 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002771/0.4574, allocations: 0.9004 MB / 0.6235 GB, free: 3.762 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03757/0.4949, allocations: 6.055 MB / 0.6295 GB, free: 13.7 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01257/0.5075, allocations: 4.575 MB / 0.6339 GB, free: 9.059 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003483/0.5079, allocations: 291.4 kB / 0.6342 GB, free: 8.773 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001717/0.5096, allocations: 395.7 kB / 0.6346 GB, free: 8.387 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0266/0.5362, allocations: 11.9 MB / 0.6462 GB, free: 11.7 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002727/0.5364, allocations: 59.58 kB / 0.6463 GB, free: 11.64 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001345/0.5378, allocations: 183.8 kB / 0.6464 GB, free: 11.46 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003835/0.5416, allocations: 2.143 MB / 0.6485 GB, free: 9.312 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02327/0.5649, allocations: 10.16 MB / 0.6584 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06888/0.6338, allocations: 47 MB / 0.7043 GB, free: 14.77 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01481/0.6486, allocations: 5.109 MB / 0.7093 GB, free: 9.625 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004125/0.6527, allocations: 2.653 MB / 0.7119 GB, free: 6.961 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01713/0.6698, allocations: 8.305 MB / 0.72 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.117e-05/0.6699, allocations: 55.81 kB / 0.7201 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=206): time 7.144e-06/0.6699, allocations: 0 / 0.7201 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of matching and sorting (n=262): time 0.3966/1.067, allocations: 34.78 MB / 0.7541 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/1.067, allocations: 212.7 kB / 0.7543 GB, free: 150 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007727/1.074, allocations: 4.796 MB / 0.7589 GB, free: 145.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000664/1.075, allocations: 65.7 kB / 0.759 GB, free: 145.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002442/1.077, allocations: 3.734 MB / 0.7626 GB, free: 142.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001236/1.079, allocations: 1.006 MB / 0.7636 GB, free: 141.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001705/1.08, allocations: 1.363 MB / 0.765 GB, free: 140 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.224e-05/1.08, allocations: 301.1 kB / 0.7653 GB, free: 139.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003347/1.084, allocations: 3.031 MB / 0.7682 GB, free: 136.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00468/1.088, allocations: 6.84 MB / 0.7749 GB, free: 128 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009548/1.098, allocations: 10.68 MB / 0.7853 GB, free: 115.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001109/1.098, allocations: 36 kB / 0.7854 GB, free: 115.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=872) (initialization): time 0.0229/1.121, allocations: 13.17 MB / 0.7982 GB, free: 102.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000141/1.121, allocations: 68.03 kB / 0.7983 GB, free: 102.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001954/1.121, allocations: 132 kB / 0.7984 GB, free: 102 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0107/1.132, allocations: 4.225 MB / 0.8025 GB, free: 97.79 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00445/1.137, allocations: 1.408 MB / 0.8039 GB, free: 96.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03184/1.168, allocations: 28.26 MB / 0.8315 GB, free: 67.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00518/1.174, allocations: 395.5 kB / 0.8319 GB, free: 67.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007951/1.174, allocations: 399.8 kB / 0.8323 GB, free: 67.02 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 606 * Number of states: 0 () * Number of discrete variables: 42 (Universal1.cylinderColor[3],Universal1.cylinderColor[2],Universal1.cylinderColor[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],b3.color[3],b3.color[2],b3.color[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.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 (756): * Single equations (assignments): 750 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,50,50.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,21)} Notification: Performance of prepare postOptimizeDAE: time 0.003174/1.178, allocations: 2.469 MB / 0.8347 GB, free: 64.54 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007221/1.178, allocations: 464.9 kB / 0.8351 GB, free: 64.08 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01394/1.192, allocations: 8.167 MB / 0.8431 GB, free: 55.89 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.615e-05/1.192, allocations: 31.94 kB / 0.8431 GB, free: 55.86 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.362e-05/1.192, allocations: 12 kB / 0.8431 GB, free: 55.84 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.605e-05/1.192, allocations: 15.95 kB / 0.8432 GB, free: 55.83 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02692/1.219, allocations: 16.64 MB / 0.8594 GB, free: 39.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.154e-05/1.219, allocations: 4.594 kB / 0.8594 GB, free: 39.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00143/1.221, allocations: 303.6 kB / 0.8597 GB, free: 38.79 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009047/1.23, allocations: 3.793 MB / 0.8634 GB, free: 34.98 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003591/1.23, allocations: 51.98 kB / 0.8635 GB, free: 34.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02863/1.259, allocations: 27.06 MB / 0.8899 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/1.259, allocations: 7.938 kB / 0.8899 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02011/1.279, allocations: 12.1 MB / 0.9017 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001476/1.28, allocations: 440.6 kB / 0.9021 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009258/1.281, allocations: 51.94 kB / 0.9022 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002151/1.283, allocations: 163.8 kB / 0.9023 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007305/1.284, allocations: 209.9 kB / 0.9025 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002266/1.284, allocations: 75.94 kB / 0.9026 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.005006/1.289, allocations: 3.043 MB / 0.9056 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/1.289, allocations: 0 / 0.9056 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006871/1.296, allocations: 1.402 MB / 0.9069 GB, free: 5.93 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 2 (j1.phi,j1.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 (158): * Single equations (assignments): 152 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,43,50.0%), (2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02363/1.32, allocations: 12.76 MB / 0.9194 GB, free: 9.035 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01555/1.335, allocations: 7.916 MB / 0.9271 GB, free: 1.098 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/1.335, allocations: 0 / 0.9271 GB, free: 1.098 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.006485/1.342, allocations: 3.268 MB / 0.9303 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00499/1.347, allocations: 0.6076 MB / 0.9309 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3994/1.746, allocations: 64.24 MB / 0.9936 GB, free: 230.7 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00374/1.75, allocations: 3.922 MB / 0.9975 GB, free: 229.9 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0039/1.754, allocations: 2.002 MB / 0.9994 GB, free: 229.8 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002642/1.757, allocations: 2.36 MB / 1.002 GB, free: 228.7 MB / 0.6544 GB Notification: Performance of SimCode: time 1.733e-06/1.757, allocations: 0 / 1.002 GB, free: 228.7 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1737/1.93, allocations: 119.6 MB / 1.119 GB, free: 114.5 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.74/25.67, allocations: 7.844 kB / 1.119 GB, free: 114.5 MB / 0.6544 GB " [Timeout remaining time 634] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/SphericalAndUniversal/SphericalAndUniversal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.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: 29.668517142068595]