Scicos tests: remove not needed dia.ref 50/20250/4
Clément DAVID [Wed, 11 Jul 2018 16:12:40 +0000 (18:12 +0200)]
Numeric tests are already performed to track solver results.

Change-Id: I10ad31a0ec7403dce6de2c2d68b7879a626b228d

60 files changed:
scilab/modules/scicos/tests/unit_tests/Solvers/DAE/DDaskrK_Bouncing.tst
scilab/modules/scicos/tests/unit_tests/Solvers/DAE/DDaskrK_Bouncing.unix.dia.ref [deleted file]
scilab/modules/scicos/tests/unit_tests/Solvers/DAE/DDaskrK_Bouncing.win.dia.ref [deleted file]
scilab/modules/scicos/tests/unit_tests/Solvers/DAE/DDaskrK_Hydraulics.tst
scilab/modules/scicos/tests/unit_tests/Solvers/DAE/DDaskrK_Hydraulics.unix.dia.ref [deleted file]
scilab/modules/scicos/tests/unit_tests/Solvers/DAE/DDaskrK_Hydraulics.win.dia.ref [deleted file]
scilab/modules/scicos/tests/unit_tests/Solvers/DAE/DDaskrK_Platform.tst
scilab/modules/scicos/tests/unit_tests/Solvers/DAE/DDaskrK_Platform.unix.dia.ref [deleted file]
scilab/modules/scicos/tests/unit_tests/Solvers/DAE/DDaskrK_Platform.win.dia.ref [deleted file]
scilab/modules/scicos/tests/unit_tests/Solvers/DAE/DDaskrK_RLC.tst
scilab/modules/scicos/tests/unit_tests/Solvers/DAE/DDaskrK_RLC.unix.dia.ref [deleted file]
scilab/modules/scicos/tests/unit_tests/Solvers/DAE/DDaskrK_RLC.win.dia.ref [deleted file]
scilab/modules/scicos/tests/unit_tests/Solvers/DAE/DDaskrN_Bouncing.tst
scilab/modules/scicos/tests/unit_tests/Solvers/DAE/DDaskrN_Bouncing.unix.dia.ref [deleted file]
scilab/modules/scicos/tests/unit_tests/Solvers/DAE/DDaskrN_Bouncing.win.dia.ref [deleted file]
scilab/modules/scicos/tests/unit_tests/Solvers/DAE/DDaskrN_Hydraulics.tst
scilab/modules/scicos/tests/unit_tests/Solvers/DAE/DDaskrN_Hydraulics.unix.dia.ref [deleted file]
scilab/modules/scicos/tests/unit_tests/Solvers/DAE/DDaskrN_Hydraulics.win.dia.ref [deleted file]
scilab/modules/scicos/tests/unit_tests/Solvers/DAE/DDaskrN_Platform.tst
scilab/modules/scicos/tests/unit_tests/Solvers/DAE/DDaskrN_Platform.unix.dia.ref [deleted file]
scilab/modules/scicos/tests/unit_tests/Solvers/DAE/DDaskrN_Platform.win.dia.ref [deleted file]
scilab/modules/scicos/tests/unit_tests/Solvers/DAE/DDaskrN_RLC.tst
scilab/modules/scicos/tests/unit_tests/Solvers/DAE/DDaskrN_RLC.unix.dia.ref [deleted file]
scilab/modules/scicos/tests/unit_tests/Solvers/DAE/DDaskrN_RLC.win.dia.ref [deleted file]
scilab/modules/scicos/tests/unit_tests/Solvers/DAE/IDA_Bouncing.tst
scilab/modules/scicos/tests/unit_tests/Solvers/DAE/IDA_Bouncing.unix.dia.ref [deleted file]
scilab/modules/scicos/tests/unit_tests/Solvers/DAE/IDA_Bouncing.win.dia.ref [deleted file]
scilab/modules/scicos/tests/unit_tests/Solvers/DAE/IDA_Hydraulics.tst
scilab/modules/scicos/tests/unit_tests/Solvers/DAE/IDA_Hydraulics.unix.dia.ref [deleted file]
scilab/modules/scicos/tests/unit_tests/Solvers/DAE/IDA_Hydraulics.win.dia.ref [deleted file]
scilab/modules/scicos/tests/unit_tests/Solvers/DAE/IDA_Platform.tst
scilab/modules/scicos/tests/unit_tests/Solvers/DAE/IDA_Platform.unix.dia.ref [deleted file]
scilab/modules/scicos/tests/unit_tests/Solvers/DAE/IDA_Platform.win.dia.ref [deleted file]
scilab/modules/scicos/tests/unit_tests/Solvers/DAE/IDA_RLC.tst
scilab/modules/scicos/tests/unit_tests/Solvers/DAE/IDA_RLC.unix.dia.ref [deleted file]
scilab/modules/scicos/tests/unit_tests/Solvers/DAE/IDA_RLC.win.dia.ref [deleted file]
scilab/modules/scicos/tests/unit_tests/Solvers/ODE/CRANI.dia.ref [deleted file]
scilab/modules/scicos/tests/unit_tests/Solvers/ODE/CRANI.tst
scilab/modules/scicos/tests/unit_tests/Solvers/ODE/CVode_Cont-Disc.dia.ref [deleted file]
scilab/modules/scicos/tests/unit_tests/Solvers/ODE/CVode_Cont-Disc.tst
scilab/modules/scicos/tests/unit_tests/Solvers/ODE/CVode_Controller.dia.ref [deleted file]
scilab/modules/scicos/tests/unit_tests/Solvers/ODE/CVode_Controller.tst
scilab/modules/scicos/tests/unit_tests/Solvers/ODE/CVode_IPendulum.dia.ref [deleted file]
scilab/modules/scicos/tests/unit_tests/Solvers/ODE/CVode_IPendulum.tst
scilab/modules/scicos/tests/unit_tests/Solvers/ODE/CVode_Kalman.dia.ref [deleted file]
scilab/modules/scicos/tests/unit_tests/Solvers/ODE/CVode_Kalman.tst
scilab/modules/scicos/tests/unit_tests/Solvers/ODE/CVode_Temperature_Controller.dia.ref [deleted file]
scilab/modules/scicos/tests/unit_tests/Solvers/ODE/CVode_Temperature_Controller.tst
scilab/modules/scicos/tests/unit_tests/Solvers/ODE/CVode_Watertank.dia.ref [deleted file]
scilab/modules/scicos/tests/unit_tests/Solvers/ODE/CVode_Watertank.tst
scilab/modules/scicos/tests/unit_tests/Solvers/ODE/DAE_ODE.dia.ref [deleted file]
scilab/modules/scicos/tests/unit_tests/Solvers/ODE/DAE_ODE.tst
scilab/modules/scicos/tests/unit_tests/Solvers/ODE/DoPri.dia.ref [deleted file]
scilab/modules/scicos/tests/unit_tests/Solvers/ODE/DoPri.tst
scilab/modules/scicos/tests/unit_tests/Solvers/ODE/ExpRK.dia.ref [deleted file]
scilab/modules/scicos/tests/unit_tests/Solvers/ODE/ExpRK.tst
scilab/modules/scicos/tests/unit_tests/Solvers/ODE/ImpRK.dia.ref [deleted file]
scilab/modules/scicos/tests/unit_tests/Solvers/ODE/ImpRK.tst
scilab/modules/scicos/tests/unit_tests/Solvers/ODE/LSodar.dia.ref [deleted file]
scilab/modules/scicos/tests/unit_tests/Solvers/ODE/LSodar.tst

index 9c185dc..63fc2d6 100644 (file)
@@ -6,6 +6,7 @@
 // =============================================================================
 //
 // <-- ENGLISH IMPOSED -->
+// <-- NO CHECK REF -->
 //
 // <-- XCOS TEST -->
 //
diff --git a/scilab/modules/scicos/tests/unit_tests/Solvers/DAE/DDaskrK_Bouncing.unix.dia.ref b/scilab/modules/scicos/tests/unit_tests/Solvers/DAE/DDaskrK_Bouncing.unix.dia.ref
deleted file mode 100644 (file)
index b979ed0..0000000
+++ /dev/null
@@ -1,64 +0,0 @@
-// =============================================================================
-// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
-// Copyright (C) 2013 - Scilab Enterprises - Paul Bignier
-//
-//  This file is distributed under the same license as the Scilab package.
-// =============================================================================
-//
-// <-- ENGLISH IMPOSED -->
-//
-// <-- XCOS TEST -->
-//
-ilib_verbose(0); //to remove ilib_* traces
-// Import diagram
-assert_checktrue(importXcosDiagram("SCI/modules/xcos/tests/unit_tests/Solvers/DAE/Bouncing.zcos"));
-Info = scicos_simulate(scs_m, list());
---------------------------------------------\
- Main Modelica : TMPDIR/Bouncing_im.mo
- Flat Modelica : TMPDIR/Bouncing_imf.mo
- Simulation C code :TMPDIR/Bouncing_im.c
-!messagebox: Modelica blocks are reduced to a block with:             !
-!                                                                     !
-!messagebox: Number of differential states: 2                         !
-!                                                                     !
-!messagebox: Number of algebraic states: 0                            !
-!                                                                     !
-!messagebox: Number of discrete time states  : 0                      !
-!                                                                     !
-!messagebox: Number of zero-crossing surfaces: 1                      !
-!                                                                     !
-!messagebox: Number of modes  : 0                                     !
-!                                                                     !
-!messagebox: Number of inputs : 0                                     !
-!                                                                     !
-!messagebox: Number of outputs: 1                                     !
-!                                                                     !
-!messagebox: Input/output dependency:[T]                              !
-!                                                                     !
-!messagebox: Analytical Jacobian: enabled  (%Jacobian=%t)             !
-!                                                                     !
-!messagebox: Parameter embedding mode: enabled (%Modelica_ParEmb=%t)  !
-!                                                                     !
-!messagebox:                                                          !
-!                                                                     !
-!messagebox: Generated files path: TMPDIR/         !
-!                                                                     !
-!messagebox:                                                          !
-// Modify solver + run DDaskr + save results
-scs_m.props.tol(6) = 102;       // Solver
-scicos_simulate(scs_m, Info);   // DDaskr
-ddaskrval = res.values;         // Results
-// Modify solver + run IDA + save results
-scs_m.props.tol(6) = 100;      // Solver
-scicos_simulate(scs_m, Info);  // IDA
-idaval = res.values;           // Results
-// Compare results
-compa = abs(ddaskrval-idaval);
-// Extract mean, standard deviation, maximum
-mea = mean(compa);
-[maxi, indexMaxi] = max(compa);
-stdeviation = stdev(compa);
-// Verifying closeness of the results
-assert_checktrue(maxi <= 5d-5);
-assert_checktrue(mea <= 5d-5);
-assert_checktrue(stdeviation <= 5d-5);
diff --git a/scilab/modules/scicos/tests/unit_tests/Solvers/DAE/DDaskrK_Bouncing.win.dia.ref b/scilab/modules/scicos/tests/unit_tests/Solvers/DAE/DDaskrK_Bouncing.win.dia.ref
deleted file mode 100644 (file)
index 7b180ad..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-// =============================================================================
-// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
-// Copyright (C) 2013 - Scilab Enterprises - Paul Bignier
-//
-//  This file is distributed under the same license as the Scilab package.
-// =============================================================================
-//
-// <-- ENGLISH IMPOSED -->
-//
-// <-- XCOS TEST -->
-//
-ilib_verbose(0); //to remove ilib_* traces
-// Import diagram
-assert_checktrue(importXcosDiagram("SCI/modules/xcos/tests/unit_tests/Solvers/DAE/Bouncing.zcos"));
-Info = scicos_simulate(scs_m, list());
---------------------------------------------\
- Main Modelica : TMPDIR\Bouncing_im.mo
- Flat Modelica : TMPDIR\Bouncing_imf.mo
- Simulation C code :TMPDIR\Bouncing_im.c
-!messagebox: Modelica blocks are reduced to a block with:              !
-!                                                                      !
-!messagebox: Number of differential states: 2                          !
-!                                                                      !
-!messagebox: Number of algebraic states: 0                             !
-!                                                                      !
-!messagebox: Number of discrete time states  : 0                       !
-!                                                                      !
-!messagebox: Number of zero-crossing surfaces: 1                       !
-!                                                                      !
-!messagebox: Number of modes  : 0                                      !
-!                                                                      !
-!messagebox: Number of inputs : 0                                      !
-!                                                                      !
-!messagebox: Number of outputs: 1                                      !
-!                                                                      !
-!messagebox: Input/output dependency:[T]                               !
-!                                                                      !
-!messagebox: Analytical Jacobian: enabled  (%Jacobian=%t)              !
-!                                                                      !
-!messagebox: Parameter embedding mode: enabled (%Modelica_ParEmb=%t)   !
-!                                                                      !
-!messagebox:                                                           !
-!                                                                      !
-!messagebox: Generated files path: C:\Users\scilab\AppData\Local\Temp\S!
-!CI_TMP_3352_8655\                                                     !
-!                                                                      !
-!messagebox:                                                           !
-// Modify solver + run DDaskr + save results
-scs_m.props.tol(6) = 102;       // Solver
-scicos_simulate(scs_m, Info);   // DDaskr
-ddaskrval = res.values;         // Results
-// Modify solver + run IDA + save results
-scs_m.props.tol(6) = 100;      // Solver
-scicos_simulate(scs_m, Info);  // IDA
-idaval = res.values;           // Results
-// Compare results
-compa = abs(ddaskrval-idaval);
-// Extract mean, standard deviation, maximum
-mea = mean(compa);
-[maxi, indexMaxi] = max(compa);
-stdeviation = stdev(compa);
-// Verifying closeness of the results
-assert_checktrue(maxi <= 5d-5);
-assert_checktrue(mea <= 5d-5);
-assert_checktrue(stdeviation <= 5d-5);
index 196061b..fb54a8a 100644 (file)
@@ -6,6 +6,7 @@
 // =============================================================================
 //
 // <-- ENGLISH IMPOSED -->
+// <-- NO CHECK REF -->
 //
 // <-- XCOS TEST -->
 //
diff --git a/scilab/modules/scicos/tests/unit_tests/Solvers/DAE/DDaskrK_Hydraulics.unix.dia.ref b/scilab/modules/scicos/tests/unit_tests/Solvers/DAE/DDaskrK_Hydraulics.unix.dia.ref
deleted file mode 100644 (file)
index ddad834..0000000
+++ /dev/null
@@ -1,94 +0,0 @@
-// =============================================================================
-// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
-// Copyright (C) 2013 - Scilab Enterprises - Paul Bignier
-//
-//  This file is distributed under the same license as the Scilab package.
-// =============================================================================
-//
-// <-- ENGLISH IMPOSED -->
-//
-// <-- XCOS TEST -->
-//
-ilib_verbose(0); //to remove ilib_* traces
-// Import diagram
-assert_checktrue(importXcosDiagram("SCI/modules/xcos/tests/unit_tests/Solvers/DAE/Hydraulics.zcos"));
-// Modify solver + run DDaskr + save results
-scs_m.props.tol(6) = 102;       // Solver
-scicos_simulate(scs_m);   // DDaskr
---------------------------------------------\
- Main Modelica : TMPDIR/Hydraulics_im.mo
- Flat Modelica : TMPDIR/Hydraulics_imf.mo
- Simulation C code :TMPDIR/Hydraulics_im.c
-!messagebox: Modelica blocks are reduced to a block with:             !
-!                                                                     !
-!messagebox: Number of differential states: 2                         !
-!                                                                     !
-!messagebox: Number of algebraic states: 5                            !
-!                                                                     !
-!messagebox: Number of discrete time states  : 0                      !
-!                                                                     !
-!messagebox: Number of zero-crossing surfaces: 19                     !
-!                                                                     !
-!messagebox: Number of modes  : 19                                    !
-!                                                                     !
-!messagebox: Number of inputs : 1                                     !
-!                                                                     !
-!messagebox: Number of outputs: 1                                     !
-!                                                                     !
-!messagebox: Input/output dependency:[F]                              !
-!                                                                     !
-!messagebox: Analytical Jacobian: enabled  (%Jacobian=%t)             !
-!                                                                     !
-!messagebox: Parameter embedding mode: enabled (%Modelica_ParEmb=%t)  !
-!                                                                     !
-!messagebox:                                                          !
-!                                                                     !
-!messagebox: Generated files path: TMPDIR/         !
-!                                                                     !
-!messagebox:                                                          !
-ddaskrval = res.values;         // Results
-// Modify solver + run IDA + save results
-scs_m.props.tol(6) = 100;      // Solver
-scicos_simulate(scs_m);  // IDA
---------------------------------------------\
- Main Modelica : TMPDIR/Hydraulics_im.mo
- Flat Modelica : TMPDIR/Hydraulics_imf.mo
- Simulation C code :TMPDIR/Hydraulics_im.c
-!messagebox: Modelica blocks are reduced to a block with:             !
-!                                                                     !
-!messagebox: Number of differential states: 2                         !
-!                                                                     !
-!messagebox: Number of algebraic states: 5                            !
-!                                                                     !
-!messagebox: Number of discrete time states  : 0                      !
-!                                                                     !
-!messagebox: Number of zero-crossing surfaces: 19                     !
-!                                                                     !
-!messagebox: Number of modes  : 19                                    !
-!                                                                     !
-!messagebox: Number of inputs : 1                                     !
-!                                                                     !
-!messagebox: Number of outputs: 1                                     !
-!                                                                     !
-!messagebox: Input/output dependency:[F]                              !
-!                                                                     !
-!messagebox: Analytical Jacobian: enabled  (%Jacobian=%t)             !
-!                                                                     !
-!messagebox: Parameter embedding mode: enabled (%Modelica_ParEmb=%t)  !
-!                                                                     !
-!messagebox:                                                          !
-!                                                                     !
-!messagebox: Generated files path: TMPDIR/         !
-!                                                                     !
-!messagebox:                                                          !
-idaval = res.values;           // Results
-// Compare results
-compa = abs(ddaskrval-idaval);
-// Extract mean, standard deviation, maximum
-mea = mean(compa);
-[maxi, indexMaxi] = max(compa);
-stdeviation = stdev(compa);
-// Verifying closeness of the results
-assert_checktrue(maxi <= 2d-6);
-assert_checktrue(mea <= 2d-6);
-assert_checktrue(stdeviation <= 2d-6);
diff --git a/scilab/modules/scicos/tests/unit_tests/Solvers/DAE/DDaskrK_Hydraulics.win.dia.ref b/scilab/modules/scicos/tests/unit_tests/Solvers/DAE/DDaskrK_Hydraulics.win.dia.ref
deleted file mode 100644 (file)
index 4f0dd65..0000000
+++ /dev/null
@@ -1,96 +0,0 @@
-// =============================================================================
-// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
-// Copyright (C) 2013 - Scilab Enterprises - Paul Bignier
-//
-//  This file is distributed under the same license as the Scilab package.
-// =============================================================================
-//
-// <-- ENGLISH IMPOSED -->
-//
-// <-- XCOS TEST -->
-//
-ilib_verbose(0); //to remove ilib_* traces
-// Import diagram
-assert_checktrue(importXcosDiagram("SCI/modules/xcos/tests/unit_tests/Solvers/DAE/Hydraulics.zcos"));
-// Modify solver + run DDaskr + save results
-scs_m.props.tol(6) = 102;       // Solver
-scicos_simulate(scs_m);   // DDaskr
---------------------------------------------\
- Main Modelica : TMPDIR\Hydraulics_im.mo
- Flat Modelica : TMPDIR\Hydraulics_imf.mo
- Simulation C code :TMPDIR\Hydraulics_im.c
-!messagebox: Modelica blocks are reduced to a block with:              !
-!                                                                      !
-!messagebox: Number of differential states: 2                          !
-!                                                                      !
-!messagebox: Number of algebraic states: 5                             !
-!                                                                      !
-!messagebox: Number of discrete time states  : 0                       !
-!                                                                      !
-!messagebox: Number of zero-crossing surfaces: 19                      !
-!                                                                      !
-!messagebox: Number of modes  : 19                                     !
-!                                                                      !
-!messagebox: Number of inputs : 1                                      !
-!                                                                      !
-!messagebox: Number of outputs: 1                                      !
-!                                                                      !
-!messagebox: Input/output dependency:[F]                               !
-!                                                                      !
-!messagebox: Analytical Jacobian: enabled  (%Jacobian=%t)              !
-!                                                                      !
-!messagebox: Parameter embedding mode: enabled (%Modelica_ParEmb=%t)   !
-!                                                                      !
-!messagebox:                                                           !
-!                                                                      !
-!messagebox: Generated files path: C:\Users\scilab\AppData\Local\Temp\S!
-!CI_TMP_4172_8674\                                                     !
-!                                                                      !
-!messagebox:                                                           !
-ddaskrval = res.values;         // Results
-// Modify solver + run IDA + save results
-scs_m.props.tol(6) = 100;      // Solver
-scicos_simulate(scs_m);  // IDA
---------------------------------------------\
- Main Modelica : TMPDIR\Hydraulics_im.mo
- Flat Modelica : TMPDIR\Hydraulics_imf.mo
- Simulation C code :TMPDIR\Hydraulics_im.c
-!messagebox: Modelica blocks are reduced to a block with:              !
-!                                                                      !
-!messagebox: Number of differential states: 2                          !
-!                                                                      !
-!messagebox: Number of algebraic states: 5                             !
-!                                                                      !
-!messagebox: Number of discrete time states  : 0                       !
-!                                                                      !
-!messagebox: Number of zero-crossing surfaces: 19                      !
-!                                                                      !
-!messagebox: Number of modes  : 19                                     !
-!                                                                      !
-!messagebox: Number of inputs : 1                                      !
-!                                                                      !
-!messagebox: Number of outputs: 1                                      !
-!                                                                      !
-!messagebox: Input/output dependency:[F]                               !
-!                                                                      !
-!messagebox: Analytical Jacobian: enabled  (%Jacobian=%t)              !
-!                                                                      !
-!messagebox: Parameter embedding mode: enabled (%Modelica_ParEmb=%t)   !
-!                                                                      !
-!messagebox:                                                           !
-!                                                                      !
-!messagebox: Generated files path: C:\Users\scilab\AppData\Local\Temp\S!
-!CI_TMP_4172_8674\                                                     !
-!                                                                      !
-!messagebox:                                                           !
-idaval = res.values;           // Results
-// Compare results
-compa = abs(ddaskrval-idaval);
-// Extract mean, standard deviation, maximum
-mea = mean(compa);
-[maxi, indexMaxi] = max(compa);
-stdeviation = stdev(compa);
-// Verifying closeness of the results
-assert_checktrue(maxi <= 2d-6);
-assert_checktrue(mea <= 2d-6);
-assert_checktrue(stdeviation <= 2d-6);
index eb9fbb3..9688c6e 100644 (file)
@@ -6,6 +6,7 @@
 // =============================================================================
 //
 // <-- ENGLISH IMPOSED -->
