Opened 10 years ago

Closed 5 years ago

#2773 closed defect (fixed)

Linear tearing slower than not using it

Reported by: sjoelund.se Owned by: wbraun
Priority: high Milestone: Future
Component: Backend Version: trunk
Keywords: Cc: lochel

Description

In r21558, linear tearing was enabled. This increased the time that Modelica.Electrical.Spice3.Examples.Spice3BenchmarkFourBitBinaryAdder.mos takes to run (from being the slowest test at 4m52s, up to 6m10s).

Change History (11)

comment:1 Changed 9 years ago by sjoelund.se

  • Milestone changed from 1.9.1 to 1.9.2

This ticket was not closed for 1.9.1, which has now been released. It was batch modified for milestone 1.9.2 (but maybe an empty milestone was more appropriate; feel free to change it).

comment:2 Changed 9 years ago by sjoelund.se

  • Milestone changed from 1.9.2 to 1.9.3

Milestone changed to 1.9.3 since 1.9.2 was released.

comment:3 Changed 9 years ago by sjoelund.se

  • Milestone changed from 1.9.3 to 1.9.4

Moved to new milestone 1.9.4

comment:4 Changed 8 years ago by sjoelund.se

  • Milestone changed from 1.9.4 to 1.9.5

Milestone pushed to 1.9.5

comment:5 Changed 8 years ago by sjoelund.se

  • Milestone changed from 1.9.5 to 1.10.0

Milestone renamed

comment:6 Changed 7 years ago by sjoelund.se

  • Milestone changed from 1.10.0 to 1.11.0

Ticket retargeted after milestone closed

comment:7 Changed 7 years ago by sjoelund.se

  • Milestone changed from 1.11.0 to 1.12.0

Milestone moved to 1.12.0 due to 1.11.0 already being released.

comment:8 Changed 6 years ago by casella

  • Milestone changed from 1.12.0 to Future

The milestone of this ticket has been reassigned to "Future".

If you think the issue is still valid and relevant for you, please select milestone 1.13.0 for back-end, code generation and run-time issues, or 2.0.0 for front-end issues.

If you are aware that the problem is no longer present, please select the milestone corresponding to the version of OMC you used to check that, and set the status to "worksforme".

In both cases, a short informative comment would be welcome.

comment:9 Changed 5 years ago by AnHeuermann

I think tearing for linear components is not in the master any more.

I added linear tearing as an optional feature, controlled by flag LSanalyticJacobian which defaults to off in this PR https://github.com/OpenModelica/OpenModelica/pull/271/commits/c2ed046bb04bbf24558c56d9ba7f08d57a6361b6.
I'm trying to check if tearing and using sparsity pattern for linear loops affects the performance for parallel jacobian evaluation.

Last edited 5 years ago by AnHeuermann (previous) (diff)

comment:10 Changed 5 years ago by AnHeuermann

Added Commit 6604e0d34 to master.

I think we can close this ticket now.

comment:11 Changed 5 years ago by AnHeuermann

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.