Xcos: fix memleak on MVC objects after 238f0650
[scilab.git] / scilab / modules / xcos / tests / nonreg_tests / bug_11975.unix.dia.ref
index 3502e4c..8456341 100644 (file)
@@ -31,12 +31,6 @@ assert_checktrue(ok);
 assert_checktrue(importXcosDiagram("SCI/modules/xcos/demos/IF_block.zcos"));
 [cpr, ok] = xcos_compile(scs_m);
 assert_checktrue(ok);
-// Redefining messagebox() to avoid popup
-prot = funcprot();
-funcprot(0);
-function messagebox(msg, msg_title)
-endfunction
-funcprot(prot);
 // Hydraulics
 assert_checktrue(importXcosDiagram("SCI/modules/xcos/demos/ModelicaBlocks/Hydraulics.zcos"));
 [cpr, ok] = xcos_compile(scs_m);
@@ -44,5 +38,32 @@ assert_checktrue(importXcosDiagram("SCI/modules/xcos/demos/ModelicaBlocks/Hydrau
  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: 2                                     !
+!                                                                     !
+!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:                                                          !
 WARNING: Diagram contains implicit blocks, compiling for implicit Solver.
 assert_checktrue(ok);