+// <-- NO CHECK REF -->
 //
 // <-- XCOS TEST -->
 //
diff --git a/scilab/modules/scicos/tests/unit_tests/Solvers/DAE/DDaskrK_Platform.unix.dia.ref b/scilab/modules/scicos/tests/unit_tests/Solvers/DAE/DDaskrK_Platform.unix.dia.ref
deleted file mode 100644 (file)
index 0ada280..0000000
+++ /dev/null
@@ -1,160 +0,0 @@
-// =============================================================================
-// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
-// Copyright (C) 2013 - Scilab Enterprises - Paul Bignier
-//
-//  This file is distributed under the same license as the Scilab package.
-// =============================================================================
-//
-// <-- ENGLISH IMPOSED -->
-//
-// <-- XCOS TEST -->
-//
-ilib_verbose(0); //to remove ilib_* traces
-// Import diagram
-assert_checktrue(importXcosDiagram("SCI/modules/xcos/tests/unit_tests/Solvers/DAE/Platform.zcos"));
-for i=1:2  // 'max step size' = 10^-i, precision
-    // Start by updating the clock block period (sampling)
-    Context.per = 5*10^-i;
-    // Modify solver + run DDaskr + save results
-    scs_m.props.tol(6) = 102;     // Solver
-    scicos_simulate(scs_m, Context); // DDaskr
-    ddaskrval = res.values;       // Results
-    // Modify solver + run IDA + save results
-    scs_m.props.tol(6) = 100;     // Solver
-    scicos_simulate(scs_m, Context); // IDA
-    idaval = res.values;          // Results
-    // Compare results
-    compa = abs(ddaskrval-idaval);
-    // Extract mean, standard deviation, maximum
-    mea = mean(compa);
-    [maxi, indexMaxi] = max(compa);
-    stdeviation = stdev(compa);
-    // Verifying closeness of the results
-    assert_checktrue(maxi <= 5*10^-(i+2));
-    assert_checktrue(mea <= 5*10^-(i+2));
-    assert_checktrue(stdeviation <= 5*10^-(i+2));
-end
---------------------------------------------\
- Main Modelica : TMPDIR/Platform_im.mo
- Flat Modelica : TMPDIR/Platform_imf.mo
- Simulation C code :TMPDIR/Platform_im.c
-!messagebox: Modelica blocks are reduced to a block with:             !
-!                                                                     !
-!messagebox: Number of differential states: 4                         !
-!                                                                     !
-!messagebox: Number of algebraic states: 0                            !
-!                                                                     !
-!messagebox: Number of discrete time states  : 2                      !
-!                                                                     !
-!messagebox: Number of zero-crossing surfaces: 1                      !
-!                                                                     !
-!messagebox: Number of modes  : 0                                     !
-!                                                                     !
-!messagebox: Number of inputs : 0                                     !
-!                                                                     !
-!messagebox: Number of outputs: 1                                     !
-!                                                                     !
-!messagebox: Input/output dependency:[T]                              !
-!                                                                     !
-!messagebox: Analytical Jacobian: enabled  (%Jacobian=%t)             !
-!                                                                     !
-!messagebox: Parameter embedding mode: enabled (%Modelica_ParEmb=%t)  !
-!                                                                     !
-!messagebox:                                                          !
-!                                                                     !
-!messagebox: Generated files path: TMPDIR/         !
-!                                                                     !
-!messagebox:                                                          !
---------------------------------------------\
- Main Modelica : TMPDIR/Platform_im.mo
- Flat Modelica : TMPDIR/Platform_imf.mo
- Simulation C code :TMPDIR/Platform_im.c
-!messagebox: Modelica blocks are reduced to a block with:             !
-!                                                                     !
-!messagebox: Number of differential states: 4                         !
-!                                                                     !
-!messagebox: Number of algebraic states: 0                            !
-!                                                                     !
-!messagebox: Number of discrete time states  : 2                      !
-!                                                                     !
-!messagebox: Number of zero-crossing surfaces: 1                      !
-!                                                                     !
-!messagebox: Number of modes  : 0                                     !
-!                                                                     !
-!messagebox: Number of inputs : 0                                     !
-!                                                                     !
-!messagebox: Number of outputs: 1                                     !
-!                                                                     !
-!messagebox: Input/output dependency:[T]                              !
-!                                                                     !
-!messagebox: Analytical Jacobian: enabled  (%Jacobian=%t)             !
-!                                                                     !
-!messagebox: Parameter embedding mode: enabled (%Modelica_ParEmb=%t)  !
-!                                                                     !
-!messagebox:                                                          !
-!                                                                     !
-!messagebox: Generated files path: TMPDIR/         !
-!                                                                     !
-!messagebox:                                                          !
---------------------------------------------\
- Main Modelica : TMPDIR/Platform_im.mo
- Flat Modelica : TMPDIR/Platform_imf.mo
- Simulation C code :TMPDIR/Platform_im.c
-!messagebox: Modelica blocks are reduced to a block with:             !
-!                                                                     !
-!messagebox: Number of differential states: 4                         !
-!                                                                     !
-!messagebox: Number of algebraic states: 0                            !
-!                                                                     !
-!messagebox: Number of discrete time states  : 2                      !
-!                                                                     !
-!messagebox: Number of zero-crossing surfaces: 1                      !
-!                                                                     !
-!messagebox: Number of modes  : 0                                     !
-!                                                                     !
-!messagebox: Number of inputs : 0                                     !
-!                                                                     !
-!messagebox: Number of outputs: 1                                     !
-!                                                                     !
-!messagebox: Input/output dependency:[T]                              !
-!                                                                     !
-!messagebox: Analytical Jacobian: enabled  (%Jacobian=%t)             !
-!                                                                     !
-!messagebox: Parameter embedding mode: enabled (%Modelica_ParEmb=%t)  !
-!                                                                     !
-!messagebox:                                                          !
-!                                                                     !
-!messagebox: Generated files path: TMPDIR/         !
-!                                                                     !
-!messagebox:                                                          !
---------------------------------------------\
- Main Modelica : TMPDIR/Platform_im.mo
- Flat Modelica : TMPDIR/Platform_imf.mo
- Simulation C code :TMPDIR/Platform_im.c
-!messagebox: Modelica blocks are reduced to a block with:             !
-!                                                                     !
-!messagebox: Number of differential states: 4                         !
-!                                                                     !
-!messagebox: Number of algebraic states: 0                            !
-!                                                                     !
-!messagebox: Number of discrete time states  : 2                      !
-!                                                                     !
-!messagebox: Number of zero-crossing surfaces: 1                      !
-!                                                                     !
-!messagebox: Number of modes  : 0                                     !
-!                                                                     !
-!messagebox: Number of inputs : 0                                     !
-!                                                                     !
-!messagebox: Number of outputs: 1                                     !
-!                                                                     !
-!messagebox: Input/output dependency:[T]                              !
-!                                                                     !
-!messagebox: Analytical Jacobian: enabled  (%Jacobian=%t)             !
-!                                                                     !
-!messagebox: Parameter embedding mode: enabled (%Modelica_ParEmb=%t)  !
-!                                                                     !
-!messagebox:                                                          !
-!                                                                     !
-!messagebox: Generated files path: TMPDIR/         !
-!                                                                     !
-!messagebox:                                                          !
diff --git a/scilab/modules/scicos/tests/unit_tests/Solvers/DAE/DDaskrK_Platform.win.dia.ref b/scilab/modules/scicos/tests/unit_tests/Solvers/DAE/DDaskrK_Platform.win.dia.ref
deleted file mode 100644 (file)
index 950722f..0000000
+++ /dev/null
@@ -1,164 +0,0 @@
-// =============================================================================
-// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
-// Copyright (C) 2013 - Scilab Enterprises - Paul Bignier
-//
-//  This file is distributed under the same license as the Scilab package.
-// =============================================================================
-//
-// <-- ENGLISH IMPOSED -->
-//
-// <-- XCOS TEST -->
-//
-ilib_verbose(0); //to remove ilib_* traces
-// Import diagram
-assert_checktrue(importXcosDiagram("SCI/modules/xcos/tests/unit_tests/Solvers/DAE/Platform.zcos"));
-for i=1:2  // 'max step size' = 10^-i, precision
-    // Start by updating the clock block period (sampling)
-    Context.per = 5*10^-i;
-    // Modify solver + run DDaskr + save results
-    scs_m.props.tol(6) = 102;     // Solver
-    scicos_simulate(scs_m, Context); // DDaskr
-    ddaskrval = res.values;       // Results
-    // Modify solver + run IDA + save results
-    scs_m.props.tol(6) = 100;     // Solver
-    scicos_simulate(scs_m, Context); // IDA
-    idaval = res.values;          // Results
-    // Compare results
-    compa = abs(ddaskrval-idaval);
-    // Extract mean, standard deviation, maximum
-    mea = mean(compa);
-    [maxi, indexMaxi] = max(compa);
-    stdeviation = stdev(compa);
-    // Verifying closeness of the results
-    assert_checktrue(maxi <= 5*10^-(i+2));
-    assert_checktrue(mea <= 5*10^-(i+2));
-    assert_checktrue(stdeviation <= 5*10^-(i+2));
-end
---------------------------------------------\
- Main Modelica : TMPDIR\Platform_im.mo
- Flat Modelica : TMPDIR\Platform_imf.mo
- Simulation C code :TMPDIR\Platform_im.c
-!messagebox: Modelica blocks are reduced to a block with:              !
-!                                                                      !
-!messagebox: Number of differential states: 4                          !
-!                                                                      !
-!messagebox: Number of algebraic states: 0                             !
-!                                                                      !
-!messagebox: Number of discrete time states  : 2                       !
-!                                                                      !
-!messagebox: Number of zero-crossing surfaces: 1                       !
-!                                                                      !
-!messagebox: Number of modes  : 0                                      !
-!                                                                      !
-!messagebox: Number of inputs : 0                                      !
-!                                                                      !
-!messagebox: Number of outputs: 1                                      !
-!                                                                      !
-!messagebox: Input/output dependency:[T]                               !
-!                                                                      !
-!messagebox: Analytical Jacobian: enabled  (%Jacobian=%t)              !
-!                                                                      !
-!messagebox: Parameter embedding mode: enabled (%Modelica_ParEmb=%t)   !
-!                                                                      !
-!messagebox:                                                           !
-!                                                                      !
-!messagebox: Generated files path: C:\Users\scilab\AppData\Local\Temp\S!
-!CI_TMP_1428_8736\                                                     !
-!                                                                      !
-!messagebox:                                                           !
---------------------------------------------\
- Main Modelica : TMPDIR\Platform_im.mo
- Flat Modelica : TMPDIR\Platform_imf.mo
- Simulation C code :TMPDIR\Platform_im.c
-!messagebox: Modelica blocks are reduced to a block with:              !
-!                                                                      !
-!messagebox: Number of differential states: 4                          !
-!                                                                      !
-!messagebox: Number of algebraic states: 0                             !
-!                                                                      !
-!messagebox: Number of discrete time states  : 2                       !
-!                                                                      !
-!messagebox: Number of zero-crossing surfaces: 1                       !
-!                                                                      !
-!messagebox: Number of modes  : 0                                      !
-!                                                                      !
-!messagebox: Number of inputs : 0                                      !
-!                                                                      !
-!messagebox: Number of outputs: 1                                      !
-!                                                                      !
-!messagebox: Input/output dependency:[T]                               !
-!                                                                      !
-!messagebox: Analytical Jacobian: enabled  (%Jacobian=%t)              !
-!                                                                      !
-!messagebox: Parameter embedding mode: enabled (%Modelica_ParEmb=%t)   !
-!                                                                      !
-!messagebox:                                                           !
-!                                                                      !
-!messagebox: Generated files path: C:\Users\scilab\AppData\Local\Temp\S!
-!CI_TMP_1428_8736\                                                     !
-!                                                                      !
-!messagebox:                                                           !
---------------------------------------------\
- Main Modelica : TMPDIR\Platform_im.mo
- Flat Modelica : TMPDIR\Platform_imf.mo
- Simulation C code :TMPDIR\Platform_im.c
-!messagebox: Modelica blocks are reduced to a block with:              !
-!                                                                      !
-!messagebox: Number of differential states: 4                          !
-!                                                                      !
-!messagebox: Number of algebraic states: 0                             !
-!                                                                      !
-!messagebox: Number of discrete time states  : 2                       !
-!                                                                      !
-!messagebox: Number of zero-crossing surfaces: 1                       !
-!                                                                      !
-!messagebox: Number of modes  : 0                                      !
-!                                                                      !
-!messagebox: Number of inputs : 0                                      !
-!                                                                      !
-!messagebox: Number of outputs: 1                                      !
-!                                                                      !
-!messagebox: Input/output dependency:[T]                               !
-!                                                                      !
-!messagebox: Analytical Jacobian: enabled  (%Jacobian=%t)              !
-!                                                                      !
-!messagebox: Parameter embedding mode: enabled (%Modelica_ParEmb=%t)   !
-!                                                                      !
-!messagebox:                                                           !
-!                                                                      !
-!messagebox: Generated files path: C:\Users\scilab\AppData\Local\Temp\S!
-!CI_TMP_1428_8736\                                                     !
-!                                                                      !
-!messagebox:                                                           !
---------------------------------------------\
- Main Modelica : TMPDIR\Platform_im.mo
- Flat Modelica : TMPDIR\Platform_imf.mo
- Simulation C code :TMPDIR\Platform_im.c
-!messagebox: Modelica blocks are reduced to a block with:              !
-!                                                                      !
-!messagebox: Number of differential states: 4                          !
-!                                                                      !
-!messagebox: Number of algebraic states: 0                             !
-!                                                                      !
-!messagebox: Number of discrete time states  : 2                       !
-!                                                                      !
-!messagebox: Number of zero-crossing surfaces: 1                       !
-!                                                                      !
-!messagebox: Number of modes  : 0                                      !
-!                                                                      !
-!messagebox: Number of inputs : 0                                      !
-!                                                                      !
-!messagebox: Number of outputs: 1                                      !
-!                                                                      !
-!messagebox: Input/output dependency:[T]                               !
-!                                                                      !
-!messagebox: Analytical Jacobian: enabled  (%Jacobian=%t)              !
-!                                                                      !
-!messagebox: Parameter embedding mode: enabled (%Modelica_ParEmb=%t)   !
-!                                                                      !
-!messagebox:                                                           !
-!                                                                      !
-!messagebox: Generated files path: C:\Users\scilab\AppData\Local\Temp\S!
-!CI_TMP_1428_8736\                                                     !
-!                                                                      !
-!messagebox:                                                           !
index 1173205..cee1d6d 100644 (file)
@@ -6,6 +6,7 @@
 // =============================================================================
 //
 // <-- ENGLISH IMPOSED -->
+// <-- NO CHECK REF -->
 //
 // <-- XCOS TEST -->
 
