/[ascend]/trunk/ascend/solver
ViewVC logotype

Log of /trunk/ascend/solver

View Directory Listing Directory Listing


Sticky Revision:

Revision 2695 - Directory Listing
Modified Wed Mar 6 23:37:54 2013 UTC (7 years, 6 months ago) by jpye
Add support for 'scons CC=clang' with FPROPS.
Remove unused #defines in ASCEND CUnit test suits

Revision 2693 - Directory Listing
Modified Tue Mar 5 05:23:34 2013 UTC (7 years, 6 months ago) by jpye
Modified test case for bug 564 slightly, now able to access the error via valgrind as well. Valgrind output gives:

solvers/qrslv/qrslv.c:3373 (structural_analysis): In QRSlv, got vused = 219...
==28310== Invalid read of size 8
==28310==    at 0x4EFCF76: CalcResidGivenValue (relation_util.c:4037)
==28310==    by 0x4EFD90C: zbrent (rootfind.c:84)
==28310==    by 0x4EFD235: RootFind (relation_util.c:4120)
==28310==    by 0x4EFAB80: RelationFindRoots (relation_util.c:3210)
==28310==    by 0x4F4C59E: relman_directly_solve_new (relman.c:1039)
==28310==    by 0x4F509D7: slv_direct_solve (slv_common.c:208)
==28310==    by 0x70324C6: qrslv_iterate (qrslv.c:3842)
==28310==    by 0x70336E5: qrslv_solve (qrslv.c:4175)
==28310==    by 0x4F60CB1: slv_solve (solver.c:364)
==28310==    by 0x42F607: test_bug564 (test_qrslv.c:244)
==28310==    by 0x61587A3: run_single_test (TestRun.c:1129)
==28310==    by 0x6156161: CU_run_selected_tests (TestRun.c:473)
==28310==  Address 0x100793d338 is not stack'd, malloc'd or (recently) free'd
==28310== 
==28310== 
==28310== Process terminating with default action of signal 11 (SIGSEGV)
==28310==  Access not within mapped region at address 0x100793D338
==28310==    at 0x4EFCF76: CalcResidGivenValue (relation_util.c:4037)
==28310==    by 0x4EFD90C: zbrent (rootfind.c:84)
==28310==    by 0x4EFD235: RootFind (relation_util.c:4120)
==28310==    by 0x4EFAB80: RelationFindRoots (relation_util.c:3210)
==28310==    by 0x4F4C59E: relman_directly_solve_new (relman.c:1039)
==28310==    by 0x4F509D7: slv_direct_solve (slv_common.c:208)
==28310==    by 0x70324C6: qrslv_iterate (qrslv.c:3842)
==28310==    by 0x70336E5: qrslv_solve (qrslv.c:4175)
==28310==    by 0x4F60CB1: slv_solve (solver.c:364)
==28310==    by 0x42F607: test_bug564 (test_qrslv.c:244)
==28310==    by 0x61587A3: run_single_test (TestRun.c:1129)
==28310==    by 0x6156161: CU_run_selected_tests (TestRun.c:473)
==28310==  If you believe this happened as a result of a stack
==28310==  overflow in your program's main thread (unlikely but
==28310==  possible), you can try to increase the size of the
==28310==  main thread stack using the --main-stacksize= flag.
==28310==  The main thread stack size used in this run was 8388608.
==28310== 


Revision 2690 - Directory Listing
Modified Mon Mar 4 12:38:28 2013 UTC (7 years, 6 months ago) by jpye
Trying to write self-contained test case for bug 564.

Revision 2687 - Directory Listing
Modified Fri Mar 1 02:15:09 2013 UTC (7 years, 7 months ago) by jpye
Moving reproducible version of bug 567 into models/test directory.
Valgrind test shows invalid memory access in RemoveRelation of data freed in DestroyInstanceParts.

