Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.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.0008414/0.0008414, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.000878/0.000878, allocations: 170 kB / 23.95 MB, free: 0.6094 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 0.8717/0.8717, allocations: 177.1 MB / 204.3 MB, free: 5.703 MB / 186.7 MB " [Timeout remaining time 179] 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.2393/0.2393, allocations: 32.79 MB / 293.5 MB, free: 1.215 MB / 266.7 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.Joints.Planar,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Planar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Planar,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Planar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 439.6 MB, free: 4.23 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.463e-05/1.615e-05, allocations: 6.281 kB / 439.6 MB, free: 4.223 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.1807/0.1807, allocations: 13.01 MB / 452.6 MB, free: 39.41 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006865/0.1876, allocations: 4.234 MB / 456.8 MB, free: 36.76 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001752/0.1893, allocations: 87.16 kB / 456.9 MB, free: 36.74 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003366/0.1927, allocations: 2.287 MB / 459.2 MB, free: 35.78 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005006/0.1977, allocations: 2.118 MB / 461.3 MB, free: 34.83 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001072/0.1988, allocations: 0.6639 MB / 462 MB, free: 34.55 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003837/0.2026, allocations: 4.71 MB / 466.7 MB, free: 32.71 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002393/0.205, allocations: 2.923 MB / 469.6 MB, free: 31.41 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002328/0.2073, allocations: 2.437 MB / 472.1 MB, free: 30.38 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00208/0.2094, allocations: 2.397 MB / 474.5 MB, free: 29.75 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004003/0.2098, allocations: 348.1 kB / 474.8 MB, free: 29.75 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001246/0.2111, allocations: 1.004 MB / 475.8 MB, free: 29.58 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009526/0.212, allocations: 2.09 MB / 477.9 MB, free: 28.68 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009541/0.213, allocations: 1.305 MB / 479.2 MB, free: 28.03 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007073/0.22, allocations: 7.75 MB / 486.9 MB, free: 25.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.635e-06/0.22, allocations: 4.703 kB / 487 MB, free: 25.31 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.22, allocations: 1.094 kB / 487 MB, free: 25.31 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003003/0.2203, allocations: 4 kB / 487 MB, free: 25.31 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1828 * Number of variables: 1828 Notification: Performance of Generate backend data structure: time 0.01096/0.2313, allocations: 5.138 MB / 492.1 MB, free: 22.36 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/0.2314, allocations: 10 kB / 492.1 MB, free: 22.36 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001418/0.2328, allocations: 0.8551 MB / 493 MB, free: 21.94 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006942/0.2397, allocations: 3.277 MB / 496.2 MB, free: 21.35 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005066/0.2448, allocations: 2.394 MB / 498.6 MB, free: 19.87 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001783/0.245, allocations: 251.9 kB / 498.9 MB, free: 19.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001257/0.2462, allocations: 328.5 kB / 499.2 MB, free: 19.63 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0154/0.2616, allocations: 12.25 MB / 0.4995 GB, free: 12.28 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-05/0.2617, allocations: 39.69 kB / 0.4995 GB, free: 12.24 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003204/0.262, allocations: 155.8 kB / 0.4996 GB, free: 12.09 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002357/0.2644, allocations: 2.844 MB / 0.5024 GB, free: 9.238 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01407/0.2784, allocations: 11.11 MB / 0.5133 GB, free: 14.12 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04389/0.3223, allocations: 38.66 MB / 0.551 GB, free: 6.48 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005691/0.328, allocations: 3.729 MB / 0.5547 GB, free: 2.742 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002389/0.3304, allocations: 2.256 MB / 0.5569 GB, free: 500 kB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005157/0.3309, allocations: 441.3 kB / 0.5573 GB, free: 56 kB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.714e-05/0.331, allocations: 52.61 kB / 0.5573 GB, free: 15.99 MB / 474.7 MB Notification: Performance of pre-optimization done (n=249): time 5.571e-06/0.331, allocations: 0 / 0.5573 GB, free: 15.99 MB / 474.7 MB Notification: Performance of matching and sorting (n=267): time 0.02866/0.3596, allocations: 19.09 MB / 0.576 GB, free: 12.84 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.313e-05/0.3597, allocations: 77.41 kB / 0.5761 GB, free: 12.75 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00402/0.3637, allocations: 3.522 MB / 0.5795 GB, free: 9.215 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005031/0.3642, allocations: 65.7 kB / 0.5796 GB, free: 9.145 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001967/0.3662, allocations: 3.218 MB / 0.5827 GB, free: 5.898 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001205/0.3674, allocations: 1.007 MB / 0.5837 GB, free: 4.883 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00141/0.3688, allocations: 1.168 MB / 0.5848 GB, free: 3.703 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.037e-05/0.3689, allocations: 305.1 kB / 0.5851 GB, free: 3.402 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002642/0.3715, allocations: 2.459 MB / 0.5875 GB, free: 0.9375 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0046/0.3761, allocations: 5.715 MB / 0.5931 GB, free: 9.613 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008503/0.3846, allocations: 8.971 MB / 0.6019 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001318/0.3848, allocations: 36 kB / 0.6019 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of matching and sorting (n=787) (initialization): time 0.01411/0.3989, allocations: 8.987 MB / 0.6107 GB, free: 6.016 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.57e-05/0.3989, allocations: 52 kB / 0.6107 GB, free: 5.965 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.364e-05/0.399, allocations: 116.8 kB / 0.6108 GB, free: 5.852 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001827/0.4009, allocations: 1.051 MB / 0.6119 GB, free: 4.797 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00318/0.404, allocations: 1.345 MB / 0.6132 GB, free: 3.449 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00544/0.4095, allocations: 5.391 MB / 0.6184 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003215/0.4127, allocations: 351.7 kB / 0.6188 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007001/0.4134, allocations: 340 kB / 0.6191 GB, free: 13.27 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 517 * Number of states: 0 () * Number of discrete variables: 46 (axis1.arrowLine.twoHeadedArrow,axis1.headAtOrigin,axis2.arrowLine.twoHeadedArrow,axis2.headAtOrigin,axis1.color[3],axis1.color[2],axis1.color[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],planar.cylinderColor[3],planar.cylinderColor[2],planar.cylinderColor[1],planar.boxColor[3],planar.boxColor[2],planar.boxColor[1],planar.revolute.cylinderColor[3],planar.revolute.cylinderColor[2],planar.revolute.cylinderColor[1],planar.prismatic_y.boxColor[3],planar.prismatic_y.boxColor[2],planar.prismatic_y.boxColor[1],planar.prismatic_x.boxColor[3],planar.prismatic_x.boxColor[2],planar.prismatic_x.boxColor[1],axis2.color[3],axis2.color[2],axis2.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (725): * Single equations (assignments): 718 * Array equations: 6 * 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 {(4,11,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004472/0.4179, allocations: 2.423 MB / 0.6215 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005614/0.4184, allocations: 329.8 kB / 0.6218 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006328/0.4248, allocations: 5.36 MB / 0.627 GB, free: 5.09 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.641e-05/0.4248, allocations: 47.98 kB / 0.6271 GB, free: 5.043 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.4248, allocations: 4 kB / 0.6271 GB, free: 5.039 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-05/0.4248, allocations: 7.969 kB / 0.6271 GB, free: 5.031 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2089/0.6337, allocations: 12.58 MB / 0.6394 GB, free: 151.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/0.6337, allocations: 16.66 kB / 0.6394 GB, free: 151.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009107/0.6346, allocations: 425.1 kB / 0.6398 GB, free: 151.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001367/0.636, allocations: 0.8843 MB / 0.6406 GB, free: 151.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001136/0.6361, allocations: 57 kB / 0.6407 GB, free: 151.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003343/0.6394, allocations: 4.705 MB / 0.6453 GB, free: 148.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.672e-06/0.6394, allocations: 20.75 kB / 0.6453 GB, free: 148.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006406/0.6458, allocations: 8.002 MB / 0.6531 GB, free: 145.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007506/0.6466, allocations: 329.3 kB / 0.6534 GB, free: 145.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002314/0.6468, allocations: 48.98 kB / 0.6535 GB, free: 145.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007894/0.6476, allocations: 187.1 kB / 0.6537 GB, free: 145.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002274/0.6478, allocations: 174.7 kB / 0.6538 GB, free: 145.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/0.6479, allocations: 81.91 kB / 0.6539 GB, free: 145.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002333/0.6503, allocations: 2.08 MB / 0.6559 GB, free: 145 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9e-08/0.6503, allocations: 0 / 0.6559 GB, free: 145 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003709/0.654, allocations: 1.148 MB / 0.6571 GB, free: 144.9 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 6 (planar.s_x,planar.s_y,planar.phi,planar.v_x,planar.v_y,planar.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 (208): * Single equations (assignments): 201 * Array equations: 6 * 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 {(3,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007905/0.6619, allocations: 8.679 MB / 0.6655 GB, free: 141.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006812/0.6687, allocations: 5.773 MB / 0.6712 GB, free: 139.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.336e-05/0.6687, allocations: 2.188 kB / 0.6712 GB, free: 139.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002207/0.6709, allocations: 2.097 MB / 0.6732 GB, free: 138.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002023/0.6729, allocations: 450.5 kB / 0.6737 GB, free: 138.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04691/0.7199, allocations: 47.44 MB / 0.72 GB, free: 98.22 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002316/0.7222, allocations: 3.176 MB / 0.7231 GB, free: 95.03 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002442/0.7246, allocations: 2.162 MB / 0.7252 GB, free: 92.86 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001571/0.7262, allocations: 2.109 MB / 0.7273 GB, free: 90.75 MB / 0.5261 GB Notification: Performance of SimCode: time 1.372e-06/0.7262, allocations: 0 / 0.7273 GB, free: 90.75 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07413/0.8003, allocations: 68.53 MB / 0.7942 GB, free: 22.88 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.421/10.22, allocations: 0 / 0.7942 GB, free: 22.88 MB / 0.5261 GB " [Timeout remaining time 650] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Planar.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Planar/Planar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable planar.w in file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar_res.csv. Warning: Get data of variable planar.w from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.368381155654788]