diff --git a/scilab/modules/scicos/tests/unit_tests/Solvers/DAE/DDaskrK_RLC.unix.dia.ref b/scilab/modules/scicos/tests/unit_tests/Solvers/DAE/DDaskrK_RLC.unix.dia.ref
deleted file mode 100644 (file)
index afc7717..0000000
+++ /dev/null
@@ -1,159 +0,0 @@
-// =============================================================================
-// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
-// Copyright (C) 2013 - Scilab Enterprises - Paul Bignier
-//
-//  This file is distributed under the same license as the Scilab package.
-// =============================================================================
-//
-// <-- ENGLISH IMPOSED -->
-//
-// <-- XCOS TEST -->
-ilib_verbose(0); //to remove ilib_* traces
-// Import diagram
-assert_checktrue(importXcosDiagram("SCI/modules/xcos/tests/unit_tests/Solvers/DAE/RLC.zcos"));
-for i=2:3
-    // Start by updating the clock block period (sampling)
-    scs_m.props.context = "per = 5*10^-"+string(i);
-    // Modify solver + run DDaskr + save results
-    scs_m.props.tol(6) = 102;     // Solver
-    scicos_simulate(scs_m); // DDaskr
-    ddaskrval = res.values;       // Results
-    // Modify solver + run IDA + save results
-    scs_m.props.tol(6) = 100;     // Solver
-    scicos_simulate(scs_m); // IDA
-    idaval = res.values;          // Results
-    // Compare results
-    compa = abs(ddaskrval-idaval);
-    // Extract mean, standard deviation, maximum
-    mea = mean(compa);
-    [maxi, indexMaxi] = max(compa);
-    stdeviation = stdev(compa);
-    // Verifying closeness of the results
-    assert_checktrue(maxi <= 10^-(i+4));
-    assert_checktrue(mea <= 10^-(i+4));
-    assert_checktrue(stdeviation <= 10^-(i+4));
-end
---------------------------------------------\
- Main Modelica : TMPDIR/RLC_im.mo
- Flat Modelica : TMPDIR/RLC_imf.mo
- Simulation C code :TMPDIR/RLC_im.c
-!messagebox: Modelica blocks are reduced to a block with:             !
-!                                                                     !
-!messagebox: Number of differential states: 2                         !
-!                                                                     !
-!messagebox: Number of algebraic states: 1                            !
-!                                                                     !
-!messagebox: Number of discrete time states  : 0                      !
-!                                                                     !
-!messagebox: Number of zero-crossing surfaces: 0                      !
-!                                                                     !
-!messagebox: Number of modes  : 0                                     !
-!                                                                     !
-!messagebox: Number of inputs : 0                                     !
-!                                                                     !
-!messagebox: Number of outputs: 1                                     !
-!                                                                     !
-!messagebox: Input/output dependency:[T]                              !
-!                                                                     !
-!messagebox: Analytical Jacobian: enabled  (%Jacobian=%t)             !
-!                                                                     !
-!messagebox: Parameter embedding mode: enabled (%Modelica_ParEmb=%t)  !
-!                                                                     !
-!messagebox:                                                          !
-!                                                                     !
-!messagebox: Generated files path: TMPDIR/          !
-!                                                                     !
-!messagebox:                                                          !
---------------------------------------------\
- Main Modelica : TMPDIR/RLC_im.mo
- Flat Modelica : TMPDIR/RLC_imf.mo
- Simulation C code :TMPDIR/RLC_im.c
-!messagebox: Modelica blocks are reduced to a block with:             !
-!                                                                     !
-!messagebox: Number of differential states: 2                         !
-!                                                                     !
-!messagebox: Number of algebraic states: 1                            !
-!                                                                     !
-!messagebox: Number of discrete time states  : 0                      !
-!                                                                     !
-!messagebox: Number of zero-crossing surfaces: 0                      !
-!                                                                     !
-!messagebox: Number of modes  : 0                                     !
-!                                                                     !
-!messagebox: Number of inputs : 0                                     !
-!                                                                     !
-!messagebox: Number of outputs: 1                                     !
-!                                                                     !
-!messagebox: Input/output dependency:[T]                              !
-!                                                                     !
-!messagebox: Analytical Jacobian: enabled  (%Jacobian=%t)             !
-!                                                                     !
-!messagebox: Parameter embedding mode: enabled (%Modelica_ParEmb=%t)  !
-!                                                                     !
-!messagebox:                                                          !
-!                                                                     !
-!messagebox: Generated files path: TMPDIR/          !
-!                                                                     !
-!messagebox:                                                          !
---------------------------------------------\
- Main Modelica : TMPDIR/RLC_im.mo
- Flat Modelica : TMPDIR/RLC_imf.mo
- Simulation C code :TMPDIR/RLC_im.c
-!messagebox: Modelica blocks are reduced to a block with:             !
-!                                                                     !
-!messagebox: Number of differential states: 2                         !
-!                                                                     !
-!messagebox: Number of algebraic states: 1                            !
-!                                                                     !
-!messagebox: Number of discrete time states  : 0                      !
-!                                                                     !
-!messagebox: Number of zero-crossing surfaces: 0                      !
-!                                                                     !
-!messagebox: Number of modes  : 0                                     !
-!                                                                     !
-!messagebox: Number of inputs : 0                                     !
-!                                                                     !
-!messagebox: Number of outputs: 1                                     !
-!                                                                     !
-!messagebox: Input/output dependency:[T]                              !
-!                                                                     !
-!messagebox: Analytical Jacobian: enabled  (%Jacobian=%t)             !
-!                                                                     !
-!messagebox: Parameter embedding mode: enabled (%Modelica_ParEmb=%t)  !
-!                                                                     !
-!messagebox:                                                          !
-!                                                                     !
-!messagebox: Generated files path: TMPDIR/          !
-!                                                                     !
-!messagebox:                                                          !
---------------------------------------------\
- Main Modelica : TMPDIR/RLC_im.mo
- Flat Modelica : TMPDIR/RLC_imf.mo
- Simulation C code :TMPDIR/RLC_im.c
-!messagebox: Modelica blocks are reduced to a block with:             !
-!                                                                     !
-!messagebox: Number of differential states: 2                         !
-!                                                                     !
-!messagebox: Number of algebraic states: 1                            !
-!                                                                     !
-!messagebox: Number of discrete time states  : 0                      !
-!                                                                     !
-!messagebox: Number of zero-crossing surfaces: 0                      !
-!                                                                     !
-!messagebox: Number of modes  : 0                                     !
-!                                                                     !
-!messagebox: Number of inputs : 0                                     !
-!                                                                     !
-!messagebox: Number of outputs: 1                                     !
-!                                                                     !
-!messagebox: Input/output dependency:[T]                              !
-!                                                                     !
-!messagebox: Analytical Jacobian: enabled  (%Jacobian=%t)             !
-!                                                                     !
-!messagebox: Parameter embedding mode: enabled (%Modelica_ParEmb=%t)  !
-!                                                                     !
-!messagebox:                                                          !
-!                                                                     !
-!messagebox: Generated files path: TMPDIR/          !
-!                                                                     !
-!messagebox:                                                          !
diff --git a/scilab/modules/scicos/tests/unit_tests/Solvers/DAE/DDaskrK_RLC.win.dia.ref b/scilab/modules/scicos/tests/unit_tests/Solvers/DAE/DDaskrK_RLC.win.dia.ref
deleted file mode 100644 (file)
index c5510f0..0000000
+++ /dev/null
@@ -1,163 +0,0 @@
-// =============================================================================
-// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
-// Copyright (C) 2013 - Scilab Enterprises - Paul Bignier
-//
-//  This file is distributed under the same license as the Scilab package.
-// =============================================================================
-//
-// <-- ENGLISH IMPOSED -->
-//
-// <-- XCOS TEST -->
-ilib_verbose(0); //to remove ilib_* traces
-// Import diagram
-assert_checktrue(importXcosDiagram("SCI/modules/xcos/tests/unit_tests/Solvers/DAE/RLC.zcos"));
-for i=2:3
-    // Start by updating the clock block period (sampling)
-    scs_m.props.context = "per = 5*10^-"+string(i);
-    // Modify solver + run DDaskr + save results
-    scs_m.props.tol(6) = 102;     // Solver
-    scicos_simulate(scs_m); // DDaskr
-    ddaskrval = res.values;       // Results
-    // Modify solver + run IDA + save results
-    scs_m.props.tol(6) = 100;     // Solver
-    scicos_simulate(scs_m); // IDA
-    idaval = res.values;          // Results
-    // Compare results
-    compa = abs(ddaskrval-idaval);
-    // Extract mean, standard deviation, maximum
-    mea = mean(compa);
-    [maxi, indexMaxi] = max(compa);
-    stdeviation = stdev(compa);
-    // Verifying closeness of the results
-    assert_checktrue(maxi <= 10^-(i+4));
-    assert_checktrue(mea <= 10^-(i+4));
-    assert_checktrue(stdeviation <= 10^-(i+4));
-end
---------------------------------------------\
- Main Modelica : TMPDIR\RLC_im.mo
- Flat Modelica : TMPDIR\RLC_imf.mo
- Simulation C code :TMPDIR\RLC_im.c
-!messagebox: Modelica blocks are reduced to a block with:              !
-!                                                                      !
-!messagebox: Number of differential states: 2                          !
-!                                                                      !
-!messagebox: Number of algebraic states: 1                             !
-!                                                                      !
-!messagebox: Number of discrete time states  : 0                       !
-!                                                                      !
-!messagebox: Number of zero-crossing surfaces: 0                       !
-!                                                                      !
-!messagebox: Number of modes  : 0                                      !
-!                                                                      !
-!messagebox: Number of inputs : 0                                      !
-!                                                                      !
-!messagebox: Number of outputs: 1                                      !
-!                                                                      !
-!messagebox: Input/output dependency:[T]                               !
-!                                                                      !
-!messagebox: Analytical Jacobian: enabled  (%Jacobian=%t)              !
-!                                                                      !
-!messagebox: Parameter embedding mode: enabled (%Modelica_ParEmb=%t)   !
-!                                                                      !
-!messagebox:                                                           !
-!                                                                      !
-!messagebox: Generated files path: C:\Users\scilab\AppData\Local\Temp\S!
-!CI_TMP_4472_8772\                                                     !
-!                                                                      !
-!messagebox:                                                           !
---------------------------------------------\
- Main Modelica : TMPDIR\RLC_im.mo
- Flat Modelica : TMPDIR\RLC_imf.mo
- Simulation C code :TMPDIR\RLC_im.c
-!messagebox: Modelica blocks are reduced to a block with:              !
-!                                                                      !
-!messagebox: Number of differential states: 2                          !
-!                                                                      !
-!messagebox: Number of algebraic states: 1                             !
-!                                                                      !
-!messagebox: Number of discrete time states  : 0                       !
-!                                                                      !
-!messagebox: Number of zero-crossing surfaces: 0                       !
-!                                                                      !
-!messagebox: Number of modes  : 0                                      !
-!                                                                      !
-!messagebox: Number of inputs : 0                                      !
-!                                                                      !
-!messagebox: Number of outputs: 1                                      !
-!                                                                      !
-!messagebox: Input/output dependency:[T]                               !
-!                                                                      !
-!messagebox: Analytical Jacobian: enabled  (%Jacobian=%t)              !
-!                                                                      !
-!messagebox: Parameter embedding mode: enabled (%Modelica_ParEmb=%t)   !
-!                                                                      !
-!messagebox:                                                           !
-!                                                                      !
-!messagebox: Generated files path: C:\Users\scilab\AppData\Local\Temp\S!
-!CI_TMP_4472_8772\                                                     !
-!                                                                      !
-!messagebox:                                                           !
---------------------------------------------\
- Main Modelica : TMPDIR\RLC_im.mo
- Flat Modelica : TMPDIR\RLC_imf.mo
- Simulation C code :TMPDIR\RLC_im.c
-!messagebox: Modelica blocks are reduced to a block with:              !
-!                                                                      !
-!messagebox: Number of differential states: 2                          !
-!                                                                      !
-!messagebox: Number of algebraic states: 1                             !
-!                                                                      !
-!messagebox: Number of discrete time states  : 0                       !
-!                                                                      !
-!messagebox: Number of zero-crossing surfaces: 0                       !
-!                                                                      !
-!messagebox: Number of modes  : 0                                      !
-!                                                                      !
-!messagebox: Number of inputs : 0                                      !
-!                                                                      !
-!messagebox: Number of outputs: 1                                      !
-!                                                                      !
-!messagebox: Input/output dependency:[T]                               !
-!                                                                      !
-!messagebox: Analytical Jacobian: enabled  (%Jacobian=%t)              !
-!                                                                      !
-!messagebox: Parameter embedding mode: enabled (%Modelica_ParEmb=%t)   !
-!                                                                      !
-!messagebox:                                                           !
-!                                                                      !
-!messagebox: Generated files path: C:\Users\scilab\AppData\Local\Temp\S!
-!CI_TMP_4472_8772\                                                     !
-!                                                                      !
-!messagebox:                                                           !
---------------------------------------------\
- Main Modelica : TMPDIR\RLC_im.mo
- Flat Modelica : TMPDIR\RLC_imf.mo
- Simulation C code :TMPDIR\RLC_im.c
-!messagebox: Modelica blocks are reduced to a block with:              !
-!                                                                      !
-!messagebox: Number of differential states: 2                          !
-!                                                                      !
-!messagebox: Number of algebraic states: 1                             !
-!                                                                      !
-!messagebox: Number of discrete time states  : 0                       !
-!                                                                      !
-!messagebox: Number of zero-crossing surfaces: 0                       !
-!                                                                      !
-!messagebox: Number of modes  : 0                                      !
-!                                                                      !
-!messagebox: Number of inputs : 0                                      !
-!                                                                      !
-!messagebox: Number of outputs: 1                                      !
-!                                                                      !
-!messagebox: Input/output dependency:[T]                               !
-!                                                                      !
-!messagebox: Analytical Jacobian: enabled  (%Jacobian=%t)              !
-!                                                                      !
-!messagebox: Parameter embedding mode: enabled (%Modelica_ParEmb=%t)   !
-!                                                                      !
-!messagebox:                                                           !
-!                                                                      !
-!messagebox: Generated files path: C:\Users\scilab\AppData\Local\Temp\S!
-!CI_TMP_4472_8772\                                                     !
-!                                                                      !
-!messagebox:                                                           !
index 36dd859..d2c53b2 100644 (file)
@@ -6,6 +6,7 @@
 // =============================================================================
 //
 // <-- ENGLISH IMPOSED -->
+// <-- NO CHECK REF -->
 //
 // <-- XCOS TEST -->
 //
diff --git a/scilab/modules/scicos/tests/unit_tests/Solvers/DAE/DDaskrN_Bouncing.unix.dia.ref b/scilab/modules/scicos/tests/unit_tests/Solvers/DAE/DDaskrN_Bouncing.unix.dia.ref
deleted file mode 100644 (file)
index 35cf8c6..0000000
+++ /dev/null
@@ -1,64 +0,0 @@
-// =============================================================================
-// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
-// Copyright (C) 2013 - Scilab Enterprises - Paul Bignier
-//
-//  This file is distributed under the same license as the Scilab package.
-// =============================================================================
-//
-// <-- ENGLISH IMPOSED -->
-//
-// <-- XCOS TEST -->
-//
-ilib_verbose(0); //to remove ilib_* traces
-// Import diagram
-assert_checktrue(importXcosDiagram("SCI/modules/xcos/tests/unit_tests/Solvers/DAE/Bouncing.zcos"));
-Info = scicos_simulate(scs_m, list());
---------------------------------------------\
- Main Modelica : TMPDIR/Bouncing_im.mo
- Flat Modelica : TMPDIR/Bouncing_imf.mo
- Simulation C code :TMPDIR/Bouncing_im.c
-!messagebox: Modelica blocks are reduced to a block with:             !
-!                                                                     !
-!messagebox: Number of differential states: 2                         !
-!                                                                     !
-!messagebox: Number of algebraic states: 0                            !
-!                                                                     !
-!messagebox: Number of discrete time states  : 0                      !
-!                                                                     !
-!messagebox: Number of zero-crossing surfaces: 1                      !
-!                                                                     !
-!messagebox: Number of modes  : 0                                     !
-!                                                                     !
-!messagebox: Number of inputs : 0                                     !
-!                                                                     !
-!messagebox: Number of outputs: 1                                     !
-!                                                                     !
-!messagebox: Input/output dependency:[T]                              !
-!                                                                     !
-!messagebox: Analytical Jacobian: enabled  (%Jacobian=%t)             !
-!                                                                     !
-!messagebox: Parameter embedding mode: enabled (%Modelica_ParEmb=%t)  !
-!                                                                     !
-!messagebox:                                                          !
-!                                                                     !
-!messagebox: Generated files path: TMPDIR/         !
-!                                                                     !
-!messagebox:                                                          !
-// Modify solver + run DDaskr + save results
-scs_m.props.tol(6) = 101;      // Solver
-scicos_simulate(scs_m, Info);  // DDaskr
-ddaskrval = res.values;         // Results
-// Modify solver + run IDA + save results
-scs_m.props.tol(6) = 100;     // Solver
-scicos_simulate(scs_m, Info); // IDA
-idaval = res.values;          // Results
-// Compare results
-compa = abs(ddaskrval-idaval);
-// Extract mean, standard deviation, maximum
-mea = mean(compa);
-[maxi, indexMaxi] = max(compa);
-stdeviation = stdev(compa);
-// Verifying closeness of the results
-assert_checktrue(maxi <= 2d-12);
-assert_checktrue(mea <= 1d-12);
-assert_checktrue(stdeviation <= 1d-12);
diff --git a/scilab/modules/scicos/tests/unit_tests/Solvers/DAE/DDaskrN_Bouncing.win.dia.ref b/scilab/modules/scicos/tests/unit_tests/Solvers/DAE/DDaskrN_Bouncing.win.dia.ref
deleted file mode 100644 (file)
index 4fc9ea6..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-// =============================================================================
-// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
-// Copyright (C) 2013 - Scilab Enterprises - Paul Bignier
-//
-//  This file is distributed under the same license as the Scilab package.
-// =============================================================================
-//
-// <-- ENGLISH IMPOSED -->
-//
-// <-- XCOS TEST -->
-//
-ilib_verbose(0); //to remove ilib_* traces
-// Import diagram
-assert_checktrue(importXcosDiagram("SCI/modules/xcos/tests/unit_tests/Solvers/DAE/Bouncing.zcos"));
-Info = scicos_simulate(scs_m, list());
---------------------------------------------\
- Main Modelica : TMPDIR\Bouncing_im.mo
- Flat Modelica : TMPDIR\Bouncing_imf.mo
- Simulation C code :TMPDIR\Bouncing_im.c
-!messagebox: Modelica blocks are reduced to a block with:              !
-!                                                                      !
-!messagebox: Number of differential states: 2                          !
-!                                                                      !
-!messagebox: Number of algebraic states: 0                             !
-!                                                                      !
-!messagebox: Number of discrete time states  : 0                       !
-!                                                                      !
-!messagebox: Number of zero-crossing surfaces: 1                       !
-!                                                                      !
-!messagebox: Number of modes  : 0                                      !
-!                                                                      !
-!messagebox: Number of inputs : 0                                      !
-!                                                                      !
-!messagebox: Number of outputs: 1                                      !
-!                                                                      !
-!messagebox: Input/output dependency:[T]                               !
-!                                                                      !
-!messagebox: Analytical Jacobian: enabled  (%Jacobian=%t)              !
-!                                                                      !
-!messagebox: Parameter embedding mode: enabled (%Modelica_ParEmb=%t)   !
-!                                                                      !
-!messagebox:                                                           !
-!                                                                      !
-!messagebox: Generated files path: C:\Users\scilab\AppData\Local\Temp\S!
-!CI_TMP_320_8811\                                                      !
-!                                                                      !
-!messagebox:                                                           !
-// Modify solver + run DDaskr + save results
-scs_m.props.tol(6) = 101;      // Solver
-scicos_simulate(scs_m, Info);  // DDaskr
-ddaskrval = res.values;         // Results
-// Modify solver + run IDA + save results
-scs_m.props.tol(6) = 100;     // Solver
-scicos_simulate(scs_m, Info); // IDA
-idaval = res.values;          // Results
-// Compare results
-compa = abs(ddaskrval-idaval);
-// Extract mean, standard deviation, maximum
-mea = mean(compa);
-[maxi, indexMaxi] = max(compa);
-stdeviation = stdev(compa);
-// Verifying closeness of the results
-assert_checktrue(maxi <= 2d-12);
-assert_checktrue(mea <= 1d-12);
-assert_checktrue(stdeviation <= 1d-12);
index 281ff72..e4b096d 100644 (file)
@@ -6,6 +6,7 @@
 // =============================================================================
 //
 // <-- ENGLISH IMPOSED -->
+// <-- NO CHECK REF -->
 //
 // <-- XCOS TEST -->
 //
diff --git a/scilab/modules/scicos/tests/unit_tests/Solvers/DAE/DDaskrN_Hydraulics.unix.dia.ref b/scilab/modules/scicos/tests/unit_tests/Solvers/DAE/DDaskrN_Hydraulics.unix.dia.ref
deleted file mode 100644 (file)
index 9c5e0cb..0000000
+++ /dev/null
@@ -1,94 +0,0 @@
-// =============================================================================
-// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
-// Copyright (C) 2013 - Scilab Enterprises - Paul Bignier
-//
-//  This file is distributed under the same license as the Scilab package.
-// =============================================================================
-//
-// <-- ENGLISH IMPOSED -->
-//
-// <-- XCOS TEST -->
-//
-ilib_verbose(0); //to remove ilib_* traces
-// Import diagram
-assert_checktrue(importXcosDiagram("SCI/modules/xcos/tests/unit_tests/Solvers/DAE/Hydraulics.zcos"));
-// Modify solver + run DDaskr + save results
-scs_m.props.tol(6) = 101;       // Solver
-scicos_simulate(scs_m);   // DDaskr
---------------------------------------------\
- Main Modelica : TMPDIR/Hydraulics_im.mo
- Flat Modelica : TMPDIR/Hydraulics_imf.mo
- Simulation C code :TMPDIR/Hydraulics_im.c
-!messagebox: Modelica blocks are reduced to a block with:             !
-!                                                                     !
-!messagebox: Number of differential states: 2                         !
-!                                                                     !
-!messagebox: Number of algebraic states: 5                            !
-!                                                                     !
-!messagebox: Number of discrete time states  : 0                      !
-!                                                                     !
-!messagebox: Number of zero-crossing surfaces: 19                     !
-!                                                                     !
-!messagebox: Number of modes  : 19                                    !
-!                                                                     !
-!messagebox: Number of inputs : 1                                     !
-!                                                                     !
-!messagebox: Number of outputs: 1                                     !
-!                                                                     !
-!messagebox: Input/output dependency:[F]                              !
-!                                                                     !
-!messagebox: Analytical Jacobian: enabled  (%Jacobian=%t)             !
-!                                                                     !
-!messagebox: Parameter embedding mode: enabled (%Modelica_ParEmb=%t)  !
-!                                                                     !
-!messagebox:                                                          !
-!                                                                     !
-!messagebox: Generated files path: TMPDIR/         !
-!                                                                     !
-!messagebox:                                                          !
-ddaskrval = res.values;         // Results
-// Modify solver + run IDA + save results
-scs_m.props.tol(6) = 100;       // Solver
-scicos_simulate(scs_m);   // IDA
---------------------------------------------\
- Main Modelica : TMPDIR/Hydraulics_im.mo
- Flat Modelica : TMPDIR/Hydraulics_imf.mo
- Simulation C code :TMPDIR/Hydraulics_im.c
-!messagebox: Modelica blocks are reduced to a block with:             !
-!                                                                     !
-!messagebox: Number of differential states: 2                         !
-!                                                                     !
-!messagebox: Number of algebraic states: 5                            !
-!                                                                     !
-!messagebox: Number of discrete time states  : 0                      !
-!                                                                     !
-!messagebox: Number of zero-crossing surfaces: 19                     !
-!                                                                     !
-!messagebox: Number of modes  : 19                                    !
-!                                                                     !
-!messagebox: Number of inputs : 1                                     !
-!                                                                     !
-!messagebox: Number of outputs: 1                                     !
-!                                                                     !
-!messagebox: Input/output dependency:[F]                              !
-!                                                                     !
-!messagebox: Analytical Jacobian: enabled  (%Jacobian=%t)             !
-!                                                                     !
-!messagebox: Parameter embedding mode: enabled (%Modelica_ParEmb=%t)  !
-!                                                                     !
-!messagebox:                                                          !
-!                                                                     !
-!messagebox: Generated files path: TMPDIR/         !
-!                                                                     !
-!messagebox:                                                          !
-idaval = res.values;            // Results
-// Compare results
-compa = abs(ddaskrval-idaval);
-// Extract mean, standard deviation, maximum
-mea = mean(compa);
-[maxi, indexMaxi] = max(compa);
-stdeviation = stdev(compa);
-// Verifying closeness of the results
-assert_checktrue(maxi <= 2d-7);
-assert_checktrue(mea <= 2d-7);
-assert_checktrue(stdeviation <= 2d-7);
diff --git a/scilab/modules/scicos/tests/unit_tests/Solvers/DAE/DDaskrN_Hydraulics.win.dia.ref b/scilab/modules/scicos/tests/unit_tests/Solvers/DAE/DDaskrN_Hydraulics.win.dia.ref
deleted file mode 100644 (file)
index e6fffcf..0000000
+++ /dev/null
@@ -1,96 +0,0 @@
-// =============================================================================
-// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
-// Copyright (C) 2013 - Scilab Enterprises - Paul Bignier
-//
-//  This file is distributed under the same license as the Scilab package.
-// =============================================================================
-//
-// <-- ENGLISH IMPOSED -->
-//
-// <-- XCOS TEST -->
-//
-ilib_verbose(0); //to remove ilib_* traces
-// Import diagram
-assert_checktrue(importXcosDiagram("SCI/modules/xcos/tests/unit_tests/Solvers/DAE/Hydraulics.zcos"));
-// Modify solver + run DDaskr + save results
-scs_m.props.tol(6) = 101;       // Solver
-scicos_simulate(scs_m);   // DDaskr
---------------------------------------------\
- Main Modelica : TMPDIR\Hydraulics_im.mo
- Flat Modelica : TMPDIR\Hydraulics_imf.mo
- Simulation C code :TMPDIR\Hydraulics_im.c
-!messagebox: Modelica blocks are reduced to a block with:              !
-!                                                                      !
-!messagebox: Number of differential states: 2                          !
-!                                                                      !
-!messagebox: Number of algebraic states: 5                             !
-!                                                                      !
-!messagebox: Number of discrete time states  : 0                       !
-!                                                                      !
-!messagebox: Number of zero-crossing surfaces: 19                      !
-!                                                                      !
-!messagebox: Number of modes  : 19                                     !
-!                                                                      !
-!messagebox: Number of inputs : 1                                      !
-!                                                                      !
-!messagebox: Number of outputs: 1                                      !
-!                                                                      !
-!messagebox: Input/output dependency:[F]                               !
-!                                                                      !
-!messagebox: Analytical Jacobian: enabled  (%Jacobian=%t)              !
-!                                                                      !
-!messagebox: Parameter embedding mode: enabled (%Modelica_ParEmb=%t)   !
-!                                                                      !
-!messagebox:                                                           !
-!                                                                      !
-!messagebox: Generated files path: C:\Users\scilab\AppData\Local\Temp\S!
-!CI_TMP_308_8831\                                                      !
-!                                                                      !
-!messagebox:                                                           !
-ddaskrval = res.values;         // Results
-// Modify solver + run IDA + save results
-scs_m.props.tol(6) = 100;       // Solver
-scicos_simulate(scs_m);   // IDA
---------------------------------------------\
- Main Modelica : TMPDIR\Hydraulics_im.mo
- Flat Modelica : TMPDIR\Hydraulics_imf.mo
- Simulation C code :TMPDIR\Hydraulics_im.c
-!messagebox: Modelica blocks are reduced to a block with:              !
-!                                                                      !
-!messagebox: Number of differential states: 2                          !
-!                                                                      !
-!messagebox: Number of algebraic states: 5                             !
-!                                                                      !
-!messagebox: Number of discrete time states  : 0                       !
-!                                                                      !
-!messagebox: Number of zero-crossing surfaces: 19                      !
-!                                                                      !
-!messagebox: Number of modes  : 19                                     !
-!                                                                      !
-!messagebox: Number of inputs : 1                                      !
-!                                                                      !
-!messagebox: Number of outputs: 1                                      !
-!                                                                      !
-!messagebox: Input/output dependency:[F]                               !
-!                                                                      !
-!messagebox: Analytical Jacobian: enabled  (%Jacobian=%t)              !
-!                                                                      !
-!messagebox: Parameter embedding mode: enabled (%Modelica_ParEmb=%t)   !
-!                                                                      !
-!messagebox:                                                           !
-!                                                                      !
-!messagebox: Generated files path: C:\Users\scilab\AppData\Local\Temp\S!
-!CI_TMP_308_8831\                                                      !
-!                                                                      !
-!messagebox:                                                           !
-idaval = res.values;            // Results
-// Compare results
-compa = abs(ddaskrval-idaval);
-// Extract mean, standard deviation, maximum
-mea = mean(compa);
-[maxi, indexMaxi] = max(compa);
-stdeviation = stdev(compa);
-// Verifying closeness of the results
-assert_checktrue(maxi <= 2d-7);
-assert_checktrue(mea <= 2d-7);
-assert_checktrue(stdeviation <= 2d-7);
index 9c3172c..c56fa1c 100644 (file)
@@ -6,6 +6,7 @@
 // =============================================================================
 //
 // <-- ENGLISH IMPOSED -->