Revision 2660 - Directory Listing
Modified Wed Jan 16 05:57:03 2013 UTC (7 years, 8 months ago) by jpye
Working on updating rankine_fprops and associated models to work with new fprops2 code.
Some issue discovered with (p,h) for water (added python/solve_ph1.py to check it).
Next cunit tests to drive some ASCEND models embedding FPROPS (note use of slvreq for this).

Revision 2649 - Directory Listing
Modified Wed Dec 12 12:39:25 2012 UTC (7 years, 9 months ago) by jpye
Fixing GPL header, removing postal address (rpmlint incorrect-fsf-address)

Revision 2648 - Directory Listing
Modified Wed Dec 12 06:04:23 2012 UTC (7 years, 9 months ago) by jpye
Fixing GPL header, removing postal address (rpmlint incorrect-fsf-address)

Revision 2642 - Directory Listing
Modified Tue Oct 2 09:31:20 2012 UTC (7 years, 11 months ago) by jpye
separate bug 567 and 564, avoid a name clash, eliminate duplicate FindInsts (Dante Stroe?)

Revision 2640 - Directory Listing
Modified Sun Sep 30 12:36:07 2012 UTC (8 years ago) by jpye
don't create name string unless needed

Revision 2639 - Directory Listing
Modified Sun Sep 30 04:22:20 2012 UTC (8 years ago) by jpye
Better test for bug 567.

Revision 2638 - Directory Listing
Modified Sun Sep 30 03:37:59 2012 UTC (8 years ago) by jpye
working on test case for bug 531, bug 566. latest tests show error in UpdateInputArgsList during sim_destroy.

Revision 2590 - Directory Listing
Modified Wed Apr 11 18:02:03 2012 UTC (8 years, 5 months ago) by jpye
test10 causing crash, removing for now.

Revision 2585 - Directory Listing
Modified Tue Apr 10 18:28:36 2012 UTC (8 years, 5 months ago) by jpye
First cut at test suite for CONOPT. Failing currently (Ubuntu 12.04).

Revision 2567 - Directory Listing
Modified Sat Feb 4 22:52:40 2012 UTC (8 years, 7 months ago) by jpye
Installer builds and works, but still bugs to be fixed.

Revision 2559 - Directory Listing
Modified Fri Feb 3 19:05:59 2012 UTC (8 years, 7 months ago) by jpye
Merge from Ksenija's branch rev 3919 to trunk. This includes changes from Dante Stroe and Leon Kwek, including:
Adds support for LINK syntax/semants (but test cases stil need to be written). (Dante Stroe)
Adds support for integration of models containing boundaries. More testing required. (Leon Kwek)
Test suite solver_lrslv added with very basic test of LRSlv. (Leon Kwek)
Fixed error in merge that had messed up SOLVER, SOLVE, OPTION statements.
Support added in LRSlv for taking boundary states from the 'perturb' var, rather than evaluating directly (Leon)
Integrated fix-and-assign statement support added (fixes bug 450) (Ksenija)
Bouncing ball test model included (Leon).


Revision 2539 - Directory Listing
Modified Fri Jan 27 00:45:20 2012 UTC (8 years, 8 months ago) by jpye
Fix test_ipopt for MinGW.

Revision 2538 - Directory Listing
Modified Thu Jan 26 20:21:06 2012 UTC (8 years, 8 months ago) by jpye
Fix Win64 issue with test solver_slvreq, relates to bug 501.

Revision 2537 - Directory Listing
Modified Thu Jan 26 20:17:03 2012 UTC (8 years, 8 months ago) by jpye
Fix test solver_qrslv for MinGW (multiple path components need Windows separators if they are going to be used). (relates to bug 501).
Suppress Windows error dialog in test.c (to help with Buildbot testing).


Revision 2515 - Directory Listing
Modified Tue Nov 8 08:37:11 2011 UTC (8 years, 10 months ago) by jpye
Moving IDA test to ascend/integrator/test. About to start on simple LSODE test suite.

Revision 2512 - Directory Listing
Modified Sun Oct 9 10:17:46 2011 UTC (8 years, 11 months ago) by jpye
Completed test for 2^4 error (bug 513).

