Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.Distance2.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.001935/0.001935, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002234/0.002234, allocations: 211.8 kB / 24.51 MB, free: 3.914 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.483/1.483, allocations: 230.6 MB / 258.3 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2261/0.2261, allocations: 44.94 MB / 359.6 MB, free: 6.039 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Sensors.Distance2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_Distance2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.Distance2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_Distance2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002034, allocations: 59.91 kB / 0.4938 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.301, allocations: 65.49 MB / 0.5577 GB, free: 7.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.Distance2): time 0.01086/0.3118, allocations: 7.962 MB / 0.5655 GB, free: 15.51 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007653/0.3195, allocations: 3.384 MB / 0.5688 GB, free: 12.12 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001357/0.3208, allocations: 59.69 kB / 0.5689 GB, free: 12.06 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003991/0.3248, allocations: 1.865 MB / 0.5707 GB, free: 10.19 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004031/0.3289, allocations: 1.615 MB / 0.5723 GB, free: 8.566 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001422/0.3303, allocations: 0.577 MB / 0.5728 GB, free: 7.988 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005486/0.3358, allocations: 3.666 MB / 0.5764 GB, free: 4.316 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003168/0.3389, allocations: 1.998 MB / 0.5784 GB, free: 2.258 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002158/0.3411, allocations: 1.18 MB / 0.5795 GB, free: 1.074 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002869/0.344, allocations: 1.779 MB / 0.5812 GB, free: 15.29 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007835/0.3448, allocations: 240 kB / 0.5815 GB, free: 15.05 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002332/0.3471, allocations: 1.034 MB / 0.5825 GB, free: 14.02 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002042/0.3491, allocations: 1.55 MB / 0.584 GB, free: 12.46 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002393/0.3515, allocations: 1.324 MB / 0.5853 GB, free: 11.13 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007691/0.3592, allocations: 5.895 MB / 0.591 GB, free: 5.215 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.3592, allocations: 0 / 0.591 GB, free: 5.215 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3592, allocations: 0 / 0.591 GB, free: 5.215 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001649/0.3594, allocations: 0 / 0.591 GB, free: 5.215 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1211 * Number of variables: 1211 Notification: Performance of Generate backend data structure: time 0.01051/0.3699, allocations: 3.986 MB / 0.5949 GB, free: 1.172 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.3699, allocations: 8.031 kB / 0.595 GB, free: 1.164 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001268/0.3701, allocations: 84.72 kB / 0.595 GB, free: 1.078 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001322/0.3714, allocations: 0.5792 MB / 0.5956 GB, free: 500 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0787/0.4501, allocations: 6.966 MB / 0.6024 GB, free: 9.512 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006199/0.4563, allocations: 2.407 MB / 0.6048 GB, free: 7.066 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000208/0.4565, allocations: 180.6 kB / 0.6049 GB, free: 6.887 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001042/0.4575, allocations: 239.8 kB / 0.6052 GB, free: 6.652 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01362/0.4712, allocations: 7.77 MB / 0.6127 GB, free: 14.21 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001027/0.4713, allocations: 43.7 kB / 0.6128 GB, free: 14.17 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003433/0.4716, allocations: 115.9 kB / 0.6129 GB, free: 14.06 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002728/0.4743, allocations: 1.586 MB / 0.6144 GB, free: 12.47 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01217/0.4865, allocations: 6.453 MB / 0.6207 GB, free: 6.008 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03785/0.5244, allocations: 30.16 MB / 0.6502 GB, free: 6.871 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00475/0.5291, allocations: 1.893 MB / 0.652 GB, free: 4.941 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001447/0.5306, allocations: 0.9755 MB / 0.653 GB, free: 3.953 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002651/0.5308, allocations: 87.92 kB / 0.6531 GB, free: 3.867 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.465e-05/0.5309, allocations: 50.5 kB / 0.6531 GB, free: 3.809 MB / 494.1 MB Notification: Performance of pre-optimization done (n=104): time 1.242e-05/0.5309, allocations: 0 / 0.6531 GB, free: 3.809 MB / 494.1 MB Notification: Performance of matching and sorting (n=118): time 0.02217/0.553, allocations: 8.422 MB / 0.6614 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001341/0.5532, allocations: 200.4 kB / 0.6615 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005476/0.5587, allocations: 3.769 MB / 0.6652 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002042/0.5589, allocations: 45.69 kB / 0.6653 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002298/0.5612, allocations: 2.826 MB / 0.668 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006301/0.5618, allocations: 0.5043 MB / 0.6685 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001536/0.5633, allocations: 1.092 MB / 0.6696 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.5635, allocations: 313.1 kB / 0.6699 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002564/0.566, allocations: 1.588 MB / 0.6714 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006003/0.572, allocations: 5.195 MB / 0.6765 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009247/0.5813, allocations: 7.325 MB / 0.6837 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001215/0.5814, allocations: 43.92 kB / 0.6837 GB, free: 0.7656 MB / 0.5137 GB Notification: Performance of matching and sorting (n=698) (initialization): time 0.01281/0.5942, allocations: 6.632 MB / 0.6902 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001171/0.5943, allocations: 58.34 kB / 0.6902 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000181/0.5945, allocations: 128 kB / 0.6904 GB, free: 9.941 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001052/0.5956, allocations: 396.6 kB / 0.6907 GB, free: 9.551 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00391/0.5995, allocations: 1.224 MB / 0.6919 GB, free: 8.324 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004209/0.6037, allocations: 3.217 MB / 0.6951 GB, free: 5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003611/0.6073, allocations: 279.6 kB / 0.6953 GB, free: 4.727 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006447/0.6079, allocations: 344 kB / 0.6957 GB, free: 4.391 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 577 * Number of states: 0 () * Number of discrete variables: 35 (LessEqualThreshold1.y,distance2.arrow.twoHeadedArrow,distance2.arrow.headAtOrigin,distance1.arrow.twoHeadedArrow,distance1.arrow.headAtOrigin,distance2.arrowColor[3],distance2.arrowColor[2],distance2.arrowColor[1],distance1.arrowColor[3],distance1.arrowColor[2],distance1.arrowColor[1],fixed.color[3],fixed.color[2],fixed.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 (663): * Single equations (assignments): 659 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002752/0.6107, allocations: 1.776 MB / 0.6974 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005559/0.6112, allocations: 325.9 kB / 0.6977 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002741/0.614, allocations: 1.461 MB / 0.6991 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.656e-05/0.614, allocations: 12 kB / 0.6991 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/0.614, allocations: 7.938 kB / 0.6992 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.368e-05/0.614, allocations: 7.984 kB / 0.6992 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009152/0.6232, allocations: 4.608 MB / 0.7037 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.195e-05/0.6232, allocations: 4.031 kB / 0.7037 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008491/0.624, allocations: 167.6 kB / 0.7038 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007245/0.6248, allocations: 216.6 kB / 0.704 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.852e-05/0.6249, allocations: 27.97 kB / 0.7041 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003315/0.6282, allocations: 2.576 MB / 0.7066 GB, free: 9.012 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.6282, allocations: 0 / 0.7066 GB, free: 9.012 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004934/0.6331, allocations: 3.294 MB / 0.7098 GB, free: 5.688 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007563/0.6339, allocations: 297.7 kB / 0.7101 GB, free: 5.395 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000362/0.6342, allocations: 20 kB / 0.7101 GB, free: 5.375 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001006/0.6352, allocations: 47.94 kB / 0.7101 GB, free: 5.328 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001806/0.6354, allocations: 68.31 kB / 0.7102 GB, free: 5.262 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.8e-05/0.6355, allocations: 35.98 kB / 0.7102 GB, free: 5.227 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003918/0.6394, allocations: 2.346 MB / 0.7125 GB, free: 2.895 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6394, allocations: 3.938 kB / 0.7125 GB, free: 2.891 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004059/0.6435, allocations: 0.7656 MB / 0.7133 GB, free: 2.125 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (Revolute1.phi,Revolute1.w) * Number of discrete variables: 1 (LessEqualThreshold1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 84 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,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.005475/0.649, allocations: 3.914 MB / 0.7171 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006343/0.6553, allocations: 3.677 MB / 0.7207 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.6553, allocations: 0 / 0.7207 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001539/0.6569, allocations: 0.8953 MB / 0.7216 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002211/0.6591, allocations: 379.1 kB / 0.7219 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2973/0.9563, allocations: 37.26 MB / 0.7583 GB, free: 134.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002757/0.9591, allocations: 2.163 MB / 0.7604 GB, free: 132.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003605/0.9627, allocations: 1.708 MB / 0.7621 GB, free: 130.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002062/0.9647, allocations: 1.456 MB / 0.7635 GB, free: 129.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.483e-06/0.9647, allocations: 0 / 0.7635 GB, free: 129.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0886/1.053, allocations: 56.39 MB / 0.8186 GB, free: 73.68 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.15/27.2, allocations: 10.97 kB / 0.8186 GB, free: 73.67 MB / 0.5606 GB " [Timeout remaining time 633] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.Distance2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.Distance2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.Distance2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.Distance2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.Distance2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_Distance2_fmu --startTime=0 --stopTime=0.5 --stepSize=9.996e-05 --timeout=50 --tolerance=1e-10 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_Distance2.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.Distance2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.Distance2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/Distance2/Distance2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.Distance2.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: 31.156663252972066]