Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#3501 closed defect (fixed)

Wrong sparsity information reported by -lv LOG_SOLVER

Reported by: Francesco Casella Owned by: Lennart Ochel
Priority: normal Milestone: 1.9.4
Component: Run-time Version:
Keywords: Cc: Lennart Ochel, Willi Braun

Description

If I simulate the following simple model with -lv LOG_SOLVER

model foo
  Real x1,x2;
equation
  der(x1) = x2;
  der(x2) = x1;
end foo;

I get

LOG_SOLVER        | info    | sparse structure of jacobian A [size: 2x2]
|                 | |       | | 2 nonzero elements
|                 | |       | | transposed sparse structure (rows: states)
|                 | |       | | |   * 
|                 | |       | | | * * 

The number of nonzero elements is correct, but there is one star too many in the sparse structure table.

Change History (5)

comment:1 by Lennart Ochel, 9 years ago

Owner: changed from somebody to Lennart Ochel
Status: newaccepted

comment:2 by Lennart Ochel, 9 years ago

This is just a bug in the dump itself, which means that the generated sparsity structure is correct. A fix is on the way.

comment:3 by Lennart Ochel, 9 years ago

Resolution: fixed
Status: acceptedclosed

Fixed in 74bab6.

comment:4 by Martin Sjölund, 9 years ago

Milestone: 1.9.41.9.4-1.9.x

Milestone renamed

comment:5 by Martin Sjölund, 9 years ago

Milestone: 1.9.4-1.9.x1.9.4

Milestone renamed

Note: See TracTickets for help on using tickets.