Revision 2511 - Directory Listing
Modified Sun Oct 9 10:07:57 2011 UTC (8 years, 11 months ago) by jpye
working on checking bug 513.

Revision 2490 - Directory Listing
Modified Sat Aug 6 04:55:10 2011 UTC (9 years, 1 month ago) by jpye
Move conopttest to models/test/conopt.
Update CONOPT header file and revise revsion number therein.

Revision 2383 - Directory Listing
Modified Wed Feb 9 01:33:31 2011 UTC (9 years, 7 months ago) by jpye
Breaking down doxygen documentation for 'system' into smaller parts. Ongoing.

Revision 2378 - Directory Listing
Modified Mon Feb 7 07:48:50 2011 UTC (9 years, 7 months ago) by jpye
Removing Opt rSQP solver code, moving MakeMPS solver to its own subdirectory, and working to fix up the old code.

Revision 2377 - Directory Listing
Modified Thu Feb 3 06:11:59 2011 UTC (9 years, 7 months ago) by jpye
Solver doxygen comments.

Revision 2375 - Directory Listing
Modified Tue Feb 1 05:53:26 2011 UTC (9 years, 7 months ago) by jpye
Add updated comments to slv_interface.[ch].
Add markup to solver/solver.h so that it appears correctly in the new doxygen documentation.

Revision 2365 - Directory Listing
Modified Sun Jan 23 23:14:32 2011 UTC (9 years, 8 months ago) by jpye
Add IntegratorReporter to test_ida.

Revision 2364 - Directory Listing
Modified Fri Jan 21 05:19:39 2011 UTC (9 years, 8 months ago) by jpye
Added simple CUnit test of IDA, will help with memory debugging.

Revision 2353 - Directory Listing
Modified Sat Jan 8 11:21:09 2011 UTC (9 years, 8 months ago) by jpye
fixed bug in destruction of importhandler_library. More work still to be done there.
Improved parser message for failed IMPORT.

Revision 2349 - Directory Listing
Modified Thu Jan 6 00:30:17 2011 UTC (9 years, 8 months ago) by jpye
Working on valgrind issues associated with asc_ipopt.c.
Suppressed error output in test_ascDynaLoad by assigning no-op error_reporter.

Revision 2346 - Directory Listing
Modified Wed Jan 5 09:24:59 2011 UTC (9 years, 8 months ago) by jpye
Merged back changes from branches/cunitupdate, and added -l and -t flags for the test executable for listing available tests.

Revision 2343 - Directory Listing
Modified Mon Dec 27 07:05:04 2010 UTC (9 years, 9 months ago) by jpye
Added test solver_ipopt.formula, failing.

Revision 2342 - Directory Listing
Modified Mon Dec 27 07:02:45 2010 UTC (9 years, 9 months ago) by jpye
Add compiler_basics.stoponerror test (fails currently).
Add solver_ipopt test suite, most tests passing.
Refactor test registration to use macros uniformly throughout.
Minor text change in initialize.c.

Revision 2339 - Directory Listing
Modified Sun Dec 26 07:05:04 2010 UTC (9 years, 9 months ago) by jpye
Suppress some debug output.
Add a missing memory deallocation call in test_slvreq.c.

Revision 2337 - Directory Listing
Modified Sun Dec 26 06:24:38 2010 UTC (9 years, 9 months ago) by jpye
Identified error with top-level ProcFrame not being destroyed. Will ask Ben to comment.

Revision 2323 - Directory Listing
Modified Wed Dec 15 06:35:43 2010 UTC (9 years, 9 months ago) by jpye
Refactor some more stuff from 'utilities' into 'general' with goal that 'general' never refers to 'utilities'.

Revision 2322 - Directory Listing
Modified Wed Dec 15 06:12:36 2010 UTC (9 years, 9 months ago) by jpye
Refactoring ascMalloc.h, mem.h to belong in 'general' with goal of having no references in 'general' to functions in 'utilities'.

