Int J Performability Eng ›› 2020, Vol. 16 ›› Issue (2): 297-306.doi: 10.23940/ijpe.20.02.p12.297306

• Orginal Article • Previous Articles     Next Articles

Metamorphic Relation Generation for Physics Burnup Program Testing

Meng Liac, Lijun Wangb, Shiyu Yanac, and Xiaohua Yangac*()   

  1. a Computer School, University of South China, Hengyang, 421001, China
    b Engineering Training Center, University of South China, Hengyang, 421001, China
    c CNNC Key Laboratory on High Trusted Computing, Hengyang, 421001, China
  • Submitted on ; Revised on ; Accepted on
  • Contact: Xiaohua Yang E-mail:xiaohua1963@foxmail.com
  • Supported by:
    This work is supported by the National Science and Technology Major Projects (No. 2019ZX06005001), Scientific Research Project of Department of Education in Hunan Province (No. 16C1362 and 19C1608), Teaching Reform Research Project in Hunan Province (No. Xiangjiaotong 2018, 436-321), and Science Plan Development Project in Hengyang City (No. 2015KG59).

Abstract:

Due to the high complexity of physics burnup calculation, its output is extremely difficult to predict. Therefore, the traditional testing methods are ineffective. Metamorphic testing (MT) is an effective method to solve the oracle problem. However, the manual identification of metamorphic relation (MRs) significantly hinders its application. We propose a novel MR automatic generation framework using gene expression programming (GEP), where the MR identification problem is converted into a symbolic expression regression problem. Specifically, the explicit MRs and the domain-related function operators are inferred by static analysis from the nuclear background knowledge. The MR is encoded as the gene expression by using function operators, symbolic variables, and constants. After a series of genetic operations, we obtain the implicit MRs by decoding the optimal solution of the expression. Moreover, the correctness of each MR is evaluated according to reliability verification, logical conflict, and logical redundancy. The effectiveness is automatically verified by comparing the consistency of output from a group of burnup calculation programs.

Key words: metamorphic relation automatic generation, GEP, homogeneous burnup equation