+// <-- NO CHECK REF -->
 //
 // <-- XCOS TEST -->
 //
diff --git a/scilab/modules/scicos/tests/unit_tests/Solvers/DAE/DDaskrN_Platform.unix.dia.ref b/scilab/modules/scicos/tests/unit_tests/Solvers/DAE/DDaskrN_Platform.unix.dia.ref
deleted file mode 100644 (file)
index cf3eaa8..0000000
+++ /dev/null
@@ -1,222 +0,0 @@
-// =============================================================================
-// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
-// Copyright (C) 2013 - Scilab Enterprises - Paul Bignier
-//
-//  This file is distributed under the same license as the Scilab package.
-// =============================================================================
-//
-// <-- ENGLISH IMPOSED -->
-//
-// <-- XCOS TEST -->
-//
-ilib_verbose(0); //to remove ilib_* traces
-// Import diagram
-assert_checktrue(importXcosDiagram("SCI/modules/xcos/tests/unit_tests/Solvers/DAE/Platform.zcos"));
-for i=1:3  // 'max step size' = 10^-i, precision
-    // Start by updating the clock block period (sampling)
-    Context.per = 5*10^-i;
-    // Modify solver + run DDaskr + save results
-    scs_m.props.tol(6) = 101;     // Solver
-    scicos_simulate(scs_m, Context); // DDaskr
-    ddaskrval = res.values;       // Results
-    // Modify solver + run IDA + save results
-    scs_m.props.tol(6) = 100;     // Solver
-    scicos_simulate(scs_m, Context); // IDA
-    idaval = res.values;          // Results
-    // Compare results
-    compa = abs(ddaskrval-idaval);
-    // Extract mean, standard deviation, maximum
-    mea = mean(compa);
-    [maxi, indexMaxi] = max(compa);
-    stdeviation = stdev(compa);
-    // Verifying closeness of the results
-    assert_checktrue(maxi <= 5*10^-(i+3));
-    assert_checktrue(mea <= 5*10^-(i+3));
-    assert_checktrue(stdeviation <= 5*10^-(i+3));
-end
---------------------------------------------\
- Main Modelica : TMPDIR/Platform_im.mo
- Flat Modelica : TMPDIR/Platform_imf.mo
- Simulation C code :TMPDIR/Platform_im.c
-!messagebox: Modelica blocks are reduced to a block with:             !
-!                                                                     !
-!messagebox: Number of differential states: 4                         !
-!                                                                     !
-!messagebox: Number of algebraic states: 0                            !
-!                                                                     !
-!messagebox: Number of discrete time states  : 2                      !
-!                                                                     !
-!messagebox: Number of zero-crossing surfaces: 1                      !
-!                                                                     !
-!messagebox: Number of modes  : 0                                     !
-!                                                                     !
-!messagebox: Number of inputs : 0                                     !
-!                                                                     !
-!messagebox: Number of outputs: 1                                     !
-!                                                                     !
-!messagebox: Input/output dependency:[T]                              !
-!                                                                     !
-!messagebox: Analytical Jacobian: enabled  (%Jacobian=%t)             !
-!                                                                     !
-!messagebox: Parameter embedding mode: enabled (%Modelica_ParEmb=%t)  !
-!                                                                     !
-!messagebox:                                                          !
-!                                                                     !
-!messagebox: Generated files path: TMPDIR/         !
-!                                                                     !
-!messagebox:                                                          !
---------------------------------------------\
- Main Modelica : TMPDIR/Platform_im.mo
- Flat Modelica : TMPDIR/Platform_imf.mo
- Simulation C code :TMPDIR/Platform_im.c
-!messagebox: Modelica blocks are reduced to a block with:             !
-!                                                                     !
-!messagebox: Number of differential states: 4                         !
-!                                                                     !
-!messagebox: Number of algebraic states: 0                            !
-!                                                                     !
-!messagebox: Number of discrete time states  : 2                      !
-!                                                                     !
-!messagebox: Number of zero-crossing surfaces: 1                      !
-!                                                                     !
-!messagebox: Number of modes  : 0                                     !
-!                                                                     !
-!messagebox: Number of inputs : 0                                     !
-!                                                                     !
-!messagebox: Number of outputs: 1                                     !
-!                                                                     !
-!messagebox: Input/output dependency:[T]                              !
-!                                                                     !
-!messagebox: Analytical Jacobian: enabled  (%Jacobian=%t)             !
-!                                                                     !
-!messagebox: Parameter embedding mode: enabled (%Modelica_ParEmb=%t)  !
-!                                                                     !
-!messagebox:                                                          !
-!                                                                     !
-!messagebox: Generated files path: TMPDIR/         !
-!                                                                     !
-!messagebox:                                                          !
---------------------------------------------\
- Main Modelica : TMPDIR/Platform_im.mo
- Flat Modelica : TMPDIR/Platform_imf.mo
- Simulation C code :TMPDIR/Platform_im.c
-!messagebox: Modelica blocks are reduced to a block with:             !
-!                                                                     !
-!messagebox: Number of differential states: 4                         !
-!                                                                     !
-!messagebox: Number of algebraic states: 0                            !
-!                                                                     !
-!messagebox: Number of discrete time states  : 2                      !
-!                                                                     !
-!messagebox: Number of zero-crossing surfaces: 1                      !
-!                                                                     !
-!messagebox: Number of modes  : 0                                     !
-!                                                                     !
-!messagebox: Number of inputs : 0                                     !
-!                                                                     !
-!messagebox: Number of outputs: 1                                     !
-!                                                                     !
-!messagebox: Input/output dependency:[T]                              !
-!                                                                     !
-!messagebox: Analytical Jacobian: enabled  (%Jacobian=%t)             !
-!                                                                     !
-!messagebox: Parameter embedding mode: enabled (%Modelica_ParEmb=%t)  !
-!                                                                     !
-!messagebox:                                                          !
-!                                                                     !
-!messagebox: Generated files path: TMPDIR/         !
-!                                                                     !
-!messagebox:                                                          !
---------------------------------------------\
- Main Modelica : TMPDIR/Platform_im.mo
- Flat Modelica : TMPDIR/Platform_imf.mo
- Simulation C code :TMPDIR/Platform_im.c
-!messagebox: Modelica blocks are reduced to a block with:             !
-!                                                                     !
-!messagebox: Number of differential states: 4                         !
-!                                                                     !
-!messagebox: Number of algebraic states: 0                            !
-!                                                                     !
-!messagebox: Number of discrete time states  : 2                      !
-!                                                                     !
-!messagebox: Number of zero-crossing surfaces: 1                      !
-!                                                                     !
-!messagebox: Number of modes  : 0                                     !
-!                                                                     !
-!messagebox: Number of inputs : 0                                     !
-!                                                                     !
-!messagebox: Number of outputs: 1                                     !
-!                                                                     !
-!messagebox: Input/output dependency:[T]                              !
-!                                                                     !
-!messagebox: Analytical Jacobian: enabled  (%Jacobian=%t)             !
-!                                                                     !
-!messagebox: Parameter embedding mode: enabled (%Modelica_ParEmb=%t)  !
-!                                                                     !
-!messagebox:                                                          !
-!                                                                     !
-!messagebox: Generated files path: TMPDIR/         !
-!                                                                     !
-!messagebox:                                                          !
---------------------------------------------\
- Main Modelica : TMPDIR/Platform_im.mo
- Flat Modelica : TMPDIR/Platform_imf.mo
- Simulation C code :TMPDIR/Platform_im.c
-!messagebox: Modelica blocks are reduced to a block with:             !
-!                                                                     !
-!messagebox: Number of differential states: 4                         !
-!                                                                     !
-!messagebox: Number of algebraic states: 0                            !
-!                                                                     !
-!messagebox: Number of discrete time states  : 2                      !
-!                                                                     !
-!messagebox: Number of zero-crossing surfaces: 1                      !
-!                                                                     !
-!messagebox: Number of modes  : 0                                     !
-!                                                                     !
-!messagebox: Number of inputs : 0                                     !
-!                                                                     !
-!messagebox: Number of outputs: 1                                     !
-!                                                                     !
-!messagebox: Input/output dependency:[T]                              !
-!                                                                     !
-!messagebox: Analytical Jacobian: enabled  (%Jacobian=%t)             !
-!                                                                     !
-!messagebox: Parameter embedding mode: enabled (%Modelica_ParEmb=%t)  !
-!                                                                     !
-!messagebox:                                                          !
-!                                                                     !
-!messagebox: Generated files path: TMPDIR/         !
-!                                                                     !
-!messagebox:                                                          !
---------------------------------------------\
- Main Modelica : TMPDIR/Platform_im.mo
- Flat Modelica : TMPDIR/Platform_imf.mo
- Simulation C code :TMPDIR/Platform_im.c
-!messagebox: Modelica blocks are reduced to a block with:             !
-!                                                                     !
-!messagebox: Number of differential states: 4                         !
-!                                                                     !
-!messagebox: Number of algebraic states: 0                            !
-!                                                                     !
-!messagebox: Number of discrete time states  : 2                      !
-!                                                                     !
-!messagebox: Number of zero-crossing surfaces: 1                      !
-!                                                                     !
-!messagebox: Number of modes  : 0                                     !
-!                                                                     !
-!messagebox: Number of inputs : 0                                     !
-!                                                                     !
-!messagebox: Number of outputs: 1                                     !
-!                                                                     !
-!messagebox: Input/output dependency:[T]                              !
-!                                                                     !
-!messagebox: Analytical Jacobian: enabled  (%Jacobian=%t)             !
-!                                                                     !
-!messagebox: Parameter embedding mode: enabled (%Modelica_ParEmb=%t)  !
-!                                                                     !
-!messagebox:                                                          !
-!                                                                     !
-!messagebox: Generated files path: TMPDIR/         !
-!                                                                     !
-!messagebox:                                                          !
diff --git a/scilab/modules/scicos/tests/unit_tests/Solvers/DAE/DDaskrN_Platform.win.dia.ref b/scilab/modules/scicos/tests/unit_tests/Solvers/DAE/DDaskrN_Platform.win.dia.ref
deleted file mode 100644 (file)
index fc22595..0000000
+++ /dev/null
@@ -1,228 +0,0 @@
-// =============================================================================
-// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
-// Copyright (C) 2013 - Scilab Enterprises - Paul Bignier
-//
-//  This file is distributed under the same license as the Scilab package.
-// =============================================================================
-//
-// <-- ENGLISH IMPOSED -->
-//
-// <-- XCOS TEST -->
-//
-ilib_verbose(0); //to remove ilib_* traces
-// Import diagram
-assert_checktrue(importXcosDiagram("SCI/modules/xcos/tests/unit_tests/Solvers/DAE/Platform.zcos"));
-for i=1:3  // 'max step size' = 10^-i, precision
-    // Start by updating the clock block period (sampling)
-    Context.per = 5*10^-i;
-    // Modify solver + run DDaskr + save results
-    scs_m.props.tol(6) = 101;     // Solver
-    scicos_simulate(scs_m, Context); // DDaskr
-    ddaskrval = res.values;       // Results
-    // Modify solver + run IDA + save results
-    scs_m.props.tol(6) = 100;     // Solver
-    scicos_simulate(scs_m, Context); // IDA
-    idaval = res.values;          // Results
-    // Compare results
-    compa = abs(ddaskrval-idaval);
-    // Extract mean, standard deviation, maximum
-    mea = mean(compa);
-    [maxi, indexMaxi] = max(compa);
-    stdeviation = stdev(compa);
-    // Verifying closeness of the results
-    assert_checktrue(maxi <= 5*10^-(i+3));
-    assert_checktrue(mea <= 5*10^-(i+3));
-    assert_checktrue(stdeviation <= 5*10^-(i+3));
-end
---------------------------------------------\
- Main Modelica : TMPDIR\Platform_im.mo
- Flat Modelica : TMPDIR\Platform_imf.mo
- Simulation C code :TMPDIR\Platform_im.c
-!messagebox: Modelica blocks are reduced to a block with:              !
-!                                                                      !
-!messagebox: Number of differential states: 4                          !
-!                                                                      !
-!messagebox: Number of algebraic states: 0                             !
-!                                                                      !
-!messagebox: Number of discrete time states  : 2                       !
-!                                                                      !
-!messagebox: Number of zero-crossing surfaces: 1                       !
-!                                                                      !
-!messagebox: Number of modes  : 0                                      !
-!                                                                      !
-!messagebox: Number of inputs : 0                                      !
-!                                                                      !
-!messagebox: Number of outputs: 1                                      !
-!                                                                      !
-!messagebox: Input/output dependency:[T]                               !
-!                                                                      !
-!messagebox: Analytical Jacobian: enabled  (%Jacobian=%t)              !
-!                                                                      !
-!messagebox: Parameter embedding mode: enabled (%Modelica_ParEmb=%t)   !
-!                                                                      !
-!messagebox:                                                           !
-!                                                                      !
-!messagebox: Generated files path: C:\Users\scilab\AppData\Local\Temp\S!
-!CI_TMP_3428_8929\                                                     !
-!                                                                      !
-!messagebox:                                                           !
---------------------------------------------\
- Main Modelica : TMPDIR\Platform_im.mo
- Flat Modelica : TMPDIR\Platform_imf.mo
- Simulation C code :TMPDIR\Platform_im.c
-!messagebox: Modelica blocks are reduced to a block with:              !
-!                                                                      !
-!messagebox: Number of differential states: 4                          !
-!                                                                      !
-!messagebox: Number of algebraic states: 0                             !
-!                                                                      !
-!messagebox: Number of discrete time states  : 2                       !
-!                                                                      !
-!messagebox: Number of zero-crossing surfaces: 1                       !
-!                                                                      !
-!messagebox: Number of modes  : 0                                      !
-!                                                                      !
-!messagebox: Number of inputs : 0                                      !
-!                                                                      !
-!messagebox: Number of outputs: 1                                      !
-!                                                                      !
-!messagebox: Input/output dependency:[T]                               !
-!                                                                      !
-!messagebox: Analytical Jacobian: enabled  (%Jacobian=%t)              !
-!                                                                      !
-!messagebox: Parameter embedding mode: enabled (%Modelica_ParEmb=%t)   !
-!                                                                      !
-!messagebox:                                                           !
-!                                                                      !
-!messagebox: Generated files path: C:\Users\scilab\AppData\Local\Temp\S!
-!CI_TMP_3428_8929\                                                     !
-!                                                                      !
-!messagebox:                                                           !
---------------------------------------------\
- Main Modelica : TMPDIR\Platform_im.mo
- Flat Modelica : TMPDIR\Platform_imf.mo
- Simulation C code :TMPDIR\Platform_im.c
-!messagebox: Modelica blocks are reduced to a block with:              !
-!                                                                      !
-!messagebox: Number of differential states: 4                          !
-!                                                                      !
-!messagebox: Number of algebraic states: 0                             !
-!                                                                      !
-!messagebox: Number of discrete time states  : 2                       !
-!                                                                      !
-!messagebox: Number of zero-crossing surfaces: 1                       !
-!                                                                      !
-!messagebox: Number of modes  : 0                                      !
-!                                                                      !
-!messagebox: Number of inputs : 0                                      !
-!                                                                      !
-!messagebox: Number of outputs: 1                                      !
-!                                                                      !
-!messagebox: Input/output dependency:[T]                               !
-!                                                                      !
-!messagebox: Analytical Jacobian: enabled  (%Jacobian=%t)              !
-!                                                                      !
-!messagebox: Parameter embedding mode: enabled (%Modelica_ParEmb=%t)   !
-!                                                                      !
-!messagebox:                                                           !
-!                                                                      !
-!messagebox: Generated files path: C:\Users\scilab\AppData\Local\Temp\S!
-!CI_TMP_3428_8929\                                                     !
-!                                                                      !
-!messagebox:                                                           !
---------------------------------------------\
- Main Modelica : TMPDIR\Platform_im.mo
- Flat Modelica : TMPDIR\Platform_imf.mo
- Simulation C code :TMPDIR\Platform_im.c
-!messagebox: Modelica blocks are reduced to a block with:              !
-!                                                                      !
-!messagebox: Number of differential states: 4                          !
-!                                                                      !
-!messagebox: Number of algebraic states: 0                             !
-!                                                                      !
-!messagebox: Number of discrete time states  : 2                       !
-!                                                                      !
-!messagebox: Number of zero-crossing surfaces: 1                       !
-!                                                                      !
-!messagebox: Number of modes  : 0                                      !
-!                                                                      !
-!messagebox: Number of inputs : 0                                      !
-!                                                                      !
-!messagebox: Number of outputs: 1                                      !
-!                                                                      !
-!messagebox: Input/output dependency:[T]                               !
-!                                                                      !
-!messagebox: Analytical Jacobian: enabled  (%Jacobian=%t)              !
-!                                                                      !
-!messagebox: Parameter embedding mode: enabled (%Modelica_ParEmb=%t)   !
-!                                                                      !
-!messagebox:                                                           !
-!                                                                      !
-!messagebox: Generated files path: C:\Users\scilab\AppData\Local\Temp\S!
-!CI_TMP_3428_8929\                                                     !
-!                                                                      !
-!messagebox:                                                           !
---------------------------------------------\
- Main Modelica : TMPDIR\Platform_im.mo
- Flat Modelica : TMPDIR\Platform_imf.mo
- Simulation C code :TMPDIR\Platform_im.c
-!messagebox: Modelica blocks are reduced to a block with:              !
-!                                                                      !
-!messagebox: Number of differential states: 4                          !
-!                                                                      !
-!messagebox: Number of algebraic states: 0                             !
-!                                                                      !
-!messagebox: Number of discrete time states  : 2                       !
-!                                                                      !
-!messagebox: Number of zero-crossing surfaces: 1                       !
-!                                                                      !
-!messagebox: Number of modes  : 0                                      !
-!                                                                      !
-!messagebox: Number of inputs : 0                                      !
-!                                                                      !
-!messagebox: Number of outputs: 1                                      !
-!                                                                      !
-!messagebox: Input/output dependency:[T]                               !
-!                                                                      !
-!messagebox: Analytical Jacobian: enabled  (%Jacobian=%t)              !
-!                                                                      !
-!messagebox: Parameter embedding mode: enabled (%Modelica_ParEmb=%t)   !
-!                                                                      !
-!messagebox:                                                           !
-!                                                                      !
-!messagebox: Generated files path: C:\Users\scilab\AppData\Local\Temp\S!
-!CI_TMP_3428_8929\                                                     !
-!                                                                      !
-!messagebox:                                                           !
---------------------------------------------\
- Main Modelica : TMPDIR\Platform_im.mo
- Flat Modelica : TMPDIR\Platform_imf.mo
- Simulation C code :TMPDIR\Platform_im.c
-!messagebox: Modelica blocks are reduced to a block with:              !
-!                                                                      !
-!messagebox: Number of differential states: 4                          !
-!                                                                      !
-!messagebox: Number of algebraic states: 0                             !
-!                                                                      !
-!messagebox: Number of discrete time states  : 2                       !
-!                                                                      !
-!messagebox: Number of zero-crossing surfaces: 1                       !
-!                                                                      !
-!messagebox: Number of modes  : 0                                      !
-!                                                                      !
-!messagebox: Number of inputs : 0                                      !
-!                                                                      !
-!messagebox: Number of outputs: 1                                      !
-!                                                                      !
-!messagebox: Input/output dependency:[T]                               !
-!                                                                      !
-!messagebox: Analytical Jacobian: enabled  (%Jacobian=%t)              !
-!                                                                      !
-!messagebox: Parameter embedding mode: enabled (%Modelica_ParEmb=%t)   !
-!                                                                      !
-!messagebox:                                                           !
-!                                                                      !
-!messagebox: Generated files path: C:\Users\scilab\AppData\Local\Temp\S!
-!CI_TMP_3428_8929\                                                     !
-!                                                                      !
-!messagebox:                                                           !
index b665dd1..5b4d9a4 100644 (file)
@@ -6,6 +6,7 @@
 // =============================================================================
 //
 // <-- ENGLISH IMPOSED -->