Revision 2319 - Directory Listing
Modified Tue Dec 14 06:41:58 2010 UTC (9 years, 9 months ago) by jpye
Remove references in ascDynaLoad.c back to compiler header files; these should be kept independent.
Deprecate function SearchArchiveLibraryPath (only used in conopt_dl.c); we should us ospath and/or importhandler routines instead.

Revision 2183 - Directory Listing
Modified Tue May 4 13:38:42 2010 UTC (10 years, 4 months ago) by jpye
Merging slvreq functionality into trunk.

Revision 2130 - Directory Listing
Modified Fri Dec 18 01:32:28 2009 UTC (10 years, 9 months ago) by mahesh
Merging all changes from Mahesh's GSOC project.
svn merge -r2273:2671 svn://ascend.cheme.cmu.edu/ascend/code/branches/mahesh .
See http://ascendwiki.cheme.cmu.edu/User:Mnm87 for details.

Revision 2105 - Directory Listing
Modified Thu Dec 3 02:55:53 2009 UTC (10 years, 9 months ago) by jpye
Add some regex-based excludes for installation of models (eg FPROPS).
Add IPOPT to default solvers.

Revision 2036 - Directory Listing
Modified Mon May 18 15:03:16 2009 UTC (11 years, 4 months ago) by ballan
issues resolved:
295
390
301
cmslv.c: unused var cleanup.
lsode/SConscript: fortran flags bugs-- may not work with 0.9x scons.
works with 1.2+. when adding -w, or any special flags, be sure to add
them and not replace the original flag.
system/var.c: 64bit clarity.
system/discrete.c: 64bit clarity.
system/analyze*: g_reuse declared in wrong place. 64bit clarity
system/diffvars: missing prototype function, 64bit clarity.
compiler/numlist.*: changed from int to glint.
compiler/simlist.c: missing includes needed for 64bit clarity.
compiler/instance_io.c: missing includes needed for 64bit clarity.
compiler/initialize.[ch]: const clarifications.
compiler/packages.c: const clarifications.
compiler/module.c: const clarifications.
compiler/statio.c: unused var cleanup.
compiler/procframe; const clarification. memory deallocation bugs.
compiler/notequery.c: repaired multiple casting and 64bit issues.
compiler/importhandler.c: const and free issues fixed.
compiler/type_desc.c: ridiculous if constructs clarified.
compiler/createinst.c: casting stupidity repaired.
linear/ranki2.c: missing includes needed for 64bitness.
solver/solver.c: const issues clarified.
utilities/ascConfig.h: added GLint typedefs for dealing with gllist
64bit portability.
utilities/ascPanic.c: removed extraneous const.
general/ospath.c: safer,quieter handling for string pointer difference.
integrator/integrator.c: const issues clarified.
packages/sensitivity.c: missing includes needed fo 64bit sanity.
tcltk/interface/Integrators.c: 64 bitness.
tcltk/interface/SimsProc.c: const errors.
tcltk/interface/Driver.c: fixed env var handling wrt ascend-config (295)
models/test/z*a4c: fixed meters -> m conversion; someone never ran the
test suite after teasing the default units to ambiguous abbreviations.
SConstruct: added sizeof checks; output might be better put in a ascend
system-wide header.



Revision 2020 - Directory Listing
Modified Wed Apr 29 04:00:14 2009 UTC (11 years, 5 months ago) by jpye
Fixed installation location of libascend headerfiles.

Revision 2018 - Directory Listing
Modified Wed Apr 29 03:38:10 2009 UTC (11 years, 5 months ago) by jpye
Fixed compile for new header file locations <ascend/compiler/xxx.h> etc.

Revision 2017 - Directory Listing
Modified Wed Apr 29 02:39:32 2009 UTC (11 years, 5 months ago) by jpye
Fixed building of test suite after code reorg.
Test suite may still be broken though: seems to segfault and give lots of errors.

Revision 2011 - Directory Listing
Added Tue Apr 28 08:58:48 2009 UTC (11 years, 5 months ago) by jpye
Moving libascend components from #/base/generic into #/ascend

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22