Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.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.001675/0.001675, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001986/0.001986, allocations: 215.4 kB / 24.48 MB, free: 3.941 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.439/1.439, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.2278/0.2278, allocations: 46.96 MB / 361.6 MB, free: 4.023 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: translateModel(ModelicaTest.MultiBody.Forces.LineForceWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.LineForceWithMass") translateModel(ModelicaTest.MultiBody.Forces.LineForceWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.LineForceWithMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002077/0.002077, allocations: 67.91 kB / 0.4973 GB, free: 7.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2993, allocations: 66.03 MB / 0.5618 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01602/0.3153, allocations: 13.01 MB / 0.5745 GB, free: 7.094 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01096/0.3263, allocations: 4.797 MB / 0.5792 GB, free: 2.281 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002429/0.3287, allocations: 119.4 kB / 0.5793 GB, free: 2.164 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008215/0.3369, allocations: 3.905 MB / 0.5831 GB, free: 14.25 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006831/0.3437, allocations: 2.401 MB / 0.5855 GB, free: 11.84 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00276/0.3465, allocations: 1.17 MB / 0.5866 GB, free: 10.66 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009276/0.3558, allocations: 6.589 MB / 0.5931 GB, free: 4.059 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005048/0.3608, allocations: 3.794 MB / 0.5968 GB, free: 204 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003635/0.3645, allocations: 2.231 MB / 0.5989 GB, free: 13.96 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005027/0.3695, allocations: 3.271 MB / 0.6021 GB, free: 10.68 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001158/0.3706, allocations: 456 kB / 0.6026 GB, free: 10.23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00294/0.3736, allocations: 1.443 MB / 0.604 GB, free: 8.789 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003279/0.3769, allocations: 2.789 MB / 0.6067 GB, free: 5.992 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003656/0.3805, allocations: 2.256 MB / 0.6089 GB, free: 3.723 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01168/0.3922, allocations: 9.471 MB / 0.6182 GB, free: 10.21 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/0.3922, allocations: 4 kB / 0.6182 GB, free: 10.21 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3922, allocations: 0 / 0.6182 GB, free: 10.21 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002539/0.3925, allocations: 3.938 kB / 0.6182 GB, free: 10.2 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: 1941 * Number of variables: 1941 Notification: Performance of Generate backend data structure: time 0.01666/0.4091, allocations: 6.824 MB / 0.6248 GB, free: 3.309 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.4092, allocations: 12.03 kB / 0.6248 GB, free: 3.297 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02628/0.4354, allocations: 3.336 MB / 0.6281 GB, free: 15.95 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01127/0.4467, allocations: 4.07 MB / 0.6321 GB, free: 11.82 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003037/0.447, allocations: 312.4 kB / 0.6324 GB, free: 11.51 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001504/0.4485, allocations: 439.6 kB / 0.6328 GB, free: 11.08 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02733/0.4758, allocations: 14.05 MB / 0.6465 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001689/0.476, allocations: 59.56 kB / 0.6466 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005685/0.4766, allocations: 207.8 kB / 0.6468 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004298/0.4809, allocations: 2.523 MB / 0.6492 GB, free: 9.32 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02489/0.5058, allocations: 11.79 MB / 0.6607 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07049/0.5763, allocations: 49.51 MB / 0.7091 GB, free: 10.73 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01722/0.5935, allocations: 5.222 MB / 0.7142 GB, free: 5.465 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004952/0.5984, allocations: 3.275 MB / 0.7174 GB, free: 2.184 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0244/0.6228, allocations: 12.69 MB / 0.7298 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.061e-05/0.6229, allocations: 64.48 kB / 0.7298 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=230): time 4.919e-06/0.6229, allocations: 0 / 0.7298 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of matching and sorting (n=267): time 0.3413/0.9642, allocations: 28.73 MB / 0.7579 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.287e-05/0.9642, allocations: 261.3 kB / 0.7582 GB, free: 146.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004798/0.969, allocations: 4.768 MB / 0.7628 GB, free: 141.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004531/0.9695, allocations: 69.7 kB / 0.7629 GB, free: 141.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00158/0.9711, allocations: 4.078 MB / 0.7669 GB, free: 138 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008418/0.9719, allocations: 1.057 MB / 0.7679 GB, free: 137 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001593/0.9735, allocations: 1.54 MB / 0.7694 GB, free: 135.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.022e-05/0.9735, allocations: 313 kB / 0.7697 GB, free: 135.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003243/0.9768, allocations: 3.002 MB / 0.7726 GB, free: 132.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004481/0.9813, allocations: 7.44 MB / 0.7799 GB, free: 122.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00909/0.9903, allocations: 11.1 MB / 0.7907 GB, free: 109.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.903e-05/0.9904, allocations: 44 kB / 0.7908 GB, free: 109.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1001) (initialization): time 0.01586/1.006, allocations: 11.15 MB / 0.8017 GB, free: 98.14 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.42e-05/1.006, allocations: 68 kB / 0.8017 GB, free: 98.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001051/1.006, allocations: 152 kB / 0.8019 GB, free: 97.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002775/1.009, allocations: 1.223 MB / 0.8031 GB, free: 96.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005868/1.015, allocations: 1.833 MB / 0.8049 GB, free: 94.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007591/1.023, allocations: 8.028 MB / 0.8127 GB, free: 86.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005799/1.029, allocations: 435.3 kB / 0.8131 GB, free: 86.21 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009991/1.03, allocations: 452 kB / 0.8135 GB, free: 85.77 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 687 * Number of states: 0 () * Number of discrete variables: 57 (lineForceWithMass.lineShapeColor[3],lineForceWithMass.lineShapeColor[2],lineForceWithMass.lineShapeColor[1],lineForceWithMass.massColor[3],lineForceWithMass.massColor[2],lineForceWithMass.massColor[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.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 (951): * Single equations (assignments): 946 * 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 {(2,12,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003517/1.033, allocations: 2.63 MB / 0.8161 GB, free: 83.13 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009004/1.034, allocations: 449 kB / 0.8165 GB, free: 82.69 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007518/1.041, allocations: 5.183 MB / 0.8216 GB, free: 77.48 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.666e-05/1.041, allocations: 32 kB / 0.8216 GB, free: 77.45 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.264e-05/1.041, allocations: 4 kB / 0.8216 GB, free: 77.45 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-05/1.042, allocations: 19.89 kB / 0.8217 GB, free: 77.43 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01946/1.061, allocations: 10.06 MB / 0.8315 GB, free: 67.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.851e-05/1.061, allocations: 4 kB / 0.8315 GB, free: 67.38 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002628/1.064, allocations: 499.2 kB / 0.832 GB, free: 66.89 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002609/1.066, allocations: 0.9964 MB / 0.8329 GB, free: 65.89 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003356/1.067, allocations: 51.98 kB / 0.833 GB, free: 65.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007155/1.074, allocations: 7.387 MB / 0.8402 GB, free: 58.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/1.074, allocations: 0 / 0.8402 GB, free: 58.25 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01118/1.085, allocations: 8.708 MB / 0.8487 GB, free: 49.46 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001146/1.086, allocations: 400.9 kB / 0.8491 GB, free: 49.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009938/1.087, allocations: 48.06 kB / 0.8491 GB, free: 49.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002461/1.09, allocations: 179.6 kB / 0.8493 GB, free: 48.85 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004122/1.09, allocations: 149.7 kB / 0.8494 GB, free: 48.71 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002091/1.09, allocations: 71.98 kB / 0.8495 GB, free: 48.64 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003909/1.094, allocations: 2.773 MB / 0.8522 GB, free: 45.86 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.094, allocations: 0 / 0.8522 GB, free: 45.86 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005784/1.1, allocations: 1.351 MB / 0.8535 GB, free: 44.51 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (227): * Single equations (assignments): 222 * 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,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000557/1.1, allocations: 182.7 kB / 0.8537 GB, free: 44.33 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00936/1.11, allocations: 7.016 MB / 0.8606 GB, free: 37.31 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/1.11, allocations: 0 / 0.8606 GB, free: 37.31 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003049/1.113, allocations: 2.383 MB / 0.8629 GB, free: 34.91 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004035/1.117, allocations: 0.5091 MB / 0.8634 GB, free: 34.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01954/1.136, allocations: 13 MB / 0.8761 GB, free: 21.36 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005137/1.142, allocations: 3.592 MB / 0.8796 GB, free: 17.74 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.005458/1.147, allocations: 2.319 MB / 0.8819 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00129/1.148, allocations: 295.4 kB / 0.8821 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of SimCode: time 2.014e-06/1.148, allocations: 0 / 0.8821 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of Templates: time 0.09558/1.244, allocations: 52.38 MB / 0.9333 GB, free: 11.39 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.LineForceWithMass -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/LineForceWithMass/LineForceWithMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.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: 7.502604651992442]