+// <-- NO CHECK REF -->
 //
 // <-- XCOS TEST -->
 
diff --git a/scilab/modules/scicos/tests/unit_tests/Solvers/DAE/DDaskrN_RLC.unix.dia.ref b/scilab/modules/scicos/tests/unit_tests/Solvers/DAE/DDaskrN_RLC.unix.dia.ref
deleted file mode 100644 (file)
index 40bb5d8..0000000
+++ /dev/null
@@ -1,159 +0,0 @@
-// =============================================================================
-// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
-// Copyright (C) 2013 - Scilab Enterprises - Paul Bignier
-//
-//  This file is distributed under the same license as the Scilab package.
-// =============================================================================
-//
-// <-- ENGLISH IMPOSED -->
-//
-// <-- XCOS TEST -->
-ilib_verbose(0); //to remove ilib_* traces
-// Import diagram
-assert_checktrue(importXcosDiagram("SCI/modules/xcos/tests/unit_tests/Solvers/DAE/RLC.zcos"));
-for i=2:3
-    // Start by updating the clock block period (sampling)
-    scs_m.props.context = "per = 5*10^-"+string(i);
-    // Modify solver + run DDaskr + save results
-    scs_m.props.tol(6) = 101;     // Solver
-    scicos_simulate(scs_m); // DDaskr
-    ddaskrval = res.values;       // Results
-    // Modify solver + run IDA + save results
-    scs_m.props.tol(6) = 100;     // Solver
-    scicos_simulate(scs_m); // IDA
-    idaval = res.values;          // Results
-    // Compare results
-    compa = abs(ddaskrval-idaval);
-    // Extract mean, standard deviation, maximum
-    mea = mean(compa);
-    [maxi, indexMaxi] = max(compa);
-    stdeviation = stdev(compa);
-    // Verifying closeness of the results
-    assert_checktrue(maxi <= 10^-(i+4));
-    assert_checktrue(mea <= 10^-(i+4));
-    assert_checktrue(stdeviation <= 10^-(i+4));
-end
---------------------------------------------\
- Main Modelica : TMPDIR/RLC_im.mo
- Flat Modelica : TMPDIR/RLC_imf.mo
- Simulation C code :TMPDIR/RLC_im.c
-!messagebox: Modelica blocks are reduced to a block with:             !
-!                                                                     !
-!messagebox: Number of differential states: 2                         !
-!                                                                     !
-!messagebox: Number of algebraic states: 1                            !
-!                                                                     !
-!messagebox: Number of discrete time states  : 0                      !
-!                                                                     !
-!messagebox: Number of zero-crossing surfaces: 0                      !
-!                                                                     !
-!messagebox: Number of modes  : 0                                     !
-!                                                                     !
-!messagebox: Number of inputs : 0                                     !
-!                                                                     !
-!messagebox: Number of outputs: 1                                     !
-!                                                                     !
-!messagebox: Input/output dependency:[T]                              !
-!                                                                     !
-!messagebox: Analytical Jacobian: enabled  (%Jacobian=%t)             !
-!                                                                     !
-!messagebox: Parameter embedding mode: enabled (%Modelica_ParEmb=%t)  !
-!                                                                     !
-!messagebox:                                                          !
-!                                                                     !
-!messagebox: Generated files path: TMPDIR/         !
-!                                                                     !
-!messagebox:                                                          !
---------------------------------------------\
- Main Modelica : TMPDIR/RLC_im.mo
- Flat Modelica : TMPDIR/RLC_imf.mo
- Simulation C code :TMPDIR/RLC_im.c
-!messagebox: Modelica blocks are reduced to a block with:             !
-!                                                                     !
-!messagebox: Number of differential states: 2                         !
-!                                                                     !
-!messagebox: Number of algebraic states: 1                            !
-!                                                                     !
-!messagebox: Number of discrete time states  : 0                      !
-!                                                                     !
-!messagebox: Number of zero-crossing surfaces: 0                      !
-!                                                                     !
-!messagebox: Number of modes  : 0                                     !
-!                                                                     !
-!messagebox: Number of inputs : 0                                     !
-!                                                                     !
-!messagebox: Number of outputs: 1                                     !
-!                                                                     !
-!messagebox: Input/output dependency:[T]                              !
-!                                                                     !
-!messagebox: Analytical Jacobian: enabled  (%Jacobian=%t)             !
-!                                                                     !
-!messagebox: Parameter embedding mode: enabled (%Modelica_ParEmb=%t)  !
-!                                                                     !
-!messagebox:                                                          !
-!                                                                     !
-!messagebox: Generated files path: TMPDIR/         !
-!                                                                     !
-!messagebox:                                                          !
---------------------------------------------\
- Main Modelica : TMPDIR/RLC_im.mo
- Flat Modelica : TMPDIR/RLC_imf.mo
- Simulation C code :TMPDIR/RLC_im.c
-!messagebox: Modelica blocks are reduced to a block with:             !
-!                                                                     !
-!messagebox: Number of differential states: 2                         !
-!                                                                     !
-!messagebox: Number of algebraic states: 1                            !
-!                                                                     !
-!messagebox: Number of discrete time states  : 0                      !
-!                                                                     !
-!messagebox: Number of zero-crossing surfaces: 0                      !
-!                                                                     !
-!messagebox: Number of modes  : 0                                     !
-!                                                                     !
-!messagebox: Number of inputs : 0                                     !
-!                                                                     !
-!messagebox: Number of outputs: 1                                     !
-!                                                                     !
-!messagebox: Input/output dependency:[T]                              !
-!                                                                     !
-!messagebox: Analytical Jacobian: enabled  (%Jacobian=%t)             !
-!                                                                     !
-!messagebox: Parameter embedding mode: enabled (%Modelica_ParEmb=%t)  !
-!                                                                     !
-!messagebox:                                                          !
-!                                                                     !
-!messagebox: Generated files path: TMPDIR/         !
-!                                                                     !
-!messagebox:                                                          !
---------------------------------------------\
- Main Modelica : TMPDIR/RLC_im.mo
- Flat Modelica : TMPDIR/RLC_imf.mo
- Simulation C code :TMPDIR/RLC_im.c
-!messagebox: Modelica blocks are reduced to a block with:             !
-!                                                                     !
-!messagebox: Number of differential states: 2                         !
-!                                                                     !
-!messagebox: Number of algebraic states: 1                            !
-!                                                                     !
-!messagebox: Number of discrete time states  : 0                      !
-!                                                                     !
-!messagebox: Number of zero-crossing surfaces: 0                      !
-!                                                                     !
-!messagebox: Number of modes  : 0                                     !
-!                                                                     !
-!messagebox: Number of inputs : 0                                     !
-!                                                                     !
-!messagebox: Number of outputs: 1                                     !
-!                                                                     !
-!messagebox: Input/output dependency:[T]                              !
-!                                                                     !
-!messagebox: Analytical Jacobian: enabled  (%Jacobian=%t)             !
-!                                                                     !
-!messagebox: Parameter embedding mode: enabled (%Modelica_ParEmb=%t)  !
-!                                                                     !
-!messagebox:                                                          !
-!                                                                     !
-!messagebox: Generated files path: TMPDIR/         !
-!                                                                     !
-!messagebox:                                                          !
diff --git a/scilab/modules/scicos/tests/unit_tests/Solvers/DAE/DDaskrN_RLC.win.dia.ref b/scilab/modules/scicos/tests/unit_tests/Solvers/DAE/DDaskrN_RLC.win.dia.ref
deleted file mode 100644 (file)
index 688a1a6..0000000
+++ /dev/null
@@ -1,163 +0,0 @@
-// =============================================================================
-// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
-// Copyright (C) 2013 - Scilab Enterprises - Paul Bignier
-//
-//  This file is distributed under the same license as the Scilab package.
-// =============================================================================
-//
-// <-- ENGLISH IMPOSED -->
-//
-// <-- XCOS TEST -->
-ilib_verbose(0); //to remove ilib_* traces
-// Import diagram
-assert_checktrue(importXcosDiagram("SCI/modules/xcos/tests/unit_tests/Solvers/DAE/RLC.zcos"));
-for i=2:3
-    // Start by updating the clock block period (sampling)
-    scs_m.props.context = "per = 5*10^-"+string(i);
-    // Modify solver + run DDaskr + save results
-    scs_m.props.tol(6) = 101;     // Solver
-    scicos_simulate(scs_m); // DDaskr
-    ddaskrval = res.values;       // Results
-    // Modify solver + run IDA + save results
-    scs_m.props.tol(6) = 100;     // Solver
-    scicos_simulate(scs_m); // IDA
-    idaval = res.values;          // Results
-    // Compare results
-    compa = abs(ddaskrval-idaval);
-    // Extract mean, standard deviation, maximum
-    mea = mean(compa);
-    [maxi, indexMaxi] = max(compa);
-    stdeviation = stdev(compa);
-    // Verifying closeness of the results
-    assert_checktrue(maxi <= 10^-(i+4));
-    assert_checktrue(mea <= 10^-(i+4));
-    assert_checktrue(stdeviation <= 10^-(i+4));
-end
---------------------------------------------\
- Main Modelica : TMPDIR\RLC_im.mo
- Flat Modelica : TMPDIR\RLC_imf.mo
- Simulation C code :TMPDIR\RLC_im.c
-!messagebox: Modelica blocks are reduced to a block with:              !
-!                                                                      !
-!messagebox: Number of differential states: 2                          !
-!                                                                      !
-!messagebox: Number of algebraic states: 1                             !
-!                                                                      !
-!messagebox: Number of discrete time states  : 0                       !
-!                                                                      !
-!messagebox: Number of zero-crossing surfaces: 0                       !
-!                                                                      !
-!messagebox: Number of modes  : 0                                      !
-!                                                                      !
-!messagebox: Number of inputs : 0                                      !
-!                                                                      !
-!messagebox: Number of outputs: 1                                      !
-!                                                                      !
-!messagebox: Input/output dependency:[T]                               !
-!                                                                      !
-!messagebox: Analytical Jacobian: enabled  (%Jacobian=%t)              !
-!                                                                      !
-!messagebox: Parameter embedding mode: enabled (%Modelica_ParEmb=%t)   !
-!                                                                      !
-!messagebox:                                                           !
-!                                                                      !
-!messagebox: Generated files path: C:\Users\scilab\AppData\Local\Temp\S!
-!CI_TMP_4648_9004\                                                     !
-!                                                                      !
-!messagebox:                                                           !
---------------------------------------------\
- Main Modelica : TMPDIR\RLC_im.mo
- Flat Modelica : TMPDIR\RLC_imf.mo
- Simulation C code :TMPDIR\RLC_im.c
-!messagebox: Modelica blocks are reduced to a block with:              !
-!                                                                      !
-!messagebox: Number of differential states: 2                          !
-!                                                                      !
-!messagebox: Number of algebraic states: 1                             !
-!                                                                      !
-!messagebox: Number of discrete time states  : 0                       !
-!                                                                      !
-!messagebox: Number of zero-crossing surfaces: 0                       !
-!                                                                      !
-!messagebox: Number of modes  : 0                                      !
-!                                                                      !
-!messagebox: Number of inputs : 0                                      !
-!                                                                      !
-!messagebox: Number of outputs: 1                                      !
-!                                                                      !
-!messagebox: Input/output dependency:[T]                               !
-!                                                                      !
-!messagebox: Analytical Jacobian: enabled  (%Jacobian=%t)              !
-!                                                                      !
-!messagebox: Parameter embedding mode: enabled (%Modelica_ParEmb=%t)   !
-!                                                                      !
-!messagebox:                                                           !
-!                                                                      !
-!messagebox: Generated files path: C:\Users\scilab\AppData\Local\Temp\S!
-!CI_TMP_4648_9004\                                                     !
-!                                                                      !
-!messagebox:                                                           !
---------------------------------------------\
- Main Modelica : TMPDIR\RLC_im.mo
- Flat Modelica : TMPDIR\RLC_imf.mo
- Simulation C code :TMPDIR\RLC_im.c
-!messagebox: Modelica blocks are reduced to a block with:              !
-!                                                                      !
-!messagebox: Number of differential states: 2                          !
-!                                                                      !
-!messagebox: Number of algebraic states: 1                             !
-!                                                                      !
-!messagebox: Number of discrete time states  : 0                       !
-!                                                                      !
-!messagebox: Number of zero-crossing surfaces: 0                       !
-!                                                                      !
-!messagebox: Number of modes  : 0                                      !
-!                                                                      !
-!messagebox: Number of inputs : 0                                      !
-!                                                                      !
-!messagebox: Number of outputs: 1                                      !
-!                                                                      !
-!messagebox: Input/output dependency:[T]                               !
-!                                                                      !
-!messagebox: Analytical Jacobian: enabled  (%Jacobian=%t)              !
-!                                                                      !
-!messagebox: Parameter embedding mode: enabled (%Modelica_ParEmb=%t)   !
-!                                                                      !
-!messagebox:                                                           !
-!                                                                      !
-!messagebox: Generated files path: C:\Users\scilab\AppData\Local\Temp\S!
-!CI_TMP_4648_9004\                                                     !
-!                                                                      !
-!messagebox:                                                           !
---------------------------------------------\
- Main Modelica : TMPDIR\RLC_im.mo
- Flat Modelica : TMPDIR\RLC_imf.mo
- Simulation C code :TMPDIR\RLC_im.c
-!messagebox: Modelica blocks are reduced to a block with:              !
-!                                                                      !
-!messagebox: Number of differential states: 2                          !
-!                                                                      !
-!messagebox: Number of algebraic states: 1                             !
-!                                                                      !
-!messagebox: Number of discrete time states  : 0                       !
-!                                                                      !
-!messagebox: Number of zero-crossing surfaces: 0                       !
-!                                                                      !
-!messagebox: Number of modes  : 0                                      !
-!                                                                      !
-!messagebox: Number of inputs : 0                                      !
-!                                                                      !
-!messagebox: Number of outputs: 1                                      !
-!                                                                      !
-!messagebox: Input/output dependency:[T]                               !
-!                                                                      !
-!messagebox: Analytical Jacobian: enabled  (%Jacobian=%t)              !
-!                                                                      !
-!messagebox: Parameter embedding mode: enabled (%Modelica_ParEmb=%t)   !
-!                                                                      !
-!messagebox:                                                           !
-!                                                                      !
-!messagebox: Generated files path: C:\Users\scilab\AppData\Local\Temp\S!
-!CI_TMP_4648_9004\                                                     !
-!                                                                      !
-!messagebox:                                                           !
index 61a2655..eb8b581 100644 (file)
@@ -6,6 +6,7 @@
 // =============================================================================
 //
 // <-- ENGLISH IMPOSED -->
+// <-- NO CHECK REF -->
 //
 // <-- XCOS TEST -->
 //
diff --git a/scilab/modules/scicos/tests/unit_tests/Solvers/DAE/IDA_Bouncing.unix.dia.ref b/scilab/modules/scicos/tests/unit_tests/Solvers/DAE/IDA_Bouncing.unix.dia.ref
deleted file mode 100644 (file)
index 88b9137..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-// =============================================================================
-// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
-// Copyright (C) 2013 - Scilab Enterprises - Paul Bignier
-//
-//  This file is distributed under the same license as the Scilab package.
-// =============================================================================
-//
-// <-- ENGLISH IMPOSED -->
-//
-// <-- XCOS TEST -->
-//
-ilib_verbose(0); //to remove ilib_* traces
-// Import diagram
-assert_checktrue(importXcosDiagram("SCI/modules/xcos/tests/unit_tests/Solvers/DAE/Bouncing.zcos"));
-IDA_val_ref = [ 10.
-11.3875
-12.55
-13.4875
-14.2
-14.6875
-14.95
-14.9875
-14.8
-14.3875
-13.75
-12.8875
-11.8
-10.4875
-8.95
-7.1875
-5.2
-2.9875
-0.55
-1.5647919
-3.3538291
-4.9178663
-6.2569034
-7.3709406
-8.2599778
-8.924015 ];
-IDA_time_ref = (0:.5:49.5)';
-scs_m.props.tol(6) = 100; // Solver
-scs_m.props.context = "per = 0.5"; // Period, to get more varied results
-scicos_simulate(scs_m);   // IDA
---------------------------------------------\
- Main Modelica : TMPDIR/Bouncing_im.mo
- Flat Modelica : TMPDIR/Bouncing_imf.mo
- Simulation C code :TMPDIR/Bouncing_im.c
-!messagebox: Modelica blocks are reduced to a block with:             !
-!                                                                     !
-!messagebox: Number of differential states: 2                         !
-!                                                                     !
-!messagebox: Number of algebraic states: 0                            !
-!                                                                     !
-!messagebox: Number of discrete time states  : 0                      !
-!                                                                     !
-!messagebox: Number of zero-crossing surfaces: 1                      !
-!                                                                     !
-!messagebox: Number of modes  : 0                                     !
-!                                                                     !
-!messagebox: Number of inputs : 0                                     !
-!                                                                     !
-!messagebox: Number of outputs: 1                                     !
-!                                                                     !
-!messagebox: Input/output dependency:[T]                              !
-!                                                                     !
-!messagebox: Analytical Jacobian: enabled  (%Jacobian=%t)             !
-!                                                                     !
-!messagebox: Parameter embedding mode: enabled (%Modelica_ParEmb=%t)  !
-!                                                                     !
-!messagebox:                                                          !
-!                                                                     !
-!messagebox: Generated files path: TMPDIR/         !
-!                                                                     !
-!messagebox:                                                          !
-assert_checkalmostequal(res.values(1:26), IDA_val_ref, [], 1d-7);
-assert_checkalmostequal(res.time, IDA_time_ref);
diff --git a/scilab/modules/scicos/tests/unit_tests/Solvers/DAE/IDA_Bouncing.win.dia.ref b/scilab/modules/scicos/tests/unit_tests/Solvers/DAE/IDA_Bouncing.win.dia.ref
deleted file mode 100644 (file)
index 1c1bfe1..0000000
+++ /dev/null
@@ -1,78 +0,0 @@
-// =============================================================================
-// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
-// Copyright (C) 2013 - Scilab Enterprises - Paul Bignier
-//
-//  This file is distributed under the same license as the Scilab package.
-// =============================================================================
-//
-// <-- ENGLISH IMPOSED -->
-//
-// <-- XCOS TEST -->
-//
-ilib_verbose(0); //to remove ilib_* traces
-// Import diagram
-assert_checktrue(importXcosDiagram("SCI/modules/xcos/tests/unit_tests/Solvers/DAE/Bouncing.zcos"));
-IDA_val_ref = [ 10.
-11.3875
-12.55
-13.4875
-14.2
-14.6875
-14.95
-14.9875
-14.8
-14.3875
-13.75
-12.8875
-11.8
-10.4875
-8.95
-7.1875
-5.2
-2.9875
-0.55
-1.5647919
-3.3538291
-4.9178663
-6.2569034
-7.3709406
-8.2599778
-8.924015 ];
-IDA_time_ref = (0:.5:49.5)';
-scs_m.props.tol(6) = 100; // Solver
-scs_m.props.context = "per = 0.5"; // Period, to get more varied results
-scicos_simulate(scs_m);   // IDA
---------------------------------------------\
- Main Modelica : TMPDIR\Bouncing_im.mo
- Flat Modelica : TMPDIR\Bouncing_imf.mo
- Simulation C code :TMPDIR\Bouncing_im.c
-!messagebox: Modelica blocks are reduced to a block with:              !
-!                                                                      !
-!messagebox: Number of differential states: 2                          !
-!                                                                      !
-!messagebox: Number of algebraic states: 0                             !
-!                                                                      !
-!messagebox: Number of discrete time states  : 0                       !
-!                                                                      !
-!messagebox: Number of zero-crossing surfaces: 1                       !
-!                                                                      !
-!messagebox: Number of modes  : 0                                      !
-!                                                                      !
-!messagebox: Number of inputs : 0                                      !
-!                                                                      !
-!messagebox: Number of outputs: 1                                      !
-!                                                                      !
-!messagebox: Input/output dependency:[T]                               !
-!                                                                      !
-!messagebox: Analytical Jacobian: enabled  (%Jacobian=%t)              !
-!                                                                      !
-!messagebox: Parameter embedding mode: enabled (%Modelica_ParEmb=%t)   !
-!                                                                      !
-!messagebox:                                                           !
-!                                                                      !
-!messagebox: Generated files path: C:\Users\scilab\AppData\Local\Temp\S!
-!CI_TMP_2856_9076\                                                     !
-!                                                                      !
-!messagebox:                                                           !
-assert_checkalmostequal(res.values(1:26), IDA_val_ref, [], 1d-7);
-assert_checkalmostequal(res.time, IDA_time_ref);
index 49b7be5..18c4fcf 100644 (file)
@@ -6,6 +6,7 @@
 // =============================================================================
 //
 // <-- ENGLISH IMPOSED -->
