Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001389/0.001389, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001426/0.001426, allocations: 217.2 kB / 23.75 MB, free: 4.668 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.432/1.432, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.2289/0.2289, allocations: 46.94 MB / 360.9 MB, free: 4.246 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.Forces.FrameTorques,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Forces_FrameTorques",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Forces_FrameTorques",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003073/0.003073, allocations: 67.91 kB / 0.4962 GB, free: 7.879 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3403, allocations: 66.02 MB / 0.5606 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01566/0.356, allocations: 12.77 MB / 0.5731 GB, free: 7.633 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01023/0.3662, allocations: 4.548 MB / 0.5776 GB, free: 3.07 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002397/0.3686, allocations: 99.5 kB / 0.5777 GB, free: 2.973 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007635/0.3762, allocations: 3.769 MB / 0.5813 GB, free: 15.19 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006059/0.3823, allocations: 2.249 MB / 0.5835 GB, free: 12.93 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002774/0.3851, allocations: 1.006 MB / 0.5845 GB, free: 11.93 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009617/0.3947, allocations: 6.058 MB / 0.5904 GB, free: 5.855 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005401/0.4001, allocations: 3.51 MB / 0.5939 GB, free: 2.273 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004023/0.4041, allocations: 1.99 MB / 0.5958 GB, free: 284 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004864/0.409, allocations: 2.835 MB / 0.5986 GB, free: 13.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001292/0.4103, allocations: 408 kB / 0.599 GB, free: 13.04 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003174/0.4134, allocations: 1.482 MB / 0.6004 GB, free: 11.55 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003116/0.4166, allocations: 2.509 MB / 0.6029 GB, free: 9.035 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004085/0.4206, allocations: 2.765 MB / 0.6056 GB, free: 6.254 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01197/0.4326, allocations: 8.79 MB / 0.6141 GB, free: 13.43 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/0.4326, allocations: 0 / 0.6141 GB, free: 13.43 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4326, allocations: 0 / 0.6141 GB, free: 13.43 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002986/0.4329, allocations: 4 kB / 0.6141 GB, free: 13.42 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.01723/0.4502, allocations: 6.279 MB / 0.6203 GB, free: 7.078 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.183e-05/0.4502, allocations: 12.03 kB / 0.6203 GB, free: 7.066 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002406/0.4526, allocations: 0.8228 MB / 0.6211 GB, free: 6.234 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03748/0.4901, allocations: 6.059 MB / 0.627 GB, free: 168 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01043/0.5005, allocations: 4.071 MB / 0.631 GB, free: 12.03 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002947/0.5008, allocations: 283.3 kB / 0.6313 GB, free: 11.75 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0015/0.5023, allocations: 379.7 kB / 0.6316 GB, free: 11.38 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02402/0.5264, allocations: 11.48 MB / 0.6428 GB, free: 15.05 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002446/0.5266, allocations: 59.5 kB / 0.6429 GB, free: 14.99 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001145/0.5277, allocations: 179.8 kB / 0.6431 GB, free: 14.81 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003971/0.5317, allocations: 2.15 MB / 0.6452 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01995/0.5517, allocations: 9.363 MB / 0.6543 GB, free: 3.281 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06042/0.6121, allocations: 45.18 MB / 0.6984 GB, free: 4.82 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009905/0.622, allocations: 3.225 MB / 0.7016 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00283/0.6248, allocations: 1.861 MB / 0.7034 GB, free: 15.67 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01113/0.6359, allocations: 5.407 MB / 0.7087 GB, free: 10.24 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.397e-05/0.636, allocations: 52.05 kB / 0.7087 GB, free: 10.18 MB / 0.545 GB Notification: Performance of pre-optimization done (n=150): time 4.699e-06/0.636, allocations: 0 / 0.7087 GB, free: 10.18 MB / 0.545 GB Notification: Performance of matching and sorting (n=162): time 0.04301/0.679, allocations: 15.62 MB / 0.724 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001419/0.6792, allocations: 222.2 kB / 0.7242 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009833/0.689, allocations: 5.64 MB / 0.7297 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003562/0.6893, allocations: 49.7 kB / 0.7297 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003707/0.6931, allocations: 3.901 MB / 0.7335 GB, free: 0.5703 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.2475/0.9405, allocations: 0.677 MB / 0.7342 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003294/0.9438, allocations: 1.349 MB / 0.7355 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.125e-05/0.9439, allocations: 306 kB / 0.7358 GB, free: 154.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003695/0.9476, allocations: 2.074 MB / 0.7378 GB, free: 154 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004784/0.9524, allocations: 6.312 MB / 0.744 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007796/0.9602, allocations: 9.137 MB / 0.7529 GB, free: 139.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001948/0.9604, allocations: 45.56 kB / 0.753 GB, free: 139.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=860) (initialization): time 0.01432/0.9747, allocations: 8.616 MB / 0.7614 GB, free: 135.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001182/0.9748, allocations: 68 kB / 0.7615 GB, free: 135.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002065/0.975, allocations: 152 kB / 0.7616 GB, free: 135.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001712/0.9767, allocations: 0.7249 MB / 0.7623 GB, free: 134.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004408/0.9811, allocations: 1.501 MB / 0.7638 GB, free: 133.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006455/0.9876, allocations: 6.75 MB / 0.7704 GB, free: 127.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004941/0.9925, allocations: 346.5 kB / 0.7707 GB, free: 126.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009851/0.9935, allocations: 412.6 kB / 0.7711 GB, free: 126.5 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 686 * Number of states: 0 () * Number of discrete variables: 49 (frameTorque2.arrow.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque1.arrow.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,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 (798): * Single equations (assignments): 791 * 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.004179/0.9977, allocations: 2.453 MB / 0.7735 GB, free: 124.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008537/0.9985, allocations: 491.4 kB / 0.7739 GB, free: 124.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004153/1.003, allocations: 2.652 MB / 0.7765 GB, free: 121.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.39e-05/1.003, allocations: 23.83 kB / 0.7766 GB, free: 121.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.168e-05/1.003, allocations: 4 kB / 0.7766 GB, free: 121.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-05/1.003, allocations: 7.969 kB / 0.7766 GB, free: 121.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01259/1.015, allocations: 7.424 MB / 0.7838 GB, free: 114 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.659e-05/1.015, allocations: 4 kB / 0.7838 GB, free: 114 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001166/1.017, allocations: 259.5 kB / 0.7841 GB, free: 113.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00127/1.018, allocations: 0.4913 MB / 0.7846 GB, free: 113.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001271/1.018, allocations: 32 kB / 0.7846 GB, free: 113.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005419/1.023, allocations: 6.079 MB / 0.7905 GB, free: 107 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/1.023, allocations: 0 / 0.7905 GB, free: 107 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00568/1.029, allocations: 4.96 MB / 0.7954 GB, free: 102 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001157/1.03, allocations: 479.6 kB / 0.7958 GB, free: 101.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006702/1.031, allocations: 31.94 kB / 0.7959 GB, free: 101.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001616/1.032, allocations: 67.92 kB / 0.7959 GB, free: 101.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002714/1.033, allocations: 104.7 kB / 0.796 GB, free: 101.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001139/1.033, allocations: 47.98 kB / 0.7961 GB, free: 101.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004735/1.038, allocations: 3.611 MB / 0.7996 GB, free: 97.74 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.01e-07/1.038, allocations: 0 / 0.7996 GB, free: 97.74 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005247/1.043, allocations: 1.089 MB / 0.8007 GB, free: 96.66 MB / 0.5606 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 (120): * Single equations (assignments): 115 * 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.006269/1.049, allocations: 5.602 MB / 0.8061 GB, free: 91 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00743/1.057, allocations: 4.991 MB / 0.811 GB, free: 86.03 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/1.057, allocations: 1.641 kB / 0.811 GB, free: 86.03 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001776/1.058, allocations: 1.401 MB / 0.8124 GB, free: 84.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00412/1.062, allocations: 0.6281 MB / 0.813 GB, free: 83.98 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07177/1.134, allocations: 54.06 MB / 0.8658 GB, free: 23.23 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003957/1.138, allocations: 3.769 MB / 0.8695 GB, free: 19.44 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004454/1.143, allocations: 2.124 MB / 0.8715 GB, free: 17.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002657/1.145, allocations: 2.303 MB / 0.8738 GB, free: 15 MB / 0.5606 GB Notification: Performance of SimCode: time 1.312e-06/1.145, allocations: 0 / 0.8738 GB, free: 15 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.168/1.313, allocations: 90.02 MB / 0.9617 GB, free: 5.512 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 33.81/35.12, allocations: 13.31 kB / 0.9617 GB, free: 5.508 MB / 0.6387 GB " [Timeout remaining time 625] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Forces_FrameTorques_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Forces_FrameTorques.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 38.91588639118709]