Opened 10 years ago

Closed 10 years ago

#2518 closed defect (fixed)

Mac OMEdit simulation fails

Reported by: Adam Dershowitz <dersh@…> Owned by: sjoelund.se
Priority: high Milestone: 1.9.1
Component: OMEdit Version: trunk
Keywords: Cc: perost

Description

I just upgraded to 18496 (from 18481). The corresponding library change was from 20131212-200251_0 to 20131216-120934_0.

Now, if I try to run any simulation, it compiles, but ultimately I get an error:

/private/var/folders/s4/0j3cshj161126ygbpbzsdkmd4h24dl/T/OpenModelica/OMEdit/Pendulum -port=54968 -w -lv=LOG_STATS

Limited backtrace at point of segmentation fault
Process crashed
Simulation process exited with code 0


I have tried several examples, and they all give the same results. I also ran an example with OMShell, and that worked as expected. So it is only an issue of OMEdit running a simulation, and not a backend, omc problem. But, even with simple examples OMEdit doesn't successfully simulate at all.

Change History (8)

comment:1 Changed 10 years ago by adeas31

Have you tried running without logging flags?

comment:2 Changed 10 years ago by sjoelund.se

  • Cc perost added
  • Owner changed from adeas31 to sjoelund.se
  • Status changed from new to assigned

comment:3 Changed 10 years ago by Adam Dershowitz <dersh@…>

I was just using the default logging. I had not changed anything. I just disabled time/Events/Solver Statistics (which was the only thing set) and I get the same results:

/private/var/folders/s4/0j3cshj161126ygbpbzsdkmd4h24dl/T/OpenModelica/OMEdit/Pendulum -port=55142 -w

Limited backtrace at point of segmentation fault
Process crashed
Simulation process exited with code 0

Just to confirm, I did also try to deactivate 18496 and reactivate 18481, and that does still work as expected (I didn't do anything to the libraries).

comment:4 Changed 10 years ago by Adam Dershowitz <dersh@…>

Sorry to hear it. But, I am glad that you were able to find it so quickly!
I see that link to a failed test case. But which change did it?

comment:5 Changed 10 years ago by sjoelund.se

#2513 broke it :)

comment:6 Changed 10 years ago by sjoelund.se

r18497 might have fixed this. I'm going to bed, so scream if it does not ;)

comment:7 Changed 10 years ago by Adam Dershowitz <dersh@…>

It is now working. No screaming necessary.
Thank you.

comment:8 Changed 10 years ago by sjoelund.se

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