+// <-- NO CHECK REF -->
 //
 // <-- XCOS TEST -->
 //
diff --git a/scilab/modules/scicos/tests/unit_tests/Solvers/DAE/IDA_Hydraulics.unix.dia.ref b/scilab/modules/scicos/tests/unit_tests/Solvers/DAE/IDA_Hydraulics.unix.dia.ref
deleted file mode 100644 (file)
index e4a89cb..0000000
+++ /dev/null
@@ -1,119 +0,0 @@
-// =============================================================================
-// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
-// Copyright (C) 2013 - Scilab Enterprises - Paul Bignier
-//
-//  This file is distributed under the same license as the Scilab package.
-// =============================================================================
-//
-// <-- ENGLISH IMPOSED -->
-//
-// <-- XCOS TEST -->
-//
-ilib_verbose(0); //to remove ilib_* traces
-// Import diagram
-assert_checktrue(importXcosDiagram("SCI/modules/xcos/tests/unit_tests/Solvers/DAE/Hydraulics.zcos"));
-IDA_val_ref = [ 0.2014730
-0.2014678
-0.2014630
-0.2014586
-0.2014545
-0.2014507
-0.2014472
-0.2014440
-0.201441
-0.2014383
-0.2014358
-0.2014336
-0.2014315
-0.2014297
-0.201428
-0.2014265
-0.2014252
-0.2014240
-0.2014229
-0.2014220
-0.2014211
-0.2014204
-0.2014198
-0.2014192
-0.2014188
-0.2014184
-0.2014181
-0.2014178
-0.2014176
-0.2014174
-0.2014173
-0.2014172
-0.2014172
-0.2014172
-0.2014172
-0.2014172
-0.2014173
-0.2014174
-0.2014174
-0.2014175
-0.2014176
-0.2014178
-0.2014179
-0.201418
-0.2014181
-0.2014183
-0.2014184
-0.2014185
-0.2014186
-0.2014188
-0.2014189
-0.2014190
-0.2014191
-0.2014193
-0.2014194
-0.2014195
-0.2014196
-0.2014197
-0.2014198
-0.2014199
-0.2014200
-0.2014200
-0.2014201
-0.2014202
-0.2014203
-0.2014203
-0.2014204
-0.2014204 ];
-IDA_time_ref = (25.05:.05:50)';
-scs_m.props.tol(6) = 100; // Solver
-scs_m.props.context = "per = 0.05"; // Period, to get more varied results
-scicos_simulate(scs_m);   // IDA
---------------------------------------------\
- Main Modelica : TMPDIR/Hydraulics_im.mo
- Flat Modelica : TMPDIR/Hydraulics_imf.mo
- Simulation C code :TMPDIR/Hydraulics_im.c
-!messagebox: Modelica blocks are reduced to a block with:             !
-!                                                                     !
-!messagebox: Number of differential states: 2                         !
-!                                                                     !
-!messagebox: Number of algebraic states: 5                            !
-!                                                                     !
-!messagebox: Number of discrete time states  : 0                      !
-!                                                                     !
-!messagebox: Number of zero-crossing surfaces: 19                     !
-!                                                                     !
-!messagebox: Number of modes  : 19                                    !
-!                                                                     !
-!messagebox: Number of inputs : 1                                     !
-!                                                                     !
-!messagebox: Number of outputs: 1                                     !
-!                                                                     !
-!messagebox: Input/output dependency:[F]                              !
-!                                                                     !
-!messagebox: Analytical Jacobian: enabled  (%Jacobian=%t)             !
-!                                                                     !
-!messagebox: Parameter embedding mode: enabled (%Modelica_ParEmb=%t)  !
-!                                                                     !
-!messagebox:                                                          !
-!                                                                     !
-!messagebox: Generated files path: TMPDIR/         !
-!                                                                     !
-!messagebox:                                                          !
-assert_checkalmostequal(res.values($-67:$, :), IDA_val_ref, [], 1d-7);
-assert_checkalmostequal(res.time, IDA_time_ref);
diff --git a/scilab/modules/scicos/tests/unit_tests/Solvers/DAE/IDA_Hydraulics.win.dia.ref b/scilab/modules/scicos/tests/unit_tests/Solvers/DAE/IDA_Hydraulics.win.dia.ref
deleted file mode 100644 (file)
index beee862..0000000
+++ /dev/null
@@ -1,120 +0,0 @@
-// =============================================================================
-// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
-// Copyright (C) 2013 - Scilab Enterprises - Paul Bignier
-//
-//  This file is distributed under the same license as the Scilab package.
-// =============================================================================
-//
-// <-- ENGLISH IMPOSED -->
-//
-// <-- XCOS TEST -->
-//
-ilib_verbose(0); //to remove ilib_* traces
-// Import diagram
-assert_checktrue(importXcosDiagram("SCI/modules/xcos/tests/unit_tests/Solvers/DAE/Hydraulics.zcos"));
-IDA_val_ref = [ 0.2014730
-0.2014678
-0.2014630
-0.2014586
-0.2014545
-0.2014507
-0.2014472
-0.2014440
-0.201441
-0.2014383
-0.2014358
-0.2014336
-0.2014315
-0.2014297
-0.201428
-0.2014265
-0.2014252
-0.2014240
-0.2014229
-0.2014220
-0.2014211
-0.2014204
-0.2014198
-0.2014192
-0.2014188
-0.2014184
-0.2014181
-0.2014178
-0.2014176
-0.2014174
-0.2014173
-0.2014172
-0.2014172
-0.2014172
-0.2014172
-0.2014172
-0.2014173
-0.2014174
-0.2014174
-0.2014175
-0.2014176
-0.2014178
-0.2014179
-0.201418
-0.2014181
-0.2014183
-0.2014184
-0.2014185
-0.2014186
-0.2014188
-0.2014189
-0.2014190
-0.2014191
-0.2014193
-0.2014194
-0.2014195
-0.2014196
-0.2014197
-0.2014198
-0.2014199
-0.2014200
-0.2014200
-0.2014201
-0.2014202
-0.2014203
-0.2014203
-0.2014204
-0.2014204 ];
-IDA_time_ref = (25.05:.05:50)';
-scs_m.props.tol(6) = 100; // Solver
-scs_m.props.context = "per = 0.05"; // Period, to get more varied results
-scicos_simulate(scs_m);   // IDA
---------------------------------------------\
- Main Modelica : TMPDIR\Hydraulics_im.mo
- Flat Modelica : TMPDIR\Hydraulics_imf.mo
- Simulation C code :TMPDIR\Hydraulics_im.c
-!messagebox: Modelica blocks are reduced to a block with:              !
-!                                                                      !
-!messagebox: Number of differential states: 2                          !
-!                                                                      !
-!messagebox: Number of algebraic states: 5                             !
-!                                                                      !
-!messagebox: Number of discrete time states  : 0                       !
-!                                                                      !
-!messagebox: Number of zero-crossing surfaces: 19                      !
-!                                                                      !
-!messagebox: Number of modes  : 19                                     !
-!                                                                      !
-!messagebox: Number of inputs : 1                                      !
-!                                                                      !
-!messagebox: Number of outputs: 1                                      !
-!                                                                      !
-!messagebox: Input/output dependency:[F]                               !
-!                                                                      !
-!messagebox: Analytical Jacobian: enabled  (%Jacobian=%t)              !
-!                                                                      !
-!messagebox: Parameter embedding mode: enabled (%Modelica_ParEmb=%t)   !
-!                                                                      !
-!messagebox:                                                           !
-!                                                                      !
-!messagebox: Generated files path: C:\Users\scilab\AppData\Local\Temp\S!
-!CI_TMP_4416_9105\                                                     !
-!                                                                      !
-!messagebox:                                                           !
-assert_checkalmostequal(res.values($-67:$, :), IDA_val_ref, [], 1d-7);
-assert_checkalmostequal(res.time, IDA_time_ref);
index 34eba34..aa4f3ef 100644 (file)
@@ -6,6 +6,7 @@
 // =============================================================================
 //
 // <-- ENGLISH IMPOSED -->
+// <-- NO CHECK REF -->
 //
 // <-- XCOS TEST -->
 //
diff --git a/scilab/modules/scicos/tests/unit_tests/Solvers/DAE/IDA_Platform.unix.dia.ref b/scilab/modules/scicos/tests/unit_tests/Solvers/DAE/IDA_Platform.unix.dia.ref
deleted file mode 100644 (file)
index d47a3d2..0000000
+++ /dev/null
@@ -1,91 +0,0 @@
-// =============================================================================
-// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
-// Copyright (C) 2013 - Scilab Enterprises - Paul Bignier
-//
-//  This file is distributed under the same license as the Scilab package.
-// =============================================================================
-//
-// <-- ENGLISH IMPOSED -->
-//
-// <-- XCOS TEST -->
-//
-ilib_verbose(0); //to remove ilib_* traces
-// Import diagram
-assert_checktrue(importXcosDiagram("SCI/modules/xcos/tests/unit_tests/Solvers/DAE/Platform.zcos"));
-IDA_val_ref = [ 11.
-11.
-11.
-7.1057377
-4.2276434
-3.7837192
-2.9538128
-5.8771057
-6.3928885
-7.7794415
-8.7234525
-8.1656745
-5.4692996
-4.119467
-3.98566
-4.5880334
-6.2619705
-7.460788
-8.0411235
-7.0316339
-5.9103864
-5.0870516
-4.8350387
-5.2736793
-6.0991627
-6.8411039
-7.22751
-6.791484
-6.0262625
-5.4580017
-5.3754978
-5.5876889
-6.078075
-6.5118764
-6.6403792
-6.4498018
-6.0902532
-5.7053277
-5.6308887
-5.8353956 ];
-IDA_time_ref = (0:.5:19.5)';
-scs_m.props.tol(6) = 100; // Solver
-scs_m.props.context = "per = 0.5"; // Period, to get more varied results
-scicos_simulate(scs_m);   // IDA
---------------------------------------------\
- Main Modelica : TMPDIR/Platform_im.mo
- Flat Modelica : TMPDIR/Platform_imf.mo
- Simulation C code :TMPDIR/Platform_im.c
-!messagebox: Modelica blocks are reduced to a block with:             !
-!                                                                     !
-!messagebox: Number of differential states: 4                         !
-!                                                                     !
-!messagebox: Number of algebraic states: 0                            !
-!                                                                     !
-!messagebox: Number of discrete time states  : 2                      !
-!                                                                     !
-!messagebox: Number of zero-crossing surfaces: 1                      !
-!                                                                     !
-!messagebox: Number of modes  : 0                                     !
-!                                                                     !
-!messagebox: Number of inputs : 0                                     !
-!                                                                     !
-!messagebox: Number of outputs: 1                                     !
-!                                                                     !
-!messagebox: Input/output dependency:[T]                              !
-!                                                                     !
-!messagebox: Analytical Jacobian: enabled  (%Jacobian=%t)             !
-!                                                                     !
-!messagebox: Parameter embedding mode: enabled (%Modelica_ParEmb=%t)  !
-!                                                                     !
-!messagebox:                                                          !
-!                                                                     !
-!messagebox: Generated files path: TMPDIR/         !
-!                                                                     !
-!messagebox:                                                          !
-assert_checkalmostequal(res.values, IDA_val_ref, [], 1d-6);
-assert_checkalmostequal(res.time, IDA_time_ref);
diff --git a/scilab/modules/scicos/tests/unit_tests/Solvers/DAE/IDA_Platform.win.dia.ref b/scilab/modules/scicos/tests/unit_tests/Solvers/DAE/IDA_Platform.win.dia.ref
deleted file mode 100644 (file)
index 0b9a5a5..0000000
+++ /dev/null
@@ -1,92 +0,0 @@
-// =============================================================================
-// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
-// Copyright (C) 2013 - Scilab Enterprises - Paul Bignier
-//
-//  This file is distributed under the same license as the Scilab package.
-// =============================================================================
-//
-// <-- ENGLISH IMPOSED -->
-//
-// <-- XCOS TEST -->
-//
-ilib_verbose(0); //to remove ilib_* traces
-// Import diagram
-assert_checktrue(importXcosDiagram("SCI/modules/xcos/tests/unit_tests/Solvers/DAE/Platform.zcos"));
-IDA_val_ref = [ 11.
-11.
-11.
-7.1057377
-4.2276434
-3.7837192
-2.9538128
-5.8771057
-6.3928885
-7.7794415
-8.7234525
-8.1656745
-5.4692996
-4.119467
-3.98566
-4.5880334
-6.2619705
-7.460788
-8.0411235
-7.0316339
-5.9103864
-5.0870516
-4.8350387
-5.2736793
-6.0991627
-6.8411039
-7.22751
-6.791484
-6.0262625
-5.4580017
-5.3754978
-5.5876889
-6.078075
-6.5118764
-6.6403792
-6.4498018
-6.0902532
-5.7053277
-5.6308887
-5.8353956 ];
-IDA_time_ref = (0:.5:19.5)';
-scs_m.props.tol(6) = 100; // Solver
-scs_m.props.context = "per = 0.5"; // Period, to get more varied results
-scicos_simulate(scs_m);   // IDA
---------------------------------------------\
- Main Modelica : TMPDIR\Platform_im.mo
- Flat Modelica : TMPDIR\Platform_imf.mo
- Simulation C code :TMPDIR\Platform_im.c
-!messagebox: Modelica blocks are reduced to a block with:              !
-!                                                                      !
-!messagebox: Number of differential states: 4                          !
-!                                                                      !
-!messagebox: Number of algebraic states: 0                             !
-!                                                                      !
-!messagebox: Number of discrete time states  : 2                       !
-!                                                                      !
-!messagebox: Number of zero-crossing surfaces: 1                       !
-!                                                                      !
-!messagebox: Number of modes  : 0                                      !
-!                                                                      !
-!messagebox: Number of inputs : 0                                      !
-!                                                                      !
-!messagebox: Number of outputs: 1                                      !
-!                                                                      !
-!messagebox: Input/output dependency:[T]                               !
-!                                                                      !
-!messagebox: Analytical Jacobian: enabled  (%Jacobian=%t)              !
-!                                                                      !
-!messagebox: Parameter embedding mode: enabled (%Modelica_ParEmb=%t)   !
-!                                                                      !
-!messagebox:                                                           !
-!                                                                      !
-!messagebox: Generated files path: C:\Users\scilab\AppData\Local\Temp\S!
-!CI_TMP_3816_9161\                                                     !
-!                                                                      !
-!messagebox:                                                           !
-assert_checkalmostequal(res.values, IDA_val_ref, [], 1d-6);
-assert_checkalmostequal(res.time, IDA_time_ref);
index 079b206..49c6a10 100644 (file)
@@ -6,6 +6,7 @@
 // =============================================================================
 //
 // <-- ENGLISH IMPOSED -->
+// <-- NO CHECK REF -->
 //
 // <-- XCOS TEST -->
 //
diff --git a/scilab/modules/scicos/tests/unit_tests/Solvers/DAE/IDA_RLC.unix.dia.ref b/scilab/modules/scicos/tests/unit_tests/Solvers/DAE/IDA_RLC.unix.dia.ref
deleted file mode 100644 (file)
index 1227e3c..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-// =============================================================================
-// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
-// Copyright (C) 2013 - Scilab Enterprises - Paul Bignier
-//
-//  This file is distributed under the same license as the Scilab package.
-// =============================================================================
-//
-// <-- ENGLISH IMPOSED -->
-//
-// <-- XCOS TEST -->
-//
-ilib_verbose(0); //to remove ilib_* traces
-// Import diagram
-assert_checktrue(importXcosDiagram("SCI/modules/xcos/tests/unit_tests/Solvers/DAE/RLC.zcos"));
-IDA_val_ref = [
--0.0019611
--0.0015823
--0.0011972
--0.0008074
--0.0004144
--0.0000198
-0.0003750
-0.0007682
-0.0011584
-0.0015440
-0.0019236
-0.0022955
-0.0026584
-0.0030108
-0.0033513
-0.0036786
-0.0039914
-0.0042884
-0.0045685
-0.0048305
-0.0050736
-0.0052965
-0.0054986
-0.0056790
-0.0058369
-0.0059719
-0.0060832
-0.0061706
-0.0062336
-0.0062720 ];
-IDA_time_ref = (1.7:.01:1.99)';
-scs_m.props.tol(6) = 101; // Solver
-scs_m.props.context = "L = .0001; per = 0.01;"; // Period, to get more varied results
-scicos_simulate(scs_m);   // IDA
---------------------------------------------\
- Main Modelica : TMPDIR/RLC_im.mo
- Flat Modelica : TMPDIR/RLC_imf.mo
- Simulation C code :TMPDIR/RLC_im.c
-!messagebox: Modelica blocks are reduced to a block with:             !
-!                                                                     !
-!messagebox: Number of differential states: 2                         !
-!                                                                     !
-!messagebox: Number of algebraic states: 1                            !
-!                                                                     !
-!messagebox: Number of discrete time states  : 0                      !
-!                                                                     !
-!messagebox: Number of zero-crossing surfaces: 0                      !
-!                                                                     !
-!messagebox: Number of modes  : 0                                     !
-!                                                                     !
-!messagebox: Number of inputs : 0                                     !
-!                                                                     !
-!messagebox: Number of outputs: 1                                     !
-!                                                                     !
-!messagebox: Input/output dependency:[T]                              !
-!                                                                     !
-!messagebox: Analytical Jacobian: enabled  (%Jacobian=%t)             !
-!                                                                     !
-!messagebox: Parameter embedding mode: enabled (%Modelica_ParEmb=%t)  !
-!                                                                     !
-!messagebox:                                                          !
-!                                                                     !
-!messagebox: Generated files path: TMPDIR/          !
-!                                                                     !
-!messagebox:                                                          !
-assert_checkalmostequal(res.values, IDA_val_ref, [], 1d-7);
-assert_checkalmostequal(res.time, IDA_time_ref);
diff --git a/scilab/modules/scicos/tests/unit_tests/Solvers/DAE/IDA_RLC.win.dia.ref b/scilab/modules/scicos/tests/unit_tests/Solvers/DAE/IDA_RLC.win.dia.ref
deleted file mode 100644 (file)
index 959cad3..0000000
+++ /dev/null
@@ -1,83 +0,0 @@
-// =============================================================================
-// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
-// Copyright (C) 2013 - Scilab Enterprises - Paul Bignier
-//
-//  This file is distributed under the same license as the Scilab package.
-// =============================================================================
-//
-// <-- ENGLISH IMPOSED -->
-//
-// <-- XCOS TEST -->
-//
-ilib_verbose(0); //to remove ilib_* traces
-// Import diagram
-assert_checktrue(importXcosDiagram("SCI/modules/xcos/tests/unit_tests/Solvers/DAE/RLC.zcos"));
-IDA_val_ref = [
--0.0019611
--0.0015823
--0.0011972
--0.0008074
--0.0004144
--0.0000198
-0.0003750
-0.0007682
-0.0011584
-0.0015440
-0.0019236
-0.0022955
-0.0026584
-0.0030108
-0.0033513
-0.0036786
-0.0039914
-0.0042884
-0.0045685
-0.0048305
-0.0050736
-0.0052965
-0.0054986
-0.0056790
-0.0058369
-0.0059719
-0.0060832
-0.0061706
-0.0062336
-0.0062720 ];
-IDA_time_ref = (1.7:.01:1.99)';
-scs_m.props.tol(6) = 101; // Solver
-scs_m.props.context = "L = .0001; per = 0.01;"; // Period, to get more varied results
-scicos_simulate(scs_m);   // IDA
---------------------------------------------\
- Main Modelica : TMPDIR\RLC_im.mo
- Flat Modelica : TMPDIR\RLC_imf.mo
- Simulation C code :TMPDIR\RLC_im.c
-!messagebox: Modelica blocks are reduced to a block with:              !
-!                                                                      !
-!messagebox: Number of differential states: 2                          !
-!                                                                      !
-!messagebox: Number of algebraic states: 1                             !
-!                                                                      !
-!messagebox: Number of discrete time states  : 0                       !
-!                                                                      !
-!messagebox: Number of zero-crossing surfaces: 0                       !
-!                                                                      !
-!messagebox: Number of modes  : 0                                      !
-!                                                                      !
-!messagebox: Number of inputs : 0                                      !
-!                                                                      !
-!messagebox: Number of outputs: 1                                      !
-!                                                                      !
-!messagebox: Input/output dependency:[T]                               !
-!                                                                      !
-!messagebox: Analytical Jacobian: enabled  (%Jacobian=%t)              !
-!                                                                      !
-!messagebox: Parameter embedding mode: enabled (%Modelica_ParEmb=%t)   !
-!                                                                      !
-!messagebox:                                                           !
-!                                                                      !
-!messagebox: Generated files path: C:\Users\scilab\AppData\Local\Temp\S!
-!CI_TMP_1368_9187\                                                     !
-!                                                                      !
-!messagebox:                                                           !
-assert_checkalmostequal(res.values, IDA_val_ref, [], 1d-7);
-assert_checkalmostequal(res.time, IDA_time_ref);
diff --git a/scilab/modules/scicos/tests/unit_tests/Solvers/ODE/CRANI.dia.ref b/scilab/modules/scicos/tests/unit_tests/Solvers/ODE/CRANI.dia.ref
deleted file mode 100644 (file)
index 5fb0718..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-// =============================================================================
-// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
-// Copyright (C) 2016 - Scilab Enterprises - Paul Bignier
-//
-//  This file is distributed under the same license as the Scilab package.
-// =============================================================================
-//
-// <-- XCOS TEST -->
-//
-// Testing the Crank-Nicolson method.
-// Import diagram
-assert_checktrue(importXcosDiagram("SCI/modules/xcos/tests/unit_tests/Solvers/ODE/Kalman.zcos"));
-Info = scicos_simulate(scs_m, list());
-for i=2:4  // 'max step size' = 10^-i, precision
-    // Start by updating the clock block period (sampling)
-    scs_m.objs(9).model.rpar(1) = 5*10^-i;
-    scs_m.objs(10).model.rpar(1) = 5*10^-i;
-    // Modify solver and 'max step size' + run CRANI + save results
-    scs_m.props.tol(7) = 5*10^-i; // 'max step size'
-    scs_m.props.tol(6) = 8;       // Solver
-    scs_m.props.tol(2) = 1d-12;   // reltol
-    try scicos_simulate(scs_m, Info); catch disp(lasterror()); end  // CRANI
-    rkval = res.values;   // Results
-    // Modify solver and reltol + run CVode + save results
-    scs_m.props.tol(6) = 4; scs_m.props.tol(2) = 1d-15;
-    try scicos_simulate(scs_m, Info); catch disp(lasterror()); end
-    cvval = res.values;
-    // Compare results
-    compa = abs(rkval-cvval);
-    // Extract mean, standard deviation, maximum
-    mea = mean(compa);
-    [maxi, indexMaxi] = max(compa);
-    stdeviation = stdev(compa);
-    // Verifying closeness of the results
-    assert_checktrue(maxi <= 5*10^-i);
-    assert_checktrue(mea <= 10^-i);
-    assert_checktrue(stdeviation <= 10^-i);
-end
index 08bac9e..4361c6c 100644 (file)
@@ -6,6 +6,7 @@
 // =============================================================================
 //
 // <-- XCOS TEST -->
