Changeset 14203


Ignore:
Timestamp:
Nov 27, 2019 10:44:52 PM (2 weeks ago)
Author:
Christian Andersson
Message:

Minor updates to the C-code generation for for loops, ticket:5882

Location:
branches/dev-cw-2719/Compiler
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • branches/dev-cw-2719/Compiler/ModelicaCBackEnd/src/jastadd/CCodeGen/CCodeGenFunction.jrag

    r14199 r14203  
    244244            intType.printArrayDecl_C(p, str, indent, Dynamicity.STACK, C_LOOP_INDEX + "_i1", true);
    245245            intType.printArrayDecl_C(p, str, indent, Dynamicity.STACK, C_LOOP_INDEX + "_i2", true);
     246       
     247            realType.printInitArray_C(p, str, indent, Dynamicity.STACK, C_LOOP_INDEX + "_r1", true);
     248            intType.printInitArray_C(p, str, indent, Dynamicity.STACK, C_LOOP_INDEX + "_i1", true);
     249            intType.printInitArray_C(p, str, indent, Dynamicity.STACK, C_LOOP_INDEX + "_i2", true);
    246250        }
    247251    }
     
    249253    public void FFunctionDecl.genFunctionBodyAlgorithm(CodePrinter p, CodeStream str, String indent) {
    250254        p.printVarDecls(this, str, indent);
     255        genForVarDecls_C(p, str, indent);
    251256        for (FFunctionVariable ffv : myNonInputs()) {
    252257            if (!ffv.isArray()) {
     
    254259            }
    255260        }
    256         genForVarDecls_C(p, str, indent);
    257261        p.print(getFAlgorithm(), str, indent);
    258262    }
  • branches/dev-cw-2719/Compiler/ModelicaCBackEnd/test/modelica/CCodeGenAlgorithmTests.mo

    r14199 r14203  
    968968    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    969969    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
     970    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
     971    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
     972    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
    970973    if (o_a == NULL) {
    971974        JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, o_an, 2, 1, 2)
     
    992995    JMI_ARR(STACK, jmi_real_t, jmi_array_t, temp_1_a, 2, 1)
    993996    JMI_ARR(STACK, jmi_real_t, jmi_array_t, temp_2_a, 2, 1)
     997    JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1)
     998    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
     999    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
     1000    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
     1001    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
     1002    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
    9941003    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, tmp_1, 3, 1, 3)
    9951004    r__v->a = tmp_1;
     
    9991008        r_v = r_vn;
    10001009    }
    1001     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1)
    1002     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    1003     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
    10041010    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, temp_1_a, 2, 1, 2)
    10051011    func_CCodeGenAlgorithmTests_Algorithm9_f_def0(temp_1_a);
     
    11121118    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    11131119    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
     1120    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
     1121    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
     1122    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
    11141123    if (o_a == NULL) {
    11151124        JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, o_an, 5, 1, 5)
     
    11611170    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    11621171    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
     1172    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
     1173    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
     1174    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
    11631175    if (o_a == NULL) {
    11641176        JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, o_an, 2, 1, 2)
  • branches/dev-cw-2719/Compiler/ModelicaCBackEnd/test/modelica/CCodeGenArrayTests.mo

    r14199 r14203  
    4242    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    4343    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
     44    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
     45    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
     46    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
    4447    temp_2_v = 0.0;
    4548    jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
     
    253256    JMI_RECORD_STATIC(R_0_r, r_v)
    254257    JMI_ARR(STACK, jmi_real_t, jmi_array_t, tmp_1, 3, 1)
    255     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, tmp_1, 3, 1, 3)
    256     r_v->x = tmp_1;
    257258    JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1)
    258259    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    259260    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
     261    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
     262    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
     263    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
     264    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, tmp_1, 3, 1, 3)
     265    r_v->x = tmp_1;
    260266    y_v = x_v;
    261267    r_v->n = 3;
     
    801807    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1)
    802808    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1)
     809    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 2, 1, 2)
     810    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1, 2)
     811    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1, 2)
    803812    jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    804813    jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((jmi_array_size(r_a, 0)) - (1));
     
    972981    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    973982    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
     983    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
     984    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
     985    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
    974986    JMI_ARRAY_INIT_1(HEAP, jmi_real_t, jmi_array_t, xs_a, n_v, 1, n_v)
    975987    JMI_ARRAY_INIT_1(HEAP, R_0_r, R_0_ra, rs_a, n_v, 1, n_v)
  • branches/dev-cw-2719/Compiler/ModelicaCBackEnd/test/modelica/CCodeGenCompositeStatementTests.mo

    r14199 r14203  
    4545    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    4646    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
     47    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
     48    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
     49    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
    4750    if (y_a == NULL) {
    4851        JMI_ARRAY_INIT_1(STACK, R_0_r, R_0_ra, y_an, 2, 1, 2)
     
    9396    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1)
    9497    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1)
     98    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 2, 1, 2)
     99    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1, 2)
     100    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1, 2)
    95101    if (y_a == NULL) {
    96102        JMI_ARRAY_INIT_1(STACK, R_0_r, R_0_ra, y_an, 2, 1, 2)
     
    165171    JMI_ARR(STACK, jmi_real_t, jmi_array_t, temp_1_a, 1, 1)
    166172    JMI_ARR(STACK, R3_2_r, R3_2_ra, temp_2_a, 2, 1)
     173    JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 2, 1)
     174    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1)
     175    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1)
     176    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 2, 1, 2)
     177    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1, 2)
     178    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1, 2)
    167179    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, tmp_3, 1, 1, 1)
    168180    tmp_2->x = tmp_3;
    169181    tmp_1->r = tmp_2;
    170182    c_v->r = tmp_1;
    171     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 2, 1)
    172     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1)
    173     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1)
    174183    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, temp_1_a, 1, 1, 1)
    175184    jmi_array_ref_1(temp_1_a, 1) = 1;
     
    250259    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1)
    251260    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1)
     261    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 2, 1, 2)
     262    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1, 2)
     263    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1, 2)
    252264    if (y_a == NULL) {
    253265        JMI_ARRAY_INIT_1(STACK, R1_0_r, R1_0_ra, y_an, 1, 1, 1)
     
    310322    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 3, 1)
    311323    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 3, 1)
     324    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 3, 1, 3)
     325    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 3, 1, 3)
     326    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 3, 1, 3)
    312327    if (y_a == NULL) {
    313328        JMI_ARRAY_INIT_1(STACK, R2_1_r, R2_1_ra, y_an, 1, 1, 1)
  • branches/dev-cw-2719/Compiler/ModelicaCBackEnd/test/modelica/CCodeGenExternalTests.mo

    r14199 r14203  
    22432243    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1)
    22442244    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1)
     2245    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 2, 1, 2)
     2246    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1, 2)
     2247    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1, 2)
    22452248    if (eigenReal_a == NULL) {
    22462249        JMI_ARRAY_INIT_1(HEAP, jmi_real_t, jmi_array_t, eigenReal_an, jmi_array_size(A_a, 0), 1, jmi_array_size(A_a, 0))
  • branches/dev-cw-2719/Compiler/ModelicaCBackEnd/test/modelica/CCodeGenGlobalsTests.mo

    r14199 r14203  
    10451045    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    10461046    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
     1047    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
     1048    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
     1049    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
    10471050    y_v = x_v;
    10481051    jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
  • branches/dev-cw-2719/Compiler/ModelicaCBackEnd/test/modelica/CCodeGenLiteralTests.mo

    r14199 r14203  
    6161    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    6262    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
     63    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
     64    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
     65    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
    6366    temp_1_v = INT_MIN;
    6467    jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
  • branches/dev-cw-2719/Compiler/ModelicaCBackEnd/test/modelica/CCodeGenTests.mo

    r14199 r14203  
    911911    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1)
    912912    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1)
     913    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 2, 1, 2)
     914    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1, 2)
     915    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1, 2)
    913916    if (y_a == NULL) {
    914917        JMI_ARRAY_INIT_2(STACK, jmi_real_t, jmi_array_t, y_an, 1, 2, 1, 1)
     
    938941    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1)
    939942    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1)
     943    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 2, 1, 2)
     944    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1, 2)
     945    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1, 2)
    940946    if (y_a == NULL) {
    941947        JMI_ARRAY_INIT_2(STACK, jmi_real_t, jmi_array_t, y_an, 1, 2, 1, 1)
     
    970976    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1)
    971977    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1)
     978    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 2, 1, 2)
     979    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1, 2)
     980    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1, 2)
    972981    temp_1_v = 0.0;
    973982    jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
     
    29402949    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    29412950    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
     2951    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
     2952    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
     2953    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
    29422954    if (y_a == NULL) {
    29432955        JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, y_an, 2, 1, 2)
     
    30133025    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    30143026    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
     3027    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
     3028    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
     3029    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
    30153030    if (dx_a == NULL) {
    30163031        JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, dx_an, 2, 1, 2)
     
    31053120    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    31063121    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
     3122    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
     3123    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
     3124    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
    31073125    if (dx_a == NULL) {
    31083126        JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, dx_an, 2, 1, 2)
     
    33263344    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    33273345    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
     3346    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
     3347    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
     3348    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
    33283349    if (y_a == NULL) {
    33293350        JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, y_an, 2, 1, 2)
     
    36763697    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    36773698    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
     3699    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
     3700    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
     3701    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
    36783702    if (y_a == NULL) {
    36793703        JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, tmp_1, 2, 1, 2)
     
    37113735    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    37123736    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
     3737    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
     3738    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
     3739    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
    37133740    temp_1_v = 0.0;
    37143741    jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
     
    37703797    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    37713798    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
     3799    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
     3800    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
     3801    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
    37723802    o_v = 1.0;
    37733803    x_v = 0;
     
    38203850    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    38213851    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
     3852    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
     3853    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
     3854    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
    38223855    o_v = 1.0;
    38233856    x_v = 0;
     
    38723905    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    38733906    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
     3907    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
     3908    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
     3909    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
    38743910    o_v = 1.0;
    38753911    x_v = 0;
     
    39223958    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    39233959    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
     3960    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
     3961    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
     3962    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
    39243963    o_v = 1.0;
    39253964    x_v = 0;
     
    39854024    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1)
    39864025    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1)
     4026    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 2, 1, 2)
     4027    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1, 2)
     4028    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1, 2)
    39874029    jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    39884030    jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((5) - (1));
     
    40414083    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    40424084    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
     4085    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
     4086    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
     4087    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
    40434088    x_v = 0;
    40444089    for (jmi_array_ref_1(_for_loop_variables_i1, 1) = 0; jmi_array_val_1(_for_loop_variables_i1, 1) < jmi_array_size(y_a, 0); (jmi_array_ref_1(_for_loop_variables_i1, 1))++) {
     
    40874132    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    40884133    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
     4134    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
     4135    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
     4136    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
    40894137    x_v = 0;
    40904138    jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
     
    41354183    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    41364184    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
     4185    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
     4186    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
     4187    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
    41374188    x_v = 0;
    41384189    JMI_ARRAY_INIT_1(HEAP, jmi_real_t, jmi_array_t, temp_1_a, JMI_MAX_EQUATION(n_v, 0.0), 1, JMI_MAX_EQUATION(n_v, 0.0))
     
    41894240    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    41904241    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
     4242    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
     4243    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
     4244    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
    41914245    step_v = floor(x_v) + 1;
    41924246    y_v = 0;
     
    42454299    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    42464300    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
     4301    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
     4302    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
     4303    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
    42474304    temp_1_v = 0.0;
    42484305    jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
     
    43074364    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    43084365    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
     4366    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
     4367    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
     4368    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
    43094369    temp_1_v = 0.0;
    43104370    jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
     
    43694429    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    43704430    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
     4431    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
     4432    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
     4433    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
    43714434    temp_1_v = 0.0;
    43724435    jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
     
    44514514    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    44524515    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
     4516    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
     4517    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
     4518    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
    44534519    out_v = 1.0;
    44544520    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, temp_1_a, 3, 1, 3)
     
    44774543    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    44784544    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
     4545    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
     4546    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
     4547    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
    44794548    temp_1_v = 0.0;
    44804549    jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
     
    45404609    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    45414610    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
     4611    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
     4612    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
     4613    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
    45424614    out_v = 1.0;
    45434615    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, temp_1_a, 3, 1, 3)
     
    45684640    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    45694641    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
     4642    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
     4643    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
     4644    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
    45704645    temp_1_v = 0.0;
    45714646    jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
     
    46454720    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    46464721    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
     4722    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
     4723    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
     4724    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
    46474725    out_v = 1.0;
    46484726    if (COND_EXP_EQ(JMI_MAX_EQUATION(floor(2.0 - (i_v + 1.0)) + 1.0, 0.0), 2.0, JMI_TRUE, JMI_FALSE) == JMI_FALSE) {
     
    46964774    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    46974775    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
     4776    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
     4777    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
     4778    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
    46984779    temp_1_v = 0.0;
    46994780    jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
     
    47594840    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    47604841    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
     4842    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
     4843    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
     4844    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
    47614845    out_v = 1.0;
    47624846    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, temp_1_a, 3, 1, 3)
     
    47994883    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    48004884    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
     4885    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
     4886    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
     4887    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
    48014888    temp_1_v = 0.0;
    48024889    jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
     
    48644951    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1)
    48654952    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1)
     4953    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 2, 1, 2)
     4954    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1, 2)
     4955    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1, 2)
    48664956    out_v = 1.0;
    48674957    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, temp_1_a, 2, 1, 2)
     
    49084998    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    49094999    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
     5000    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
     5001    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
     5002    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
    49105003    temp_1_v = 0.0;
    49115004    jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
     
    49615054    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    49625055    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
     5056    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
     5057    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
     5058    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
    49635059    if (o_a == NULL) {
    49645060        JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, o_an, 2, 1, 2)
     
    50205116    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    50215117    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
     5118    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
     5119    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
     5120    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
    50225121    if (o_a == NULL) {
    50235122        JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, o_an, 2, 1, 2)
     
    50915190    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    50925191    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
     5192    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
     5193    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
     5194    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
    50935195    o_v = 0;
    50945196    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, temp_3_a, 2, 1, 2)
     
    51235225    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    51245226    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
     5227    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
     5228    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
     5229    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
    51255230    if (o_a == NULL) {
    51265231        JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, o_an, 2, 1, 2)
     
    52075312    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    52085313    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
     5314    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
     5315    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
     5316    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
    52095317    if (o1_a == NULL) {
    52105318        JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, o1_an, 2, 1, 2)
     
    52945402    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    52955403    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
     5404    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
     5405    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
     5406    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
    52965407    if (o1_a == NULL) {
    52975408        JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, o1_an, 2, 1, 2)
     
    53645475    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    53655476    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
     5477    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
     5478    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
     5479    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
    53665480    if (o_a == NULL) {
    53675481        JMI_ARRAY_INIT_1(HEAP, jmi_real_t, jmi_array_t, o_an, jmi_array_size(a_a, 0), 1, jmi_array_size(a_a, 0))
     
    54105524    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 3, 1)
    54115525    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 3, 1)
     5526    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 3, 1, 3)
     5527    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 3, 1, 3)
     5528    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 3, 1, 3)
    54125529    if (y_a == NULL) {
    54135530        JMI_ARRAY_INIT_2(HEAP, jmi_real_t, jmi_array_t, y_an, jmi_array_size(x_a, 0) * 2, 2, jmi_array_size(x_a, 0), 2)
     
    55225639    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    55235640    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
     5641    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
     5642    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
     5643    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
    55245644    temp_1_v = 0.0;
    55255645    jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
     
    55465666    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    55475667    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
     5668    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
     5669    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
     5670    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
    55485671    if (y2_a == NULL) {
    55495672        JMI_ARRAY_INIT_1(HEAP, jmi_real_t, jmi_array_t, y2_an, jmi_array_size(x2_a, 0), 1, jmi_array_size(x2_a, 0))
     
    56035726    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    56045727    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
     5728    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
     5729    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
     5730    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
    56055731    if (o_a == NULL) {
    56065732        JMI_ARRAY_INIT_1(HEAP, jmi_real_t, jmi_array_t, o_an, jmi_array_size(i_a, 0), 1, jmi_array_size(i_a, 0))
     
    56465772    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    56475773    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
     5774    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
     5775    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
     5776    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
    56485777    if (o_a == NULL) {
    56495778        JMI_ARRAY_INIT_1(HEAP, jmi_real_t, jmi_array_t, o_an, jmi_array_size(i_a, 0), 1, jmi_array_size(i_a, 0))
     
    56925821    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1)
    56935822    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1)
     5823    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 2, 1, 2)
     5824    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1, 2)
     5825    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1, 2)
    56945826    if (y_a == NULL) {
    56955827        JMI_ARRAY_INIT_2(HEAP, jmi_real_t, jmi_array_t, y_an, jmi_array_size(i1_a, 0) * jmi_array_size(i1_a, 0), 2, jmi_array_size(i1_a, 0), jmi_array_size(i1_a, 0))
     
    57605892    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1)
    57615893    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1)
     5894    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 2, 1, 2)
     5895    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1, 2)
     5896    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1, 2)
    57625897    if (y_a == NULL) {
    57635898        JMI_ARRAY_INIT_2(HEAP, jmi_real_t, jmi_array_t, y_an, (jmi_array_size(i1_a, 0) * 2 - 2) * jmi_array_size(i1_a, 0), 2, jmi_array_size(i1_a, 0) * 2 - 2, jmi_array_size(i1_a, 0))
     
    58395974    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 4, 1)
    58405975    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 4, 1)
     5976    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 4, 1, 4)
     5977    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 4, 1, 4)
     5978    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 4, 1, 4)
    58415979    if (o_a == NULL) {
    58425980        JMI_ARRAY_INIT_2(HEAP, R1_1_r, R1_1_ra, o_an, m_v * m_v, 2, m_v, m_v)
     
    59306068    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    59316069    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
     6070    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
     6071    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
     6072    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
    59326073    if (u_a == NULL) {
    59336074        JMI_ARRAY_INIT_1(HEAP, jmi_real_t, jmi_array_t, u_an, jmi_array_size(a_a, 0), 1, jmi_array_size(a_a, 0))
     
    59566097    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    59576098    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
     6099    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
     6100    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
     6101    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
    59586102    temp_1_v = 0.0;
    59596103    jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
     
    60016145    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    60026146    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
     6147    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
     6148    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
     6149    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
    60036150    if (ba_a == NULL) {
    60046151        JMI_ARRAY_INIT_1(HEAP, jmi_real_t, jmi_array_t, ba_an, n_v, 1, n_v)
     
    60976244    JMI_ARR(STACK, jmi_real_t, jmi_array_t, tmp_1, 2, 1)
    60986245    JMI_DEF(REA, x_v)
    6099     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, tmp_1, 2, 1, 2)
    6100     r_v->x = tmp_1;
    61016246    JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1)
    61026247    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    61036248    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
     6249    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
     6250    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
     6251    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
     6252    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, tmp_1, 2, 1, 2)
     6253    r_v->x = tmp_1;
    61046254    jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    61056255    jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((2) - (1));
     
    61506300    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1)
    61516301    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1)
     6302    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 2, 1, 2)
     6303    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1, 2)
     6304    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1, 2)
    61526305    if (y_a == NULL) {
    61536306        JMI_ARRAY_INIT_1(HEAP, jmi_real_t, jmi_array_t, y_an, jmi_array_size(x_a, 0) * 2, 1, jmi_array_size(x_a, 0) * 2)
     
    64936646    JMI_ARR(STACK, jmi_real_t, jmi_array_t, tmp_1, 2, 1)
    64946647    JMI_ARR(STACK, jmi_real_t, jmi_array_t, temp_1_a, 2, 1)
    6495     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, tmp_1, 2, 1, 2)
    6496     x_v->a = tmp_1;
    64976648    JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1)
    64986649    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    64996650    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
     6651    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
     6652    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
     6653    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
     6654    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, tmp_1, 2, 1, 2)
     6655    x_v->a = tmp_1;
    65006656    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, temp_1_a, 2, 1, 2)
    65016657    jmi_array_ref_1(temp_1_a, 1) = 1;
     
    65656721    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1)
    65666722    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1)
     6723    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 2, 1, 2)
     6724    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1, 2)
     6725    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1, 2)
    65676726    JMI_ARRAY_INIT_1(STACK, A_1_r, A_1_ra, x_a, 3, 1, 3)
    65686727    JMI_ARRAY_INIT_1(STACK, B_0_r, B_0_ra, tmp_1, 2, 1, 2)
     
    67556914    JMI_ARR(STACK, jmi_real_t, jmi_array_t, tmp_1, 2, 1)
    67566915    JMI_ARR(STACK, jmi_real_t, jmi_array_t, temp_1_a, 2, 1)
     6916    JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1)
     6917    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
     6918    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
     6919    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
     6920    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
     6921    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
    67576922    if (x_v == NULL) {
    67586923        JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, tmp_1, 2, 1, 2)
     
    67606925        x_v = x_vn;
    67616926    }
    6762     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1)
    6763     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    6764     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
    67656927    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, temp_1_a, 2, 1, 2)
    67666928    jmi_array_ref_1(temp_1_a, 1) = 1;
     
    68336995    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1)
    68346996    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1)
     6997    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 2, 1, 2)
     6998    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1, 2)
     6999    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1, 2)
    68357000    if (x_a == NULL) {
    68367001        JMI_ARRAY_INIT_1(STACK, A_1_r, A_1_ra, x_an, 3, 1, 3)
     
    71177282    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    71187283    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
     7284    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
     7285    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
     7286    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
    71197287    jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    71207288    jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((3) - (1));
     
    1376113929    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1)
    1376213930    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1)
     13931    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 2, 1, 2)
     13932    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1, 2)
     13933    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1, 2)
    1376313934    if (x_a == NULL) {
    1376413935        JMI_ARRAY_INIT_1(HEAP, jmi_real_t, jmi_array_t, x_an, jmi_array_size(A_a, 0), 1, jmi_array_size(A_a, 0))
     
    1385714028    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1)
    1385814029    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1)
     14030    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 2, 1, 2)
     14031    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1, 2)
     14032    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1, 2)
    1385914033    if (X_a == NULL) {
    1386014034        JMI_ARRAY_INIT_2(HEAP, jmi_real_t, jmi_array_t, X_an, jmi_array_size(A_a, 0) * jmi_array_size(B_a, 1), 2, jmi_array_size(A_a, 0), jmi_array_size(B_a, 1))
     
    1618716361    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    1618816362    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
     16363    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
     16364    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
     16365    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
    1618916366    JMI_ARRAY_INIT_1(STACK, jmi_string_t, jmi_string_array_t, s_a, 2, 1, 2)
    1619016367    y_v = x_v;
     
    1621616393    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    1621716394    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
     16395    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
     16396    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
     16397    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
    1621816398    JMI_ARRAY_INIT_1(HEAP, jmi_string_t, jmi_string_array_t, o_a, jmi_array_size(s_a, 0), 1, jmi_array_size(s_a, 0))
    1621916399    jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
     
    1626816448    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    1626916449    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
     16450    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
     16451    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
     16452    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
    1627016453    JMI_ARRAY_INIT_1(HEAP, jmi_string_t, jmi_string_array_t, s_a, n_v, 1, n_v)
    1627116454    y_v = x_v;
     
    1630016483    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    1630116484    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
     16485    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
     16486    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
     16487    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
    1630216488    JMI_ARRAY_INIT_1(HEAP, jmi_string_t, jmi_string_array_t, o_a, jmi_array_size(s_a, 0), 1, jmi_array_size(s_a, 0))
    1630316489    jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
     
    1807518261    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    1807618262    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
     18263    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
     18264    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
     18265    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
    1807718266    JMI_ARRAY_INIT_1(HEAP, jmi_real_t, jmi_array_t, temp_2_a, jmi_array_size(x_a, 0), 1, jmi_array_size(x_a, 0))
    1807818267    jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
     
    1811918308    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    1812018309    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
     18310    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
     18311    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
     18312    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
    1812118313    if (y_a == NULL) {
    1812218314        JMI_ARRAY_INIT_1(HEAP, jmi_real_t, jmi_array_t, y_an, func_CCodeGenTests_FuncInitOrder_g_exp2(x_a), 1, func_CCodeGenTests_FuncInitOrder_g_exp2(x_a))
     
    1814218334    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    1814318335    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
     18336    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
     18337    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
     18338    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
    1814418339    temp_1_v = 0.0;
    1814518340    jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
  • branches/dev-cw-2719/Compiler/ModelicaMiddleEnd/test/modelica/Differentiation.mo

    r14199 r14203  
    31143114    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    31153115    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
     3116    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
     3117    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
     3118    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
    31163119    if (y_a == NULL) {
    31173120        JMI_ARRAY_INIT_1(STACK, R_0_r, R_0_ra, y_an, 1, 1, 1)
     
    31343137    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    31353138    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
     3139    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
     3140    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
     3141    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
    31363142    JMI_ARRAY_INIT_1(STACK, R_0_r, R_0_ra, y_a, 1, 1, 1)
    31373143    if (_der_y_a == NULL) {
     
    31943200    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1)
    31953201    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1)
     3202    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 2, 1, 2)
     3203    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1, 2)
     3204    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1, 2)
    31963205    JMI_ARRAY_INIT_1(STACK, R_0_r, R_0_ra, rt_a, 1, 1, 1)
    31973206    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, tmp_1, 1, 1, 1)
     
    32343243    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1)
    32353244    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1)
     3245    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 2, 1, 2)
     3246    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1, 2)
     3247    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1, 2)
    32363248    if (y_a == NULL) {
    32373249        JMI_ARRAY_INIT_1(STACK, R_0_r, R_0_ra, y_an, 1, 1, 1)
     
    32733285    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1)
    32743286    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1)
     3287    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 2, 1, 2)
     3288    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1, 2)
     3289    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1, 2)
    32753290    JMI_ARRAY_INIT_1(STACK, R_0_r, R_0_ra, rt_a, 1, 1, 1)
    32763291    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, tmp_1, 1, 1, 1)
     
    33223337    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1)
    33233338    JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1)
     3339    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 2, 1, 2)
     3340    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1, 2)
     3341    JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1, 2)
    33243342    JMI_ARRAY_INIT_1(STACK, R_0_r, R_0_ra, y_a, 1, 1, 1)
    33253343    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, tmp_2, 1, 1, 1)
Note: See TracChangeset for help on using the changeset viewer.