def METHOD_NAME(self, name):
    testFile = TempfileManager.create_tempfile(suffix=name + '.test.nl')
    testFile_row = testFile[:-2] + 'row'
    TempfileManager.add_tempfile(testFile_row, exists=False)
    testFile_col = testFile[:-2] + 'col'
    TempfileManager.add_tempfile(testFile_col, exists=False)
    cmd = [
        '--output=' + testFile,
        '--file-determinism=2',
        '--symbolic-solver-labels',
        join(currdir, name + '_testCase.py'),
    ]
    if os.path.exists(join(currdir, name + '.dat')):
        cmd.append(join(currdir, name + '.dat'))
    self.pyomo(cmd)
    #
    # compare AMPL and Pyomo nl file structure
    #
    testFile_json = testFile[:-2] + 'json'
    TempfileManager.add_tempfile(testFile_json, exists=False)
    # obtain the nl file summary information for comparison with ampl
    p = subprocess.run(
        [
            'gjh_asl_json',
            testFile,
            'rows=' + testFile_row,
            'cols=' + testFile_col,
            'json=' + testFile_json,
        ],
        stdout=subprocess.PIPE,
        stderr=subprocess.STDOUT,
        universal_newlines=True,
    )
    self.assertTrue(p.returncode == 0, msg=p.stdout)
    baseFile = join(currdir, name + '.ampl.nl')
    amplFile = TempfileManager.create_tempfile(suffix=name + '.ampl.json')
    # obtain the nl file summary information for comparison with ampl
    p = subprocess.run(
        [
            'gjh_asl_json',
            baseFile,
            'rows=' + baseFile[:-2] + 'row',
            'cols=' + baseFile[:-2] + 'col',
            'json=' + amplFile,
        ],
        stdout=subprocess.PIPE,
        stderr=subprocess.STDOUT,
        universal_newlines=True,
    )
    self.assertTrue(p.returncode == 0, msg=p.stdout)
    with open(testFile_json, 'r') as f1, open(amplFile, 'r') as f2:
        self.assertStructuredAlmostEqual(json.load(f1), json.load(f2), abstol=1e-8)