+// <-- NO CHECK REF -->
 //
 // Testing the Crank-Nicolson method.
 
diff --git a/scilab/modules/scicos/tests/unit_tests/Solvers/ODE/CVode_Cont-Disc.dia.ref b/scilab/modules/scicos/tests/unit_tests/Solvers/ODE/CVode_Cont-Disc.dia.ref
deleted file mode 100644 (file)
index 9a1bfb5..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-// =============================================================================
-// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
-// Copyright (C) 2013 - Scilab Enterprises - Paul Bignier
-//
-//  This file is distributed under the same license as the Scilab package.
-// =============================================================================
-//
-// <-- ENGLISH IMPOSED -->
-//
-// <-- XCOS TEST -->
-//
-assert_checktrue(importXcosDiagram("SCI/modules/xcos/tests/unit_tests/Solvers/ODE/Cont-Disc.zcos"));
-CVode_val_ref = [
-    0.0526307    0.0281557  -0.0448704
-    0.0532495    0.0310114  -0.0395186
-    0.0515776    0.0292653  -0.0411181
-    0.0541249    0.0359859  -0.0302313
-    0.0557393    0.0408484  -0.0222704
-    0.0553117    0.0416374  -0.0205659
-    0.0532631    0.0391278  -0.0237235
-    0.0527059    0.0395825  -0.0224774
-    0.0484859    0.0326594  -0.0322248
-    0.0478463    0.0328263  -0.0311995
-    0.0480311    0.0346173  -0.0277562
-    0.0482951    0.0365765  -0.0241936
-    0.0499827    0.0413830  -0.0164582
-    0.0482402    0.0393498  -0.0191464
-    0.0449862    0.0341952  -0.0262754
-    0.0456246    0.0367935  -0.0217585
-    0.0442013    0.0352645  -0.0235108
-    0.0418061    0.0317424  -0.0281739
-    0.0423243    0.0340336  -0.0241589
-    0.0416363    0.0338569  -0.0237435 ];
-CVode_time_ref = (17.2:.1:29.9)';
-for i=1:4
-    scs_m.props.tol(6) = i; // Solver
-    try scicos_simulate(scs_m); catch disp(lasterror()); end; // CVode
-    assert_checkalmostequal(res.values($-19:$, :), CVode_val_ref, 1d-4);
-    assert_checkalmostequal(res.time, CVode_time_ref);
-end
index 92ac610..beb5801 100644 (file)
@@ -6,6 +6,7 @@
 // =============================================================================
 //
 // <-- ENGLISH IMPOSED -->
+// <-- NO CHECK REF -->
 //
 // <-- XCOS TEST -->
 //
 assert_checktrue(importXcosDiagram("SCI/modules/xcos/tests/unit_tests/Solvers/ODE/Cont-Disc.zcos"));
 
 CVode_val_ref = [
-    0.0526307    0.0281557  -0.0448704
-    0.0532495    0.0310114  -0.0395186
-    0.0515776    0.0292653  -0.0411181
-    0.0541249    0.0359859  -0.0302313
-    0.0557393    0.0408484  -0.0222704
-    0.0553117    0.0416374  -0.0205659
-    0.0532631    0.0391278  -0.0237235
-    0.0527059    0.0395825  -0.0224774
-    0.0484859    0.0326594  -0.0322248
-    0.0478463    0.0328263  -0.0311995
-    0.0480311    0.0346173  -0.0277562
-    0.0482951    0.0365765  -0.0241936
-    0.0499827    0.0413830  -0.0164582
-    0.0482402    0.0393498  -0.0191464
-    0.0449862    0.0341952  -0.0262754
-    0.0456246    0.0367935  -0.0217585
-    0.0442013    0.0352645  -0.0235108
-    0.0418061    0.0317424  -0.0281739
-    0.0423243    0.0340336  -0.0241589
-    0.0416363    0.0338569  -0.0237435 ];
+0.0526307    0.0281557  -0.0448704
+0.0532495    0.0310114  -0.0395186
+0.0515776    0.0292653  -0.0411181
+0.0541249    0.0359859  -0.0302313
+0.0557393    0.0408484  -0.0222704
+0.0553117    0.0416374  -0.0205659
+0.0532631    0.0391278  -0.0237235
+0.0527059    0.0395825  -0.0224774
+0.0484859    0.0326594  -0.0322248
+0.0478463    0.0328263  -0.0311995
+0.0480311    0.0346173  -0.0277562
+0.0482951    0.0365765  -0.0241936
+0.0499827    0.0413830  -0.0164582
+0.0482402    0.0393498  -0.0191464
+0.0449862    0.0341952  -0.0262754
+0.0456246    0.0367935  -0.0217585
+0.0442013    0.0352645  -0.0235108
+0.0418061    0.0317424  -0.0281739
+0.0423243    0.0340336  -0.0241589
+0.0416363    0.0338569  -0.0237435 ];
 CVode_time_ref = (17.2:.1:29.9)';
 
 for i=1:4
diff --git a/scilab/modules/scicos/tests/unit_tests/Solvers/ODE/CVode_Controller.dia.ref b/scilab/modules/scicos/tests/unit_tests/Solvers/ODE/CVode_Controller.dia.ref
deleted file mode 100644 (file)
index 9bb1948..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-// =============================================================================
-// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
-// Copyright (C) 2013 - Scilab Enterprises - Paul Bignier
-//
-//  This file is distributed under the same license as the Scilab package.
-// =============================================================================
-//
-// <-- ENGLISH IMPOSED -->
-//
-// <-- XCOS TEST -->
-//
-assert_checktrue(importXcosDiagram("SCI/modules/xcos/tests/unit_tests/Solvers/ODE/Controller.zcos"));
-CVode_val_ref = [
-  -0.3044468   -0.0529063   -0.1556339
-  -0.3152667   -0.0434950   -0.1412728
-  -0.3178104   -0.0331244   -0.1275205
-  -0.3071042   -0.0127201   -0.0885981
-  -0.3140531   -0.0293549   -0.1124763
-  -0.3227156   -0.0419506   -0.1226843
-  -0.3353218   -0.0411101   -0.1285499
-  -0.3202700   -0.0083677   -0.0802106
-  -0.2992298    0.0202297   -0.0450890
-  -0.2463811    0.0683297    0.0322714
-  -0.1970797    0.0886041    0.0663326
-  -0.1349323    0.1199161    0.1213726
-  -0.0965228    0.1049137    0.0971713
-  -0.0428198    0.1142629    0.1258705
-   0.0334498    0.1465127    0.1855820
-   0.0940592    0.1375793    0.1859050
-   0.1280733    0.1031344    0.1476760
-   0.1468555    0.0715547    0.1117624
-   0.1678585    0.0609110    0.1017769
-   0.1779129    0.0480921    0.0894899 ];
-CVode_time_ref = (0:.1:29.9)';
-for i=1:4
-    scs_m.props.tol(6) = i; // Solver
-    try scicos_simulate(scs_m); catch disp(lasterror()); end; // CVode
-    assert_checkalmostequal(res.values($-19:$, :), CVode_val_ref, [], 1d-4);
-    assert_checkalmostequal(res.time, CVode_time_ref);
-end
index 052ee5a..e6b38fb 100644 (file)
@@ -6,6 +6,7 @@
 // =============================================================================
 //
 // <-- ENGLISH IMPOSED -->
+// <-- NO CHECK REF -->
 //
 // <-- XCOS TEST -->
 //
 assert_checktrue(importXcosDiagram("SCI/modules/xcos/tests/unit_tests/Solvers/ODE/Controller.zcos"));
 
 CVode_val_ref = [
-  -0.3044468   -0.0529063   -0.1556339
-  -0.3152667   -0.0434950   -0.1412728
-  -0.3178104   -0.0331244   -0.1275205
-  -0.3071042   -0.0127201   -0.0885981
-  -0.3140531   -0.0293549   -0.1124763
-  -0.3227156   -0.0419506   -0.1226843
-  -0.3353218   -0.0411101   -0.1285499
-  -0.3202700   -0.0083677   -0.0802106
-  -0.2992298    0.0202297   -0.0450890
-  -0.2463811    0.0683297    0.0322714
-  -0.1970797    0.0886041    0.0663326
-  -0.1349323    0.1199161    0.1213726
-  -0.0965228    0.1049137    0.0971713
-  -0.0428198    0.1142629    0.1258705
-   0.0334498    0.1465127    0.1855820
-   0.0940592    0.1375793    0.1859050
-   0.1280733    0.1031344    0.1476760
-   0.1468555    0.0715547    0.1117624
-   0.1678585    0.0609110    0.1017769
-   0.1779129    0.0480921    0.0894899 ];
+-0.3044468   -0.0529063   -0.1556339
+-0.3152667   -0.0434950   -0.1412728
+-0.3178104   -0.0331244   -0.1275205
+-0.3071042   -0.0127201   -0.0885981
+-0.3140531   -0.0293549   -0.1124763
+-0.3227156   -0.0419506   -0.1226843
+-0.3353218   -0.0411101   -0.1285499
+-0.3202700   -0.0083677   -0.0802106
+-0.2992298    0.0202297   -0.0450890
+-0.2463811    0.0683297    0.0322714
+-0.1970797    0.0886041    0.0663326
+-0.1349323    0.1199161    0.1213726
+-0.0965228    0.1049137    0.0971713
+-0.0428198    0.1142629    0.1258705
+0.0334498    0.1465127    0.1855820
+0.0940592    0.1375793    0.1859050
+0.1280733    0.1031344    0.1476760
+0.1468555    0.0715547    0.1117624
+0.1678585    0.0609110    0.1017769
+0.1779129    0.0480921    0.0894899 ];
 CVode_time_ref = (0:.1:29.9)';
 
 for i=1:4
diff --git a/scilab/modules/scicos/tests/unit_tests/Solvers/ODE/CVode_IPendulum.dia.ref b/scilab/modules/scicos/tests/unit_tests/Solvers/ODE/CVode_IPendulum.dia.ref
deleted file mode 100644 (file)
index e33b2bd..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-// =============================================================================
-// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
-// Copyright (C) 2014 - Scilab Enterprises - Paul Bignier
-//
-//  This file is distributed under the same license as the Scilab package.
-// =============================================================================
-//
-// <-- XCOS TEST -->
-//
-assert_checktrue(importXcosDiagram("SCI/modules/xcos/tests/unit_tests/Solvers/ODE/IPendulum.zcos"));
-// Importing a function used by the diagram
-exec("SCI/modules/xcos/demos/setw.sci", -1);
-CVode_val_ref = [
--0.0227915    0.0307594  -0.9543050    0.0201381  -1.0730676  -1.
--0.0197164    0.0312202  -0.9533119   -0.0000256  -1.0777036  -1.
--0.0165213    0.0325962  -0.9542269   -0.0177130  -1.0823414  -1.
--0.0132332    0.0329347  -0.9567362   -0.0318341  -1.0868049  -1.
--0.0099822    0.0318753  -0.9604665   -0.0421799  -1.0909528  -1.
--0.0068999    0.0295920  -0.9650512   -0.0489345  -1.0946824  -1.
--0.0040504    0.0269587  -0.9702015   -0.0533494  -1.0979233  -1.
--0.0015593    0.0227394  -0.9756016   -0.0541501  -1.1006336  -1.
-0.0004864    0.0181779  -0.9809467   -0.0523918  -1.1028044  -1.
-0.0020816    0.0137832  -0.9860190   -0.0488045  -1.1044527  -1.
-0.0032551    0.0097721  -0.9906651   -0.0439566  -1.1056138  -1.
-0.0045380    0.0135493  -0.9950621   -0.0426360  -1.1063262  -1.
-0.0057121    0.0093744  -0.9990293   -0.0362660  -1.1066162  -1.
-0.0063728    0.0038864  -1.0022687   -0.0284691  -1.1065444  -1.
-0.0065159   -0.0008130  -1.0047241   -0.0207391  -1.1061879  -1.
-0.0062518   -0.0042459  -1.0064382   -0.0137017  -1.1056237  -1.
-0.0051706   -0.014412   -1.007129    -0.0018149  -1.1049356  -1.
-0.0037090   -0.0139594  -1.0070254    0.0031673  -1.1042238  -1.
-0.0024626   -0.0108371  -1.0065914    0.0051986  -1.1035413  -1.
-0.0015416   -0.0076733  -1.0060276    0.0059356  -1.1029098  -1. ];
-CVode_time_ref = (0:.1:29.9)';
-for i=1:4
-    scs_m.props.tol(6) = i; // Solver
-    try scicos_simulate(scs_m); catch disp(lasterror()); end; // CVode
-    assert_checkalmostequal(res.values($-19:$, :), CVode_val_ref, [], 1d-4);
-    assert_checkalmostequal(res.time, CVode_time_ref);
-end
index 36d2d41..b591697 100644 (file)
@@ -6,6 +6,7 @@
 // =============================================================================
 //
 // <-- XCOS TEST -->
+// <-- NO CHECK REF -->
 //
 
 assert_checktrue(importXcosDiagram("SCI/modules/xcos/tests/unit_tests/Solvers/ODE/IPendulum.zcos"));
diff --git a/scilab/modules/scicos/tests/unit_tests/Solvers/ODE/CVode_Kalman.dia.ref b/scilab/modules/scicos/tests/unit_tests/Solvers/ODE/CVode_Kalman.dia.ref
deleted file mode 100644 (file)
index 84cfdb6..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-// =============================================================================
-// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
-// Copyright (C) 2013 - Scilab Enterprises - Paul Bignier
-//
-//  This file is distributed under the same license as the Scilab package.
-// =============================================================================
-//
-// <-- ENGLISH IMPOSED -->
-//
-// <-- XCOS TEST -->
-//
-assert_checktrue(importXcosDiagram("SCI/modules/xcos/tests/unit_tests/Solvers/ODE/Kalman.zcos"));
-CVode_val_ref = [ -0.0124518   0.0057263   0.0202561
-                  -0.0056589   0.0003643   0.0040543
-                   0.0139675   0.0010424  -0.0068178
-                   0.0342362   0.0025550  -0.0150659
-                   0.0349585   0.0022871  -0.0139099
-                   0.0457677   0.0095449  -0.0057510
-                   0.0438374   0.0179447   0.0110369
-                   0.0399226   0.0159906   0.0084871
-                   0.0466923   0.0087662  -0.0088076
-                   0.0431542   0.0060647  -0.0101178
-                   0.0586618   0.0186971   0.0051877
-                   0.0629366   0.0288542   0.0211484
-                   0.0579398   0.0109636  -0.0105544
-                   0.0624743   0.0102438  -0.0139593
-                   0.0654326   0.0065228  -0.0207958
-                   0.0531896  -0.0026032  -0.0283963
-                   0.0353228  -0.0132950  -0.0343691
-                   0.0381893  -0.0053057  -0.0183788
-                   0.0563168   0.0083184  -0.0028685
-                   0.0363338   0.0053192   0.0038699 ];
-CVode_time_ref = (0:.03:14.97)';
-for i=1:4
-    scs_m.props.tol(6) = i; // Solver
-    try scicos_simulate(scs_m); catch disp(lasterror()); end; // CVode
-    assert_checkalmostequal(res.values($-19:$, :), CVode_val_ref, [], 1d-7);
-    assert_checkalmostequal(res.time, CVode_time_ref);
-end
index bd98427..a9a8295 100644 (file)
@@ -6,6 +6,7 @@
 // =============================================================================
 //
 // <-- ENGLISH IMPOSED -->
+// <-- NO CHECK REF -->
 //
 // <-- XCOS TEST -->
 //
 assert_checktrue(importXcosDiagram("SCI/modules/xcos/tests/unit_tests/Solvers/ODE/Kalman.zcos"));
 
 CVode_val_ref = [ -0.0124518   0.0057263   0.0202561
-                  -0.0056589   0.0003643   0.0040543
-                   0.0139675   0.0010424  -0.0068178
-                   0.0342362   0.0025550  -0.0150659
-                   0.0349585   0.0022871  -0.0139099
-                   0.0457677   0.0095449  -0.0057510
-                   0.0438374   0.0179447   0.0110369
-                   0.0399226   0.0159906   0.0084871
-                   0.0466923   0.0087662  -0.0088076
-                   0.0431542   0.0060647  -0.0101178
-                   0.0586618   0.0186971   0.0051877
-                   0.0629366   0.0288542   0.0211484
-                   0.0579398   0.0109636  -0.0105544
-                   0.0624743   0.0102438  -0.0139593
-                   0.0654326   0.0065228  -0.0207958
-                   0.0531896  -0.0026032  -0.0283963
-                   0.0353228  -0.0132950  -0.0343691
-                   0.0381893  -0.0053057  -0.0183788
-                   0.0563168   0.0083184  -0.0028685
-                   0.0363338   0.0053192   0.0038699 ];
+-0.0056589   0.0003643   0.0040543
+0.0139675   0.0010424  -0.0068178
+0.0342362   0.0025550  -0.0150659
+0.0349585   0.0022871  -0.0139099
+0.0457677   0.0095449  -0.0057510
+0.0438374   0.0179447   0.0110369
+0.0399226   0.0159906   0.0084871
+0.0466923   0.0087662  -0.0088076
+0.0431542   0.0060647  -0.0101178
+0.0586618   0.0186971   0.0051877
+0.0629366   0.0288542   0.0211484
+0.0579398   0.0109636  -0.0105544
+0.0624743   0.0102438  -0.0139593
+0.0654326   0.0065228  -0.0207958
+0.0531896  -0.0026032  -0.0283963
+0.0353228  -0.0132950  -0.0343691
+0.0381893  -0.0053057  -0.0183788
+0.0563168   0.0083184  -0.0028685
+0.0363338   0.0053192   0.0038699 ];
 CVode_time_ref = (0:.03:14.97)';
 
 for i=1:4
