code: def test_issue_17247_expression_blowup_29():
      M = Matrix(
          S(
              """[
          [             -3/4,       45/32 - 37*I/16,                   0,                     0],
          [-149/64 + 49*I/32, -177/128 - 1369*I/128,                   0, -2063/256 + 541*I/128],
          [                0,         9/4 + 55*I/16, 2473/256 + 137*I/64,                     0],
          [                0,                     0,                   0, -177/128 - 1369*I/128]]"""
          )
      )
      with dotprodsimp(True):
          assert M.gauss_jordan_solve(ones(4, 1)) == (
              Matrix(
                  S(
                      """[
              [                          -32549314808672/3306971225785 - 17397006745216*I/3306971225785],
              [                               67439348256/3306971225785 - 9167503335872*I/3306971225785],
              [-15091965363354518272/21217636514687010905 + 16890163109293858304*I/21217636514687010905],
              [                                                          -11328/952745 + 87616*I/952745]]"""
                  )
              ),
              Matrix(0, 1, []),
          )
  
imports: import pytest
  from sympy.core.function import expand_mul
  from sympy.core.numbers import I, Rational
  from sympy.core.singleton import S
  from sympy.core.symbol import Symbol, symbols
  from sympy.core.sympify import sympify
  from sympy.simplify.simplify import simplify
  from sympy.matrices.exceptions import ShapeError, NonSquareMatrixError
  from sympy.matrices import ImmutableMatrix, Matrix, eye, ones, ImmutableDenseMatrix, dotprodsimp
  from sympy.matrices.determinant import _det_laplace
  from sympy.testing.pytest import raises
  from sympy.matrices.exceptions import NonInvertibleMatrixError
  from sympy.polys.matrices.exceptions import DMShapeError
  from sympy.solvers.solveset import linsolve
  from sympy.abc import x, y
label_desc: Use image node_id 1 for calling a global function with example usage: test_issue_17247_expression_blowup_29() without return types