Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Torque.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.001259/0.001259, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 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.001458/0.001458, allocations: 173.1 kB / 24.92 MB, free: 8.727 MB / 18.57 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.005/1.005, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] 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.2803/0.2803, allocations: 34.27 MB / 296.1 MB, free: 0.7344 MB / 266.7 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.Torque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Torque") translateModel(ModelicaTest.MultiBody.Forces.Torque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Torque") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 325.2 MB, free: 7.695 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.65e-05/2.813e-05, allocations: 4.031 kB / 325.2 MB, free: 7.691 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque): time 0.01661/0.01664, allocations: 14.63 MB / 339.9 MB, free: 9 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01469/0.03132, allocations: 5.044 MB / 344.9 MB, free: 3.938 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003715/0.03504, allocations: 123.4 kB / 345 MB, free: 3.816 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006963/0.042, allocations: 5.366 MB / 350.4 MB, free: 14.43 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006074/0.04808, allocations: 2.675 MB / 353.1 MB, free: 11.75 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002172/0.05025, allocations: 1.185 MB / 354.3 MB, free: 10.56 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.008222/0.05847, allocations: 7.594 MB / 361.9 MB, free: 2.953 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005835/0.06431, allocations: 5.244 MB / 367.1 MB, free: 13.61 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006791/0.0711, allocations: 4.659 MB / 371.8 MB, free: 8.938 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004314/0.07541, allocations: 3.289 MB / 375 MB, free: 5.641 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001338/0.07675, allocations: 0.5039 MB / 375.6 MB, free: 5.137 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002313/0.07906, allocations: 1.342 MB / 376.9 MB, free: 3.793 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002545/0.08161, allocations: 3.187 MB / 380.1 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002921/0.08453, allocations: 1.963 MB / 382 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007553/0.09208, allocations: 6.675 MB / 388.7 MB, free: 7.926 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.09209, allocations: 0 / 388.7 MB, free: 7.926 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.09209, allocations: 0 / 388.7 MB, free: 7.926 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002536/0.09234, allocations: 0 / 388.7 MB, free: 7.926 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2161 * Number of variables: 2161 Notification: Performance of Generate backend data structure: time 0.008524/0.1009, allocations: 6.941 MB / 395.7 MB, free: 0.9141 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.1009, allocations: 8.031 kB / 395.7 MB, free: 0.9062 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003682/0.1046, allocations: 1.511 MB / 397.2 MB, free: 15.39 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003782/0.1084, allocations: 3.018 MB / 400.2 MB, free: 12.3 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001758/0.1085, allocations: 353.6 kB / 400.5 MB, free: 11.95 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005587/0.1091, allocations: 488 kB / 401 MB, free: 11.47 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008513/0.1176, allocations: 7.177 MB / 408.2 MB, free: 3.266 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001262/0.1177, allocations: 63.48 kB / 408.3 MB, free: 3.203 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003892/0.1181, allocations: 231.8 kB / 408.5 MB, free: 2.977 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00189/0.12, allocations: 2.336 MB / 410.8 MB, free: 0.6367 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006818/0.1268, allocations: 3.565 MB / 414.4 MB, free: 13 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2339/0.3607, allocations: 44.75 MB / 459.1 MB, free: 77.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005527/0.3662, allocations: 2.476 MB / 461.6 MB, free: 76.88 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009089/0.3671, allocations: 0.5094 MB / 462.1 MB, free: 76.83 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007307/0.3744, allocations: 4.631 MB / 466.8 MB, free: 75.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.601e-05/0.3745, allocations: 56.28 kB / 466.8 MB, free: 75.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=176): time 6.182e-06/0.3745, allocations: 1.562 kB / 466.8 MB, free: 75.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=185): time 0.02028/0.3948, allocations: 7.972 MB / 474.8 MB, free: 74.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.144e-05/0.3948, allocations: 226.5 kB / 475 MB, free: 74.46 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004633/0.3995, allocations: 4.763 MB / 479.8 MB, free: 71.28 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002855/0.3998, allocations: 51.7 kB / 479.8 MB, free: 71.24 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001455/0.4012, allocations: 4.447 MB / 484.3 MB, free: 67.12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006608/0.4019, allocations: 0.7948 MB / 485.1 MB, free: 66.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001151/0.403, allocations: 1.633 MB / 486.7 MB, free: 65.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.331e-05/0.4031, allocations: 301.1 kB / 487 MB, free: 64.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001448/0.4045, allocations: 1.036 MB / 488 MB, free: 63.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002636/0.4071, allocations: 6.311 MB / 494.3 MB, free: 55.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005238/0.4124, allocations: 8.061 MB / 0.4906 GB, free: 44.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000133/0.4125, allocations: 52 kB / 0.4907 GB, free: 44.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=1111) (initialization): time 0.007949/0.4205, allocations: 6.035 MB / 0.4966 GB, free: 38.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.235e-05/0.4206, allocations: 88 kB / 0.4966 GB, free: 38.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001715/0.4207, allocations: 192 kB / 0.4968 GB, free: 38.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001545/0.4223, allocations: 0.6027 MB / 0.4974 GB, free: 37.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003401/0.4257, allocations: 1.891 MB / 0.4993 GB, free: 36.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003403/0.4291, allocations: 4.22 MB / 0.5034 GB, free: 31.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004956/0.434, allocations: 371.7 kB / 0.5037 GB, free: 31.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009393/0.435, allocations: 452 kB / 0.5042 GB, free: 30.81 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 874 * Number of states: 0 () * Number of discrete variables: 67 (torque2.torqueArrow.twoHeadedArrow,torque2.torqueArrow.headAtOrigin,torque1.torqueArrow.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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 (1059): * Single equations (assignments): 1052 * 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 {(2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002522/0.4375, allocations: 0.8435 MB / 0.505 GB, free: 29.95 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000872/0.4384, allocations: 291.7 kB / 0.5053 GB, free: 29.67 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002094/0.4405, allocations: 1.314 MB / 0.5066 GB, free: 28.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-05/0.4405, allocations: 23.98 kB / 0.5066 GB, free: 28.31 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-05/0.4405, allocations: 7.438 kB / 0.5066 GB, free: 28.31 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/0.4405, allocations: 11.97 kB / 0.5066 GB, free: 28.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009936/0.4504, allocations: 5.677 MB / 0.5121 GB, free: 22.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-05/0.4505, allocations: 8.125 kB / 0.5121 GB, free: 22.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006372/0.4511, allocations: 255.6 kB / 0.5124 GB, free: 22.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001491/0.4526, allocations: 0.6185 MB / 0.513 GB, free: 21.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000155/0.4527, allocations: 43.81 kB / 0.513 GB, free: 21.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002943/0.4557, allocations: 3.814 MB / 0.5168 GB, free: 17.55 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.4557, allocations: 11.94 kB / 0.5168 GB, free: 17.54 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003375/0.4591, allocations: 2.415 MB / 0.5191 GB, free: 15 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001267/0.4603, allocations: 448.6 kB / 0.5196 GB, free: 14.56 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005396/0.4609, allocations: 36 kB / 0.5196 GB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009207/0.4618, allocations: 39.98 kB / 0.5196 GB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001989/0.462, allocations: 128.5 kB / 0.5198 GB, free: 14.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.533e-05/0.4621, allocations: 51.98 kB / 0.5198 GB, free: 14.31 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002087/0.4642, allocations: 1.774 MB / 0.5215 GB, free: 12.55 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4642, allocations: 0 / 0.5215 GB, free: 12.55 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005217/0.4694, allocations: 1.476 MB / 0.523 GB, free: 11.08 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (150): * Single equations (assignments): 145 * 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,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004119/0.4698, allocations: 168 kB / 0.5231 GB, free: 10.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004165/0.474, allocations: 3.544 MB / 0.5266 GB, free: 7.367 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001863/0.4741, allocations: 120.2 kB / 0.5267 GB, free: 7.238 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009019/0.475, allocations: 0.7946 MB / 0.5275 GB, free: 6.426 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003512/0.4786, allocations: 0.8918 MB / 0.5284 GB, free: 5.559 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0161/0.4947, allocations: 10.66 MB / 0.5388 GB, free: 10.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002596/0.4973, allocations: 1.784 MB / 0.5405 GB, free: 8.883 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002231/0.4995, allocations: 0.6972 MB / 0.5412 GB, free: 8.188 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001432/0.5009, allocations: 0.7237 MB / 0.5419 GB, free: 7.461 MB / 426.7 MB Notification: Performance of SimCode: time 3.046e-06/0.5009, allocations: 0 / 0.5419 GB, free: 7.461 MB / 426.7 MB Notification: Performance of Templates: time 0.07165/0.5726, allocations: 44.32 MB / 0.5852 GB, free: 11.59 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Torque.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Torque.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Torque.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Torque.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Torque.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Torque -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Torque.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Torque_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/Torque/Torque.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.685479985084385]