diff --git a/scilab/modules/scicos/tests/unit_tests/Solvers/ODE/CVode_Temperature_Controller.dia.ref b/scilab/modules/scicos/tests/unit_tests/Solvers/ODE/CVode_Temperature_Controller.dia.ref
deleted file mode 100644 (file)
index d075819..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-// =============================================================================
-// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
-// Copyright (C) 2013 - Scilab Enterprises - Paul Bignier
-//
-//  This file is distributed under the same license as the Scilab package.
-// =============================================================================
-//
-// <-- ENGLISH IMPOSED -->
-//
-// <-- XCOS TEST -->
-//
-assert_checktrue(importXcosDiagram("SCI/modules/xcos/tests/unit_tests/Solvers/ODE/Temperature_Controller.zcos"));
-CVode_val_ref = [
-  -3.6548088    0.0000044    16.066667    19.721476
-  -3.6499578    0.0000040    16.066667    19.716625
-  -3.6451087    0.0000036    16.066667    19.711776
-  -3.6402617    0.0000033    16.066667    19.706929
-  -3.6354167    0.0000030    16.066667    19.702084
-  -3.6305738    0.0000027    16.066667    19.697241
-  -3.6257328    0.0000025    16.066667    19.6924
-  -3.6208938    0.0000023    16.066667    19.687561
-  -3.6160569    0.0000021    16.066667    19.682724
-  -3.611222     0.0000019    16.066667    19.677889
-  -3.6063891    0.0000017    16.066667    19.673056
-  -3.6015582    0.0000015    16.066667    19.668225
-  -3.5967293    0.0000014    16.066667    19.663396
-  -3.5919024    0.0000013    16.066667    19.658569
-  -3.5870775    0.0000012    16.066667    19.653745
-  -3.5822547    0.0000011    16.066667    19.648922
-  -3.5774338    0.0000010    16.066667    19.644101
-  -3.572615     0.0000009    16.066667    19.639282
-  -3.5677982    0.0000008    16.066667    19.634465
-  -3.5629834    0.0000007    16.066667    19.62965  ];
-CVode_time_ref = (28720.1:10:29990.1)';
-for i=1:4
-    scs_m.props.tol(6) = i; // Solver
-    try scicos_simulate(scs_m); catch disp(lasterror()); end; // CVode
-    assert_checkalmostequal(res.values($-19:$, :), CVode_val_ref, [], 1d-4);
-    assert_checkalmostequal(res.time, CVode_time_ref);
-end
index f15d17d..64d8627 100644 (file)
@@ -6,6 +6,7 @@
 // =============================================================================
 //
 // <-- ENGLISH IMPOSED -->
+// <-- NO CHECK REF -->
 //
 // <-- XCOS TEST -->
 //
 assert_checktrue(importXcosDiagram("SCI/modules/xcos/tests/unit_tests/Solvers/ODE/Temperature_Controller.zcos"));
 
 CVode_val_ref = [
-  -3.6548088    0.0000044    16.066667    19.721476
-  -3.6499578    0.0000040    16.066667    19.716625
-  -3.6451087    0.0000036    16.066667    19.711776
-  -3.6402617    0.0000033    16.066667    19.706929
-  -3.6354167    0.0000030    16.066667    19.702084
-  -3.6305738    0.0000027    16.066667    19.697241
-  -3.6257328    0.0000025    16.066667    19.6924
-  -3.6208938    0.0000023    16.066667    19.687561
-  -3.6160569    0.0000021    16.066667    19.682724
-  -3.611222     0.0000019    16.066667    19.677889
-  -3.6063891    0.0000017    16.066667    19.673056
-  -3.6015582    0.0000015    16.066667    19.668225
-  -3.5967293    0.0000014    16.066667    19.663396
-  -3.5919024    0.0000013    16.066667    19.658569
-  -3.5870775    0.0000012    16.066667    19.653745
-  -3.5822547    0.0000011    16.066667    19.648922
-  -3.5774338    0.0000010    16.066667    19.644101
-  -3.572615     0.0000009    16.066667    19.639282
-  -3.5677982    0.0000008    16.066667    19.634465
-  -3.5629834    0.0000007    16.066667    19.62965  ];
+-3.6548088    0.0000044    16.066667    19.721476
+-3.6499578    0.0000040    16.066667    19.716625
+-3.6451087    0.0000036    16.066667    19.711776
+-3.6402617    0.0000033    16.066667    19.706929
+-3.6354167    0.0000030    16.066667    19.702084
+-3.6305738    0.0000027    16.066667    19.697241
+-3.6257328    0.0000025    16.066667    19.6924
+-3.6208938    0.0000023    16.066667    19.687561
+-3.6160569    0.0000021    16.066667    19.682724
+-3.611222     0.0000019    16.066667    19.677889
+-3.6063891    0.0000017    16.066667    19.673056
+-3.6015582    0.0000015    16.066667    19.668225
+-3.5967293    0.0000014    16.066667    19.663396
+-3.5919024    0.0000013    16.066667    19.658569
+-3.5870775    0.0000012    16.066667    19.653745
+-3.5822547    0.0000011    16.066667    19.648922
+-3.5774338    0.0000010    16.066667    19.644101
+-3.572615     0.0000009    16.066667    19.639282
+-3.5677982    0.0000008    16.066667    19.634465
+-3.5629834    0.0000007    16.066667    19.62965  ];
 CVode_time_ref = (28720.1:10:29990.1)';
 
 for i=1:4
diff --git a/scilab/modules/scicos/tests/unit_tests/Solvers/ODE/CVode_Watertank.dia.ref b/scilab/modules/scicos/tests/unit_tests/Solvers/ODE/CVode_Watertank.dia.ref
deleted file mode 100644 (file)
index 9c2d561..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-// =============================================================================
-// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
-// Copyright (C) 2013 - Scilab Enterprises - Paul Bignier
-//
-//  This file is distributed under the same license as the Scilab package.
-// =============================================================================
-//
-// <-- ENGLISH IMPOSED -->
-//
-// <-- XCOS TEST -->
-//
-assert_checktrue(importXcosDiagram("SCI/modules/xcos/tests/unit_tests/Solvers/ODE/Watertank.zcos"));
-CVode_val_ref = [
-    7.8198758    9.6795397
-    7.8460626    9.6628927
-    7.8715566    9.6488678
-    7.8963773    9.6375731
-    7.9205414    9.6287258
-    7.9440674    9.6219139
-    7.9669711    9.6174424
-    7.9892697    9.6150375
-    8.0109781    9.6146991
-    8.0321113    9.6160474
-    8.052689     9.619105
-    8.0727243    9.6238066
-    8.0922301    9.6298068
-    8.1112209    9.6370943
-    8.1297115    9.6456041
-    8.1477135    9.6551443
-    8.1652409    9.6656234
-    8.1823051    9.6768902
-    8.198919     9.6888469
-    8.2150942    9.7013865 ];
-CVode_time_ref = (0.1:.1:10)';
-for i=1:4
-    scs_m.props.tol(6) = i; // Solver
-    try scicos_simulate(scs_m); catch disp(lasterror()); end; // CVode
-    assert_checkalmostequal(res.values($-19:$, :), CVode_val_ref, 1d-3);
-    assert_checkalmostequal(res.time, CVode_time_ref);
-end
index aa97942..89a1f6e 100644 (file)
@@ -6,6 +6,7 @@
 // =============================================================================
 //
 // <-- ENGLISH IMPOSED -->
+// <-- NO CHECK REF -->
 //
 // <-- XCOS TEST -->
 //
 assert_checktrue(importXcosDiagram("SCI/modules/xcos/tests/unit_tests/Solvers/ODE/Watertank.zcos"));
 
 CVode_val_ref = [
-    7.8198758    9.6795397
-    7.8460626    9.6628927
-    7.8715566    9.6488678
-    7.8963773    9.6375731
-    7.9205414    9.6287258
-    7.9440674    9.6219139
-    7.9669711    9.6174424
-    7.9892697    9.6150375
-    8.0109781    9.6146991
-    8.0321113    9.6160474
-    8.052689     9.619105
-    8.0727243    9.6238066
-    8.0922301    9.6298068
-    8.1112209    9.6370943
-    8.1297115    9.6456041
-    8.1477135    9.6551443
-    8.1652409    9.6656234
-    8.1823051    9.6768902
-    8.198919     9.6888469
-    8.2150942    9.7013865 ];
+7.8198758    9.6795397
+7.8460626    9.6628927
+7.8715566    9.6488678
+7.8963773    9.6375731
+7.9205414    9.6287258
+7.9440674    9.6219139
+7.9669711    9.6174424
+7.9892697    9.6150375
+8.0109781    9.6146991
+8.0321113    9.6160474
+8.052689     9.619105
+8.0727243    9.6238066
+8.0922301    9.6298068
+8.1112209    9.6370943
+8.1297115    9.6456041
+8.1477135    9.6551443
+8.1652409    9.6656234
+8.1823051    9.6768902
+8.198919     9.6888469
+8.2150942    9.7013865 ];
 CVode_time_ref = (0.1:.1:10)';
 
 for i=1:4
diff --git a/scilab/modules/scicos/tests/unit_tests/Solvers/ODE/DAE_ODE.dia.ref b/scilab/modules/scicos/tests/unit_tests/Solvers/ODE/DAE_ODE.dia.ref
deleted file mode 100644 (file)
index 1ef3d29..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-// =============================================================================
-// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
-// Copyright (C) 2013 - Scilab Enterprises - Paul Bignier
-//
-//  This file is distributed under the same license as the Scilab package.
-// =============================================================================
-//
-// <-- ENGLISH IMPOSED -->
-//
-// <-- XCOS TEST -->
-//
-// Import diagram
-assert_checktrue(importXcosDiagram("SCI/modules/xcos/tests/unit_tests/Solvers/ODE/Kalman.zcos"));
-// Modify solver + run IDA
-scs_m.props.tol(6) = 100;       // Solver
-ier = execstr("xcos_simulate(scs_m, 4);", "errcatch"); // Run simulation (LSodar will actually take over)
-!messagebox: Diagram has been compiled for explicit solver  !
-!                                                           !
-!messagebox: switching to explicit Solver                   !
-assert_checkequal(ier, 0);
-ier = execstr("scicos_simulate(scs_m);", "errcatch");
-assert_checkequal(ier, 0);
-// Modify solver + run DDaskr Newton
-scs_m.props.tol(6) = 101;       // Solver
-ier = execstr("xcos_simulate(scs_m, 4);", "errcatch"); // Run simulation (LSodar will actually take over)
-!messagebox: Diagram has been compiled for explicit solver  !
-!                                                           !
-!messagebox: switching to explicit Solver                   !
-assert_checkequal(ier, 0);
-ier = execstr("scicos_simulate(scs_m);", "errcatch");
-assert_checkequal(ier, 0);
-// Modify solver + run DDaskr GMRes
-scs_m.props.tol(6) = 102;       // Solver
-ier = execstr("xcos_simulate(scs_m, 4);", "errcatch"); // Run simulation (LSodar will actually take over)
-!messagebox: Diagram has been compiled for explicit solver  !
-!                                                           !
-!messagebox: switching to explicit Solver                   !
-assert_checkequal(ier, 0);
-ier = execstr("scicos_simulate(scs_m);", "errcatch");
-assert_checkequal(ier, 0);
index 7b1fb36..1802ed2 100644 (file)
@@ -6,6 +6,7 @@
 // =============================================================================
 //
 // <-- ENGLISH IMPOSED -->
+// <-- NO CHECK REF -->
 //
 // <-- XCOS TEST -->
 //
diff --git a/scilab/modules/scicos/tests/unit_tests/Solvers/ODE/DoPri.dia.ref b/scilab/modules/scicos/tests/unit_tests/Solvers/ODE/DoPri.dia.ref
deleted file mode 100644 (file)
index 3fbfed2..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-// =============================================================================
-// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
-// Copyright (C) 2012 - Scilab Enterprises - Paul Bignier
-//
-//  This file is distributed under the same license as the Scilab package.
-// =============================================================================
-//
-// <-- ENGLISH IMPOSED -->
-//
-// <-- XCOS TEST -->
-//
-// Import diagram
-assert_checktrue(importXcosDiagram("SCI/modules/xcos/tests/unit_tests/Solvers/ODE/Kalman.zcos"));
-Info = scicos_simulate(scs_m, list());
-for i=2:4  // 'max step size' = 5*10^-i, precision
-    // Start by updating the clock block period (sampling)
-    scs_m.objs(9).model.rpar(1) = 5*10^-i;
-    scs_m.objs(10).model.rpar(1) = 5*10^-i;
-    // Modify solver and 'max step size' + run DoPri + save results
-    scs_m.props.tol(7) = 5*10^-i; scs_m.props.tol(6) = 5;           // 'max step size' + solver
-    try scicos_simulate(scs_m, Info); catch disp(lasterror()); end;   // DoPri
-    doprival = res.values;   // Results
-    // Modify solver and 'max step size' + run CVode + save results
-    scs_m.props.tol(7) = 0; scs_m.props.tol(6) = 1;
-    try scicos_simulate(scs_m, Info); catch disp(lasterror()); end;
-    cvval = res.values;
-    // Compare results
-    compa = abs(doprival-cvval);
-    // Extract mean, standard deviation, maximum
-    mea = mean(compa);
-    [maxi, indexMaxi] = max(compa);
-    stdeviation = stdev(compa);
-    // Verifying closeness of the results
-    assert_checktrue(maxi <= 10^-(i+2));
-    assert_checktrue(mea <= 10^-(i+2));
-    assert_checktrue(stdeviation <= 10^-(i+2));
-end
index fb91fb8..f165e18 100644 (file)
@@ -6,6 +6,7 @@
 // =============================================================================
 //
 // <-- ENGLISH IMPOSED -->
+// <-- NO CHECK REF -->
 //
 // <-- XCOS TEST -->
 //
diff --git a/scilab/modules/scicos/tests/unit_tests/Solvers/ODE/ExpRK.dia.ref b/scilab/modules/scicos/tests/unit_tests/Solvers/ODE/ExpRK.dia.ref
deleted file mode 100644 (file)
index 5874cf6..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-// =============================================================================
-// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
-// Copyright (C) 2012 - Scilab Enterprises - Paul Bignier
-//
-//  This file is distributed under the same license as the Scilab package.
-// =============================================================================
-//
-// <-- ENGLISH IMPOSED -->
-//
-// <-- XCOS TEST -->
-//
-// Import diagram
-assert_checktrue(importXcosDiagram("SCI/modules/xcos/tests/unit_tests/Solvers/ODE/Kalman.zcos"));
-Info = scicos_simulate(scs_m, list());
-for i=2:4  // 'max step size' = 5*10^-i, precision
-    // Start by updating the clock block period (sampling)
-    scs_m.objs(9).model.rpar(1) = 5*10^-i;
-    scs_m.objs(10).model.rpar(1) = 5*10^-i;
-    // Modify solver and 'max step size' + run ExpRK + save results
-    scs_m.props.tol(7) = 5*10^-i; scs_m.props.tol(6) = 6;     // 'max step size' + solver
-    try scicos_simulate(scs_m, Info); catch disp(lasterror()); end;   // ExpRK
-    rkval = res.values;   // Results
-    // Modify solver and 'max step size' + run CVode + save results
-    scs_m.props.tol(7) = 0; scs_m.props.tol(6) = 1;
-    try scicos_simulate(scs_m, Info); catch disp(lasterror()); end;
-    cvval = res.values;
-    // Compare results
-    compa = abs(rkval-cvval);
-    // Extract mean, standard deviation, maximum
-    mea = mean(compa);
-    [maxi, indexMaxi] = max(compa);
-    stdeviation = stdev(compa);
-    // Verifying closeness of the results
-    assert_checktrue(maxi <= 10^-(i+1));
-    assert_checktrue(mea <= 10^-(i+1));
-    assert_checktrue(stdeviation <= 10^-(i+2));
-end
index ec6f967..32a593a 100644 (file)
@@ -6,6 +6,7 @@
 // =============================================================================
 //
 // <-- ENGLISH IMPOSED -->
+// <-- NO CHECK REF -->
 //
 // <-- XCOS TEST -->
 //
diff --git a/scilab/modules/scicos/tests/unit_tests/Solvers/ODE/ImpRK.dia.ref b/scilab/modules/scicos/tests/unit_tests/Solvers/ODE/ImpRK.dia.ref
deleted file mode 100644 (file)
index 3a4fd55..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-// =============================================================================
-// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
-// Copyright (C) 2012 - Scilab Enterprises - Paul Bignier
-//
-//  This file is distributed under the same license as the Scilab package.
-// =============================================================================
-//
-// <-- ENGLISH IMPOSED -->
-//
-// <-- XCOS TEST -->
-//
-// Import diagram
-assert_checktrue(importXcosDiagram("SCI/modules/xcos/tests/unit_tests/Solvers/ODE/Kalman.zcos"));
-Info = scicos_simulate(scs_m, list());
-for i=2:4  // 'max step size' = 10^-i, precision
-    // Start by updating the clock block period (sampling)
-    scs_m.objs(9).model.rpar(1) = 5*10^-i;
-    scs_m.objs(10).model.rpar(1) = 5*10^-i;
-    // Modify solver and 'max step size' + run ImpRK + save results
-    scs_m.props.tol(7) = 5*10^-i; scs_m.props.tol(6) = 7;        // 'max step size' + solver
-    scs_m.props.tol(2) = 1d-12;                                   // reltol
-    try scicos_simulate(scs_m, Info); catch disp(lasterror()); end  // ImpRK
-    rkval = res.values;   // Results
-    // Modify solver and reltol + run CVode + save results
-    scs_m.props.tol(6) = 4; scs_m.props.tol(2) = 1d-15;
-    try scicos_simulate(scs_m, Info); catch disp(lasterror()); end
-    cvval = res.values;
-    // Compare results
-    compa = abs(rkval-cvval);
-    // Extract mean, standard deviation, maximum
-    mea = mean(compa);
-    [maxi, indexMaxi] = max(compa);
-    stdeviation = stdev(compa);
-    // Verifying closeness of the results
-    assert_checktrue(maxi <= 10^-i);
-    assert_checktrue(mea <= 10^-i);
-    assert_checktrue(stdeviation <= 10^-i);
-end
index 93ed683..a07caf9 100644 (file)
@@ -6,6 +6,7 @@
 // =============================================================================
 //
 // <-- ENGLISH IMPOSED -->
+// <-- NO CHECK REF -->
 //
 // <-- XCOS TEST -->
 //
diff --git a/scilab/modules/scicos/tests/unit_tests/Solvers/ODE/LSodar.dia.ref b/scilab/modules/scicos/tests/unit_tests/Solvers/ODE/LSodar.dia.ref
deleted file mode 100644 (file)
index d000e6b..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-// =============================================================================
-// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
-// Copyright (C) 2012 - Scilab Enterprises - Paul Bignier
-//
-//  This file is distributed under the same license as the Scilab package.
-// =============================================================================
-//
-// <-- ENGLISH IMPOSED -->
-//
-// <-- XCOS TEST -->
-//
-// Import diagram
-assert_checktrue(importXcosDiagram("SCI/modules/xcos/tests/unit_tests/Solvers/ODE/Kalman.zcos"));
-// Set solver to LSodar + run LSodar + save results
-scs_m.props.tol(6) = 0;                                    // Set solver to LSodar
-try scicos_simulate(scs_m); catch disp(lasterror()); end; // Run LSodar
-lsodarval = res.values;  // Results
-// Set solver to CVode BDF/Newton + run + save results
-scs_m.props.tol(6) = 1;
-try scicos_simulate(scs_m); catch disp(lasterror()); end;
-cvval = res.values;
-// Compare results
-compa = abs(lsodarval-cvval);
-// Extract mean, standard deviation, maximum
-mea = mean(compa);
-[maxi, indexMaxi] = max(compa);
-stdeviation = stdev(compa);
-// Verifying closeness of the results
-assert_checktrue(maxi <= 1d-8);
-assert_checktrue(mea <= 1d-8);
-assert_checktrue(stdeviation <= 1d-8);
-// Import diagram
-assert_checktrue(importXcosDiagram("SCI/modules/xcos/tests/unit_tests/Solvers/ODE/Controller.zcos"));
-// Set solver to LSodar + run LSodar + save results
-scs_m.props.tol(6) = 0;                                    // Set solver to LSodar
-try scicos_simulate(scs_m); catch disp(lasterror()); end; // Run LSodar
-lsodarval = res.values;  // Results
-// Set solver to CVode BDF/Newton + run + save results
-scs_m.props.tol(6) = 1;
-try scicos_simulate(scs_m); catch disp(lasterror()); end;
-cvval = res.values;
-// Compare results
-compa = abs(lsodarval-cvval);
-// Extract mean, standard deviation, maximum
-mea = mean(compa);
-[maxi, indexMaxi] = max(compa);
-stdeviation = stdev(compa);
-// Verifying closeness of the results
-assert_checktrue(maxi <= 10^-4);
-assert_checktrue(mea <= 10^-4);
-assert_checktrue(stdeviation <= 10^-4);
index d91da00..b1b8163 100644 (file)
@@ -6,6 +6,7 @@
 // =============================================================================
 //
 // <-- ENGLISH IMPOSED -->
+// <-- NO CHECK REF -->
 //
 // <-- XCOS TEST -->
 //