/[ascend]/trunk/test.py
ViewVC logotype

Log of /trunk/test.py

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 2651 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 13 07:29:48 2012 UTC (4 years, 10 months ago) by jpye
File length: 50168 byte(s)
Diff to previous 2617
Fixing GPL header, removing postal address (rpmlint incorrect-fsf-address)

Revision 2617 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 11 19:52:18 2012 UTC (5 years, 5 months ago) by jpye
File length: 50237 byte(s)
Diff to previous 2604
Least squares model currently solves with SOLVE command, but not via GUI...

Revision 2604 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 23 22:03:47 2012 UTC (5 years, 6 months ago) by jpye
File length: 50184 byte(s)
Diff to previous 2329
Improved approximation of delta in sunpos_db (add a half-day).
Re-tested sunpos_db and updated to 2nd Ed D&B problems.
Will add tracker problems in models/solar/tracker.a4c.

Revision 2329 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 22 12:52:47 2010 UTC (6 years, 10 months ago) by jpye
File length: 50038 byte(s)
Diff to previous 2327
Suppressing some console output.
Added test case that current crashes ASCEND/IPOPT with a memory error.
Issue with library.cpp not containing any way to free libascend memory.

Revision 2327 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 22 07:17:24 2010 UTC (6 years, 10 months ago) by jpye
File length: 49983 byte(s)
Diff to previous 2183
Merging in refactor of the C++ code, which is moved out of 'pygtk' and into 'ascxx'.
Adding support for IPOPT 3.9.1, the current latest version.
Support in dtar for parallel builds (possibly needs some testing still).

Revision 2183 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 4 13:38:42 2010 UTC (7 years, 5 months ago) by jpye
File length: 49918 byte(s)
Diff to previous 2130
Merging slvreq functionality into trunk.

Revision 2130 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 18 01:32:28 2009 UTC (7 years, 10 months ago) by mahesh
File length: 48176 byte(s)
Diff to previous 2071
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 2071 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 28 02:42:47 2009 UTC (8 years, 1 month ago) by jose
File length: 46270 byte(s)
Diff to previous 2045
MERGE Jose's branch [2274]:[2584] into trunk

Revision 2045 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jun 14 03:14:26 2009 UTC (8 years, 4 months ago) by jpye
File length: 46070 byte(s)
Diff to previous 1837
Some attempts to get Bintoken functionality running again.

Revision 1837 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 28 07:08:32 2008 UTC (9 years, 1 month ago) by jpye
File length: 45791 byte(s)
Diff to previous 1792
Changed Instance::as  to Instance::to in PyGTK interface, for compatibility
with Python 2.5 ('as' is a reserved word).

Revision 1792 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 20 06:44:52 2008 UTC (9 years, 4 months ago) by jpye
File length: 45791 byte(s)
Diff to previous 1757
Change to MUMPS from test of IPOPT.
Tested with F9.

Revision 1757 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 27 05:40:40 2008 UTC (9 years, 7 months ago) by jpye
File length: 45749 byte(s)
Diff to previous 1737
Add DOPRI5 to installer package (EXPERIMENTAL).
On Windows, use the registry to locate the book.pdf documentation file.
Fix path to test models for DOPRI5 in test.py.

Revision 1737 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 7 23:58:06 2008 UTC (9 years, 8 months ago) by jpye
File length: 45710 byte(s)
Diff to previous 1701
Further work on the IPOPT implementation.

Revision 1701 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jan 6 03:42:21 2008 UTC (9 years, 9 months ago) by jpye
File length: 45673 byte(s)
Diff to previous 1682
Changed fundamental units to the standard SI abbreviations.
Added new solver parameters for IPOPT (still needs testing).
Added context-aware UnitsDialog that by default uses the type selected in the browser.
Added attempt at detection of 'lmodern' (for bug #351).
Changed base units in compiler/units.h.


Revision 1682 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 19 08:02:38 2007 UTC (9 years, 10 months ago) by jpye
File length: 45614 byte(s)
Diff to previous 1679
Remove unused var.
Fixed lotka.png graph writing example.

Revision 1679 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 19 06:20:49 2007 UTC (9 years, 10 months ago) by jpye
File length: 45616 byte(s)
Diff to previous 1645
Moved 'incidence.c' and 'incidence.h' to base/generic/system.
Change system_write_graph to use GraphViz directly, and create PNG output.
Created 'TestSystem' suite in test.py and added test for PNG graph create (no checking performed though so far).
Updated Simulation::write to use the new system_write_graph syntax (no filters any more).
Fixed WITH_GRAPHVIZ flags for graph.c.

Revision 1645 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 15 03:53:07 2007 UTC (9 years, 11 months ago) by jpye
File length: 45489 byte(s)
Diff to previous 1564
created typedef ExprSymFilterFn.
updated GtkSourceView lang definition.
removed execvp call in test.py.

Revision 1564 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 30 13:52:25 2007 UTC (10 years, 2 months ago) by jpye
File length: 45456 byte(s)
Diff to previous 1562
Test cases pass for compound sections.

Revision 1562 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 30 13:22:43 2007 UTC (10 years, 2 months ago) by jpye
File length: 45225 byte(s)
Diff to previous 1553
Fixed bug with compound section.
Added test case for johnpye/section.a4c.

Revision 1553 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 24 08:56:59 2007 UTC (10 years, 3 months ago) by jpye
File length: 44695 byte(s)
Diff to previous 1520
Placeholder ipopt_get_status.
Added very simple test-case for IPOPT.

Revision 1520 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jun 30 01:23:36 2007 UTC (10 years, 3 months ago) by jpye
File length: 44497 byte(s)
Diff to previous 1518
Fixing for missing yacc/lex on Windows, auto-update of them when yacc/lex *are* avail.
Fixing 'test.py' operation on Windows (ASCENDSOLVERS env var)
Adding missing ida.dll to installer.
Adding some missing export symbols in libascend.

Revision 1518 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 28 13:46:33 2007 UTC (10 years, 3 months ago) by jpye
File length: 43882 byte(s)
Diff to previous 1509
Fixed problems with PyGTK GUI on Windows. Still problems with INSTALL_SOLVERS needing
to be fixed for Tcl/Tk GUI.

Revision 1509 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 27 13:08:47 2007 UTC (10 years, 3 months ago) by jpye
File length: 43871 byte(s)
Diff to previous 1507
Fixed external loading of integrators, at least on my system. Needs testing
with/without fortran, sundials, etc.
Changed little thing kn d1mach.c to make default behaviour correct on Linux.

Revision 1507 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 27 11:25:37 2007 UTC (10 years, 3 months ago) by jpye
File length: 43857 byte(s)
Diff to previous 1505
Moving integrators to own directory, about to make them self-contained shared libraries.

Revision 1505 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jun 23 14:27:28 2007 UTC (10 years, 4 months ago) by jpye
File length: 43836 byte(s)
Diff to previous 1491
More on relocation of solvers

Revision 1491 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jun 10 13:49:39 2007 UTC (10 years, 4 months ago) by jpye
File length: 43690 byte(s)
Diff to previous 1480
Moved all solvers to dynamically loaded modules currently in folder models/johnpye.
Location of these files will ultimately change.

Revision 1480 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 6 13:44:59 2007 UTC (10 years, 4 months ago) by jpye
File length: 43652 byte(s)
Diff to previous 1478
Added stats output in DOPRI5 integrator.
Typo in ida.c.
Added assertions in TestDOPRI5 (current they fail).
Still got problems with DOPRI5 integrator.

Revision 1478 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 5 13:34:08 2007 UTC (10 years, 4 months ago) by jpye
File length: 43521 byte(s)
Diff to previous 1477
Fixed time values of DOPRI5 integrator.

Revision 1477 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 5 10:38:45 2007 UTC (10 years, 4 months ago) by jpye
File length: 43504 byte(s)
Diff to previous 1459
Fixed bugs in aren.a4c model, test case runs but needs validation.

Revision 1459 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 31 13:28:33 2007 UTC (10 years, 4 months ago) by jpye
File length: 42968 byte(s)
Diff to previous 1452
DOPRI5 is running... but is it correct? Still needs lots of testing

Revision 1452 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 28 14:01:51 2007 UTC (10 years, 4 months ago) by jpye
File length: 42483 byte(s)
Diff to previous 1406
Integrators can now be dynamically loaded. DOPRI5 has progressed but still doesn't work.

Revision 1406 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Apr 22 08:09:59 2007 UTC (10 years, 6 months ago) by jpye
File length: 42500 byte(s)
Diff to previous 1395
Commented out failing tests...

Revision 1395 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Apr 21 15:11:45 2007 UTC (10 years, 6 months ago) by jpye
File length: 42496 byte(s)
Diff to previous 1383
Added full jacobian preconditioner (ongoing).
Some tweaks to dsgsat & related models.

Revision 1383 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 6 10:50:41 2007 UTC (10 years, 6 months ago) by jpye
File length: 42704 byte(s)
Diff to previous 1380
Substituted stationary momentum in dsgsat3.a4c

Revision 1380 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 6 04:07:32 2007 UTC (10 years, 6 months ago) by jpye
File length: 42567 byte(s)
Diff to previous 1374
Fixed build problem on MinGW GCC 3.4.2
Fixed problem with font in IPython console on Windows
Some attempts to fix problems with FILE* support in Python bindings
gfortran is now the preferred FORTRAN compiler.
Comment out failing FILE* tests for the moment.

Revision 1374 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Mar 31 02:41:26 2007 UTC (10 years, 6 months ago) by jpye
File length: 41974 byte(s)
Diff to previous 1372
Added support for brent solver in EXTERNAL method

Revision 1372 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 30 11:01:20 2007 UTC (10 years, 6 months ago) by jpye
File length: 41736 byte(s)
Diff to previous 1363
Added some tests that pick up two bugs in the current implementation of default_self

Revision 1363 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 27 23:05:24 2007 UTC (10 years, 6 months ago) by jpye
File length: 41440 byte(s)
Diff to previous 1355
Added test case for relation 'included' flag in python.

Revision 1355 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 19 13:18:01 2007 UTC (10 years, 7 months ago) by jpye
File length: 40678 byte(s)
Diff to previous 1351
Fixed TestSolver failing case (linux only).
Silenced some debug output.

Revision 1351 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 14 07:48:27 2007 UTC (10 years, 7 months ago) by jpye
File length: 40667 byte(s)
Diff to previous 1350
Added test for write('graph'). Added couple of items to syntax definition. Updated GPL notice in some core model files.

Revision 1350 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 13 08:05:07 2007 UTC (10 years, 7 months ago) by jpye
File length: 40490 byte(s)
Diff to previous 1349
Fixed output of DOT graphs in C++/python interface, added test case.

Revision 1349 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 13 07:26:43 2007 UTC (10 years, 7 months ago) by jpye
File length: 40444 byte(s)
Diff to previous 1348
Fixed DOT graph output (system_write_graph), added very basic test case.

Revision 1348 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 13 06:53:59 2007 UTC (10 years, 7 months ago) by jpye
File length: 40364 byte(s)
Diff to previous 1344
Fixed silly error in logrelation.c from June 2006 :-)
Added regression test.

Revision 1344 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 12 00:08:34 2007 UTC (10 years, 7 months ago) by jpye
File length: 40204 byte(s)
Diff to previous 1342
Added test case for the 'sonic.a4c' model described by Joe Zaher/implemented by Vicente.

Revision 1342 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Mar 11 13:57:34 2007 UTC (10 years, 7 months ago) by jpye
File length: 39866 byte(s)
Diff to previous 1341
Added test of sequence of logical relations.
Fixed regression with activeblock from last commit.

Revision 1341 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Mar 11 13:47:33 2007 UTC (10 years, 7 months ago) by jpye
File length: 39640 byte(s)
Diff to previous 1339
Added a test case for the simplest-possible logical relation solve.
Tolerate lack of bb->block in Simulation::processVarStatus.
Fixed a bug in analyze.c in case of pure-logical system.

Revision 1339 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Mar 10 13:57:01 2007 UTC (10 years, 7 months ago) by jpye
File length: 39527 byte(s)
Diff to previous 1337
Removed ASC_IDA_NEW_ANALYSE condition from the codebase.
Cleaned up some debug output.

Revision 1337 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Mar 10 12:33:15 2007 UTC (10 years, 7 months ago) by jpye
File length: 39532 byte(s)
Diff to previous 1333
Added support for detection of boundary crossing in the IDA integrator.
Cleared up some code comments and formatting.

Revision 1333 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 8 10:30:22 2007 UTC (10 years, 7 months ago) by jpye
File length: 39068 byte(s)
Diff to previous 1327
Fixed broken tests (new names in Integrator::writeMatrix)

Revision 1327 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 8 02:45:16 2007 UTC (10 years, 7 months ago) by jpye
File length: 39074 byte(s)
Diff to previous 1325
Fixed mtx_write_region_mmio for non-square regions, offset so that indices always
start at 1 in the output, regardless of the original location of the region.

Revision 1325 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 7 02:27:49 2007 UTC (10 years, 7 months ago) by jpye
File length: 38987 byte(s)
Diff to previous 1324
Split linsolqr.c into smaller files (as directed in code comments for '#include "plainqr.c"', etc)

Revision 1324 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 6 14:40:02 2007 UTC (10 years, 7 months ago) by jpye
File length: 38905 byte(s)
Diff to previous 1311
Fixed integrator_ida_check_index. More tests still required.

Revision 1311 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Mar 4 13:26:32 2007 UTC (10 years, 7 months ago) by johnpye
File length: 38550 byte(s)
Diff to previous 1309
Fixed problem with ctrl-c
Improved column alignment in text output of integration results
Pared back the default method in dsgsat3.a4c

Revision 1309 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Mar 4 07:40:17 2007 UTC (10 years, 7 months ago) by johnpye
File length: 38544 byte(s)
Diff to previous 1307
Added index checking for semi-explicit DAE systems.
Migrated error messages for mtx and linsolqr to the error_reporter mechanism.

Revision 1307 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Mar 3 12:09:15 2007 UTC (10 years, 7 months ago) by johnpye
File length: 37575 byte(s)
Diff to previous 1306
Fixed failing testidapeturb (removed some upwind4 formula)

Revision 1306 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Mar 3 11:50:47 2007 UTC (10 years, 7 months ago) by johnpye
File length: 37575 byte(s)
Diff to previous 1304
Added and performed basic tests of integrator_ida_write_matrix. Generalised the write_matrix
routine so that *any* requested output can be retrieved from the integrator (for the case
of IDA this is y and y', but it could equally be more complicated stuff.)

Revision 1304 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 1 06:34:04 2007 UTC (10 years, 7 months ago) by johnpye
File length: 37152 byte(s)
Diff to previous 1292
Added test for empty sets with new default behaviour.

Revision 1292 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Feb 26 06:47:08 2007 UTC (10 years, 7 months ago) by johnpye
File length: 37013 byte(s)
Diff to previous 1288
Added undefined test for defaults with ARE_THE_SAME

Revision 1288 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Feb 18 12:05:53 2007 UTC (10 years, 8 months ago) by johnpye
File length: 35689 byte(s)
Diff to previous 1280
Fixed test.py for lack of module 'dl' on AMD64

Revision 1280 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Feb 10 10:47:23 2007 UTC (10 years, 8 months ago) by johnpye
File length: 35418 byte(s)
Diff to previous 1279
Fully operational test suite again (fixed TestIntegrator.testparameters)

Revision 1279 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Feb 10 09:31:55 2007 UTC (10 years, 8 months ago) by johnpye
File length: 35308 byte(s)
Diff to previous 1278
Removed some debug output.
DSGSAT model L=10, n=47

Revision 1278 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 9 02:35:43 2007 UTC (10 years, 8 months ago) by johnpye
File length: 35276 byte(s)
Diff to previous 1277
Central differences added in some cases (DSGSAT3)

Revision 1277 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Feb 4 07:39:31 2007 UTC (10 years, 8 months ago) by johnpye
File length: 35273 byte(s)
Diff to previous 1276
All of TestSteam passes.
Have increased zone of convergence for dsgsat3 model by changing to some central differences. Randomly.

Revision 1276 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Feb 4 06:28:53 2007 UTC (10 years, 8 months ago) by johnpye
File length: 35273 byte(s)
Diff to previous 1273
Removed teststeadyida2 (not implemented correctly).
Re-added default_self values from earlier.

Revision 1273 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Feb 4 04:54:20 2007 UTC (10 years, 8 months ago) by johnpye
File length: 35940 byte(s)
Diff to previous 1271
Identified a problem in moving from qdot_s = 700 to qdot_s = 1000 in QRSlv steady case. Maybe a problem with nominal values?

Revision 1271 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Feb 4 02:00:01 2007 UTC (10 years, 8 months ago) by johnpye
File length: 34871 byte(s)
Diff to previous 1270
Added bounds checking to IDA.
Suppressed some debug output.
TestSteam.testpeturbida is broken now.

Revision 1270 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Feb 4 01:01:18 2007 UTC (10 years, 8 months ago) by johnpye
File length: 34870 byte(s)
Diff to previous 1268
Reduced some debug output.
Added ATOM for specific_energy_rate.
Fixed default_self routines for DSG models.
Added testdsgsatrepeat test to check above.

Revision 1268 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Feb 3 06:18:11 2007 UTC (10 years, 8 months ago) by johnpye
File length: 34476 byte(s)
Diff to previous 1267
Stable with 4 nodes now, but only with a small peturbation.

Revision 1267 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Feb 3 03:39:50 2007 UTC (10 years, 8 months ago) by johnpye
File length: 34475 byte(s)
Diff to previous 1266
dsgsat3 model gives correct pressure drops now.
found an error in the momentum equation.

Revision 1266 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 2 22:32:20 2007 UTC (10 years, 8 months ago) by johnpye
File length: 34335 byte(s)
Diff to previous 1265
Peturbation of the steam model with IDA seems to work!

Revision 1265 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 1 13:54:56 2007 UTC (10 years, 8 months ago) by johnpye
File length: 33709 byte(s)
Diff to previous 1259
Fixed insanity between var_fixed and var_apply_filter in idaanalyse.c
Copyright info in pipeline.a4c.
Added teststeadyida in TestSteam (currently passes)
Fixed LSODE parameters in teststeadylsode.

Revision 1259 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jan 28 01:49:38 2007 UTC (10 years, 8 months ago) by johnpye
File length: 33624 byte(s)
Diff to previous 1257
Copyright dates

Revision 1257 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jan 28 01:30:08 2007 UTC (10 years, 8 months ago) by johnpye
File length: 33618 byte(s)
Diff to previous 1255
Fixed the bounding problem in Slv9.
Added python test cases for all of the models in Vicente's thesis.
Will now add these tests to buildbot.

Revision 1255 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jan 27 10:56:58 2007 UTC (10 years, 8 months ago) by johnpye
File length: 33097 byte(s)
Diff to previous 1254
Small error with the chemakzo test case.

Revision 1254 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jan 27 10:50:40 2007 UTC (10 years, 8 months ago) by johnpye
File length: 33097 byte(s)
Diff to previous 1253
Added transamp.a4c, another one of the tests from Univ. of Bari.

Revision 1253 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jan 27 09:05:53 2007 UTC (10 years, 8 months ago) by johnpye
File length: 32471 byte(s)
Diff to previous 1252
Addded Chemical Akzo Nobel test problem (DAE of index 1)

Revision 1252 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jan 27 06:29:17 2007 UTC (10 years, 8 months ago) by johnpye
File length: 31747 byte(s)
Diff to previous 1251
Removed the 'command line solver' from the Tcl/Tk interface.
Deactivated the 'plot' command in slv_interface.
Eliminated various #include <compiler/*> from the solver.
Added another sample model (which current fails because of problem with non-incident diff vars.

Revision 1251 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jan 27 05:04:49 2007 UTC (10 years, 8 months ago) by johnpye
File length: 31122 byte(s)
Diff to previous 1247
Fixed 'hires' test (needed to rack down the tolerances a bit)
Removed newton test (until we make some changes to the solvers var list)
All of TestIDADENSE passes now and will be added to the buildbot list.

Revision 1247 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jan 27 00:11:34 2007 UTC (10 years, 8 months ago) by johnpye
File length: 31073 byte(s)
Diff to previous 1246
Added 'hires.a4c' test model.
Split slv_system_structure out of slv.c and into system_impl.h.
Changed void* diffvars pointer in slv_system_structure to a typed pointer.
Moved SolverDiffVarCollectionStruct into system_impl.h.
Renamed slv_system_structure to just system_structure (in anticipation of a 'system' module separate from the actual solvers).

Revision 1246 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 26 22:24:56 2007 UTC (10 years, 8 months ago) by johnpye
File length: 30505 byte(s)
Diff to previous 1245
Reactivating couple of previously turned-off tests (IDA)

Revision 1245 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 26 12:43:49 2007 UTC (10 years, 8 months ago) by johnpye
File length: 30542 byte(s)
Copied from: trunk/test/test.py revision 1244
Diff to previous 1244
moving it back. silly me.

Revision 1244 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 26 12:36:24 2007 UTC (10 years, 8 months ago) by johnpye
Original Path: trunk/test/test.py
File length: 30542 byte(s)
Copied from: trunk/test.py revision 1243
Diff to previous 1237
Just a name change

Revision 1237 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 26 01:42:16 2007 UTC (10 years, 8 months ago) by johnpye
File length: 30542 byte(s)
Diff to previous 1228
Fixed problem with sort order of diffvars vs sindex vs IntegratorSystem::y

Revision 1228 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 25 06:57:40 2007 UTC (10 years, 9 months ago) by johnpye
File length: 30543 byte(s)
Diff to previous 1221
Added getParameter by name in SolverParameters.
Fixed up refences to signal-related header files.
Fixed up various warnings from -pedantic compilation.
Identified an apparent bug with RelationCalcGradient (unsafe version).
Added support for compilation of a standalone C++ program (idatest) in SCons build.

Revision 1221 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 24 13:33:06 2007 UTC (10 years, 9 months ago) by johnpye
File length: 30509 byte(s)
Diff to previous 1217
Implemented the DAE partitioning routine but am nowing tracking down a fiendish memory crash.

Revision 1217 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 23 13:10:26 2007 UTC (10 years, 9 months ago) by johnpye
File length: 30455 byte(s)
Diff to previous 1215
Added integrator_ida_check_lists, it's showing up a problem 

Revision 1215 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 23 11:31:46 2007 UTC (10 years, 9 months ago) by johnpye
File length: 30482 byte(s)
Diff to previous 1214
Remove GDB silliness

Revision 1214 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 23 11:30:25 2007 UTC (10 years, 9 months ago) by johnpye
File length: 30567 byte(s)
Diff to previous 1213
Added tests for dealing with dF/dy and dF/dy' incidence in IDA.

Revision 1213 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 23 10:43:55 2007 UTC (10 years, 9 months ago) by johnpye
File length: 30210 byte(s)
Diff to previous 1205
Added test cases for IDA incidence check.
Added test for where REQUIRE specifies nonexistent file.

Revision 1205 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 23 03:03:01 2007 UTC (10 years, 9 months ago) by johnpye
File length: 29539 byte(s)
Diff to previous 1201
Split block partitioning stuff from slv_stdcalls.[ch] into block.[ch].

Revision 1201 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 22 13:26:06 2007 UTC (10 years, 9 months ago) by johnpye
File length: 29345 byte(s)
Diff to previous 1200
Added some more test cases for DAE problem analysis.
Little bit of tidying up in the slv*.c files.

Revision 1200 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 22 11:48:24 2007 UTC (10 years, 9 months ago) by johnpye
File length: 28962 byte(s)
Diff to previous 1199
Fixed a bug with first var in first var chain not having ode_type=1.
Added more test cases for diffvars.c.

Revision 1199 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 22 11:22:15 2007 UTC (10 years, 9 months ago) by johnpye
File length: 28807 byte(s)
Diff to previous 1196
Added method integrator_debug to integrator API (outputs internal data structures from integrator).
Added test cases for the diffvars code (python test.py).
Suppressed a lot of 'slv_get_*_*_list is NULL' messages when destroying system.
Specialised the system_build error message a little.

Revision 1196 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 22 05:41:59 2007 UTC (10 years, 9 months ago) by johnpye
File length: 27344 byte(s)
Diff to previous 1194
slv_get_status changed to return non-zero on failure.
Tests are passing with the new IDA 'analyse' routine but still plenty of gaps.

Revision 1194 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 22 01:30:56 2007 UTC (10 years, 9 months ago) by johnpye
File length: 27370 byte(s)
Diff to previous 1187
Split diffvars stuff out of analyse.c.
Fixed IDA to work when vars are fixed/freed after the integration system is build.
There will still be problems where fixing/freeing a *derivative* causes relations to drop out.

Revision 1187 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jan 21 06:03:58 2007 UTC (10 years, 9 months ago) by johnpye
File length: 27352 byte(s)
Diff to previous 1170
analyse.c can now pick up 'chains' of derivatives and pass them to the solver.

Revision 1170 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 17 12:19:25 2007 UTC (10 years, 9 months ago) by johnpye
File length: 27358 byte(s)
Diff to previous 1168
Added test case for collapsingcan2.

Revision 1168 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 17 09:33:14 2007 UTC (10 years, 9 months ago) by johnpye
File length: 27189 byte(s)
Diff to previous 1167
Commented out crashing test.

Revision 1167 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 17 09:32:29 2007 UTC (10 years, 9 months ago) by johnpye
File length: 27166 byte(s)
Diff to previous 1165
Added (failing) test case for do_sensitivity_all.

Revision 1165 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 17 07:35:42 2007 UTC (10 years, 9 months ago) by johnpye
File length: 26781 byte(s)
Diff to previous 1163
Added 'distance_calc' to the self-tests.

Revision 1163 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 17 06:33:30 2007 UTC (10 years, 9 months ago) by johnpye
File length: 26693 byte(s)
Diff to previous 1162
Refactored sensitivity module a little further, added self_test.

Revision 1162 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 17 04:34:59 2007 UTC (10 years, 9 months ago) by johnpye
File length: 26659 byte(s)
Diff to previous 1161
Fixed sensitivity module. It now runs as mostly external code, with just a few relics required by LSODE still in packages/sensitivity.c.

Revision 1161 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 17 01:35:13 2007 UTC (10 years, 9 months ago) by johnpye
File length: 26246 byte(s)
Diff to previous 1156
Fixed value of 'dz' in dsgsat.a4c.
Added test case for saturated steam in terms of (u,v)
Other minor debug output changes.

Revision 1156 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 16 11:35:18 2007 UTC (10 years, 9 months ago) by johnpye
File length: 25550 byte(s)
Diff to previous 1152
Added roots_of_poly test.

Revision 1152 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 16 09:43:47 2007 UTC (10 years, 9 months ago) by johnpye
File length: 25463 byte(s)
Diff to previous 1144
Added 'collapsing can' example model and self-test.

Revision 1144 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 15 10:42:11 2007 UTC (10 years, 9 months ago) by johnpye
File length: 25374 byte(s)
Diff to previous 1142
Added except.[ch] which are intended to hold some TRY..CATCH..FINAL macro goodness to replace the explicit longjmp calls.
Added time-watching in LSODE to update GUI in case of long samplelist timesteps (TODO: permit interruption vai this mechanism too).

Revision 1142 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 15 06:46:44 2007 UTC (10 years, 9 months ago) by johnpye
File length: 25354 byte(s)
Diff to previous 1140
Got paranoid about turning off signal handling... added '#ifdef ASC_SIGNAL_TRAPS' anywhere that signal handling referenced.
Signal handling is OFF by default now.

Revision 1140 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 15 04:08:08 2007 UTC (10 years, 9 months ago) by johnpye
File length: 25354 byte(s)
Diff to previous 1137
Added support for setting Integrator parameters through PyGTK GUI.
Lots of whitespace changes in slv3.c (sorry).
Fixed problem with freeing sys->parms in slv.c


Revision 1137 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jan 14 13:21:45 2007 UTC (10 years, 9 months ago) by johnpye
File length: 25377 byte(s)
Diff to previous 1133
Attempting to fix sunos test.py problem.
Preparting dsgsat2. for IDA.

Revision 1133 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jan 14 11:51:48 2007 UTC (10 years, 9 months ago) by johnpye
File length: 25275 byte(s)
Diff to previous 1132
Removed the 'REX' and 'IEX' array aliases (added the solver parameter comments directly in the slv_param_* calls).
Renamed Simulation::[gs]etSolverParameters to Simulation::[gs]etParameters.
Added [gs]etParameter (singular) methods to SWIG wrapper.
Fixed missing NULL in IDA.
Fixed bug with BDF/AM wrong way round in LSODE.
Removed some debug output from slv.c

Revision 1132 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jan 14 10:40:58 2007 UTC (10 years, 9 months ago) by johnpye
File length: 25150 byte(s)
Diff to previous 1127
Converted slv3 (QRSlv) to new slv_param_bool (etc) parameter code.
Adding a testcase for dsgsat with LSODE as well as IDA.
Fixed some remaining external function calls (needing userdata ptr).
Adding LSODE parameters 'METH' and 'MITER' for setting AM and BDF methods.
Rerranged v_expr in iapwssat.a4c.
Removed lower bound on mdot in satsteamstream.a4c.

Revision 1127 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jan 13 07:05:23 2007 UTC (10 years, 9 months ago) by johnpye
File length: 24669 byte(s)
Diff to previous 1126
Added test case for dsgsat2.a4c to date

Revision 1126 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jan 13 06:11:02 2007 UTC (10 years, 9 months ago) by johnpye
File length: 24023 byte(s)
Diff to previous 1121
Added Matrix object to C++ interface. This is a thin wrapper for 'struct mtx_header *'.
Added getMatrix method in Simulation class.
Simple test case to write a matrix from a simulation (but no validation of the target file).
Added #include to ascPanic.h.
Added typemap in solver.i to ensure that python file object correctly translate en route to C.

Revision 1121 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 12 01:01:46 2007 UTC (10 years, 9 months ago) by johnpye
File length: 23885 byte(s)
Diff to previous 1120
dsgsat behaving correctly in steady-state mode

Revision 1120 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 11 23:35:07 2007 UTC (10 years, 9 months ago) by johnpye
File length: 23884 byte(s)
Diff to previous 1119
fixed typo on Windows test.py

Revision 1119 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 11 13:33:54 2007 UTC (10 years, 9 months ago) by johnpye
File length: 23885 byte(s)
Diff to previous 1118
Fixed test suite to safely run TestFreesteam (will add to buildbot)

Revision 1118 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 11 12:08:12 2007 UTC (10 years, 9 months ago) by johnpye
File length: 23651 byte(s)
Diff to previous 1106
Fixed up test.py to allow "ASCENDLIBRARY=~/freesteam/ascend ./test.py"
Fixed up keyboard shortcuts in PyGTK tools menu

Revision 1106 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 10 13:07:45 2007 UTC (10 years, 9 months ago) by johnpye
File length: 23182 byte(s)
Diff to previous 1105
Fixed a bug introduced into slvDOF_structsing.
Fixed an LD_LIBRARY_PATH problem with test.py

Revision 1105 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 10 11:22:20 2007 UTC (10 years, 9 months ago) by johnpye
File length: 23112 byte(s)
Diff to previous 1104
Fixing LD_LIBRARY_PATH problem in test.py

Revision 1104 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 10 10:13:47 2007 UTC (10 years, 9 months ago) by johnpye
File length: 22971 byte(s)
Diff to previous 1102
Removing unnecessary 'import subprocess' in test.py.

Revision 1102 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 10 06:40:38 2007 UTC (10 years, 9 months ago) by johnpye
File length: 22982 byte(s)
Diff to previous 1101
fixed test.py after move to root dir

Revision 1101 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 10 06:34:37 2007 UTC (10 years, 9 months ago) by johnpye
File length: 21758 byte(s)
Copied from: trunk/pygtk/test.py revision 1100
Diff to previous 1100
Moved test.py to root directory

Revision 1100 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 10 06:32:31 2007 UTC (10 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 21758 byte(s)
Diff to previous 1098
Fixed TestSteam.testdsgsat (on_load exception ignored)

Revision 1098 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 10 06:00:06 2007 UTC (10 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 21700 byte(s)
Diff to previous 1094
Fixed test.py so that env vars not required

Revision 1094 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 10 00:21:40 2007 UTC (10 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 21015 byte(s)
Diff to previous 1093
fixing 'modelsdir' for Windows local test runs

Revision 1093 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 10 00:18:25 2007 UTC (10 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 21007 byte(s)
Diff to previous 1092
redo last

Revision 1092 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 10 00:12:16 2007 UTC (10 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 21010 byte(s)
Diff to previous 1091
undo last

Revision 1091 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 10 00:07:33 2007 UTC (10 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 21034 byte(s)
Diff to previous 1073
Added setting of ASCENDLIBRARY to test.py.

Revision 1073 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 9 01:44:59 2007 UTC (10 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 20843 byte(s)
Diff to previous 1058
Added Instance.as(units) method to Python bindings (bug #302)

Revision 1058 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jan 6 23:14:11 2007 UTC (10 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 20622 byte(s)
Diff to previous 1057
Marked extpy as EXPERIMENTAL via ASC_PROG_WARNING during load.
Commented out the IDADENSE.testkryx test case, as it's been causing a hang.

Revision 1057 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jan 6 15:23:25 2007 UTC (10 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 20552 byte(s)
Diff to previous 1056
Permit 'pycunit' missing

Revision 1056 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jan 6 15:04:40 2007 UTC (10 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 20531 byte(s)
Diff to previous 1055
Fixing up setpoint in satsteamstream test.
Commenting out failing tests (with @TODO comments)

Revision 1055 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jan 6 14:47:13 2007 UTC (10 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 20305 byte(s)
Diff to previous 1050
simplified slv_check_bounds call.

Revision 1050 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jan 6 04:04:47 2007 UTC (10 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 19915 byte(s)
Diff to previous 1049
Adding integration test in TestSteam.testdsgsat.
Naming couple of anonymous structs.

Revision 1049 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 5 13:45:13 2007 UTC (10 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 19651 byte(s)
Diff to previous 1046
Changed integrator_solve to return 0 on success
Changed integrator_checkstatus to return 0 on success
Some flow-through changes as a result of these.
Fixed problem with reporting of errors in do_method (gtkbrowser.py)
Expanded error msg in integrator.cpp
Fixed catching of Integrator C++ exceptions in integratorreporter.py.
Removed M.checkStructuralSingularity() in TestSteam.testdsgsat -- causes crash (why?)

Revision 1046 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 5 11:15:16 2007 UTC (10 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 19636 byte(s)
Diff to previous 1043
Several changes to get BinToken compilation active again from PyGTK interface. Still not working but the problems now are in the C layer.
Tidied doc for slvDOF.h
Changed BinTokenSetOptions to saner use of strings -- no more 'taking ownership' of char arrays passed.
Added Compiler.use_binary_compilation option in PyGTK GUI.
Moved all the bintoken stuff out of class Type and into Compiler, where it should be (C++).

Revision 1043 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 5 06:24:59 2007 UTC (10 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 19368 byte(s)
Diff to previous 1042
Fixed PyGTK GUI for case where syntax errors in command-line-specified file are found.
Fixed 'reload' behaviour for above case also.
Fixed satsteam test cases.

Revision 1042 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 5 04:53:38 2007 UTC (10 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 19077 byte(s)
Diff to previous 1039
Added saturated steam routines (taked from IAPWS 'supsat.pdf')
Added test case TestSteam for evaluating iapwssatprops.a4c documented test cases.

Revision 1039 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 4 23:21:20 2007 UTC (10 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 18587 byte(s)
Diff to previous 1037
Fixed up some #includes in compiler .[ch] files.
Switched instantiate.c to using 'asc_assert' instead of 'assert'.
Added some missing GPL headers in C++ code.
Silenced some slv3.c debug output.
Switch void-return to int-return in slv9_presolve etc (slv9.c)
Attemping to fix solvernotes.py for the commandline environment (browser==None)
Removed redundant solve(SELF) in thermalequilibrium2.a4c.
Some error reporting from addone_calc (extfntest.c).
Expanded test size in extrelfor.a4c.
Big rearrangement of bboxtest.c for top-down style.
Fixed TestFreesteam.testintegrator, added end-value checks.


Revision 1037 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 4 08:11:55 2007 UTC (10 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 17601 byte(s)
Diff to previous 1035
Fixed a few more TestBlackBox test cases.

Revision 1035 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 4 07:35:22 2007 UTC (10 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 17518 byte(s)
Diff to previous 1034
Softened error from bintoken.c
Improved error reporting in instantiate.c
Rearranged #includes in relation_util.[ch]
Changed to asc_assert in relman.c
Lots of fixed in slv3.c to get reporting of 'calc_ok' right.
Also some better error reporting from slv3.c.
Fixed usage info for error_reporter_tree_start().
Improved error/status reporting from bboxtest.c.
Set PyGTK GUI to correctly catch ::solve errors.
Improved reporting about when solver fails (diverged, inconsistent, exceeded time/iters)
Fixed TestBlackBox.testfail1 and TestBlackBox.testfail2.
Fixed type.cpp to throw errors when instantiation fails.

Revision 1034 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 4 05:37:55 2007 UTC (10 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 17453 byte(s)
Diff to previous 1032
Switch 'void slv_*' function to output a 0-on-success error flag.
Added some debug output to ensure that such output gets through.
Fixed TestBlackBox.testfail1 to work, using above changes.
Simulation::solve now throws an exception on failure (will need to modify PyGTK GUI accordingly)

Revision 1032 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 4 01:51:38 2007 UTC (10 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 17321 byte(s)
Diff to previous 1028
Added a necessary export symbol in extcall for used by bboxtest.
Broke apart Ben's z-bbox test suite and added it to the Python tests.

Revision 1028 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 3 13:26:54 2007 UTC (10 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 13519 byte(s)
Diff to previous 1026
Added missing dl import in test library (hoping to fix SunOS problem)

Revision 1026 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 3 12:03:08 2007 UTC (10 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 13407 byte(s)
Diff to previous 1024
Working on tracking down a segfault occuring when TestIDADENSE and TestExtFn test suites are run together.
Added comments about new solverparameter macros.

Revision 1024 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 3 10:27:43 2007 UTC (10 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 13323 byte(s)
Diff to previous 1022
Added extfn and extpy to python test suites.

Revision 1022 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 3 08:37:14 2007 UTC (10 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 12657 byte(s)
Diff to previous 1021
Relaxed assertions in TestIDADENSE.testdenx

Revision 1021 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 3 07:40:24 2007 UTC (10 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 12658 byte(s)
Diff to previous 1018
Fixing problem with float evaluation of Instance objects.
Added TestExtFn suite.

Revision 1018 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 3 06:44:39 2007 UTC (10 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 12141 byte(s)
Diff to previous 1017
Fixing ImportError typo

Revision 1017 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 3 06:40:21 2007 UTC (10 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 12073 byte(s)
Diff to previous 1016
Added optional 'freesteam' test.
Fixed GTK+ dependency via TestIDADENSE.testdenx and M.solve(...)

Revision 1016 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 3 05:56:12 2007 UTC (10 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 10890 byte(s)
Diff to previous 1009
Fixed a silly bug with IDACalcIC.
Disabled all SPGMR tests from the python test suite.
All active tests in the Python tests should now be passing (24 tests currently)

Revision 1009 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 2 12:10:53 2007 UTC (10 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 10803 byte(s)
Diff to previous 1008
Fixing TestIDA.testdenx test case.
Removing some debug output from ida.c.

Revision 1008 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 2 11:45:24 2007 UTC (10 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 10802 byte(s)
Diff to previous 1003
Fixed bug with memory deallocation for partitioner in ida.c
Silenced some debug output in ascSignal.c
Fixed execution of Python test suite (CUnit tests will need more work before running via this approach)

Revision 1003 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Dec 31 02:35:27 2006 UTC (10 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 10887 byte(s)
Diff to previous 998
Some progress on fixing test_ascSignal.c

Revision 998 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Dec 30 06:05:48 2006 UTC (10 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 10953 byte(s)
Diff to previous 993
Fixed some memory leaks in ospath.c and test_ospath.c.

Revision 993 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 22 11:03:51 2006 UTC (10 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 10933 byte(s)
Diff to previous 992
Added Matrix Market export routines (from math.nist.gov).
Added necessary build commands for above.
Work on Jacobi preconditioner for IDA (ongoing)
Set integrator_analye to make a call to slv_block_partition. Not sure if that's a good idea or not.
Tidied up comments in linsol.h
Moved unnecessary #defines from model_reorder.h into model_reorder.c.
Cleaned up codedocs in mtx*.h
Added WITH_MMIO config.h flag.


Revision 992 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 21 13:37:45 2006 UTC (10 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 10896 byte(s)
Diff to previous 991
Added support for preconditioner in IDA module. Not quite sure what to put inside it yet though.

Revision 991 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 21 10:44:32 2006 UTC (10 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 10866 byte(s)
Diff to previous 990
Added IDA 'MAXNCF' option.
Added TestIDA.testlotkaDENSE.

Revision 990 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 21 07:12:58 2006 UTC (10 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 10242 byte(s)
Diff to previous 985
Added TestIDA.testkryxDENSE which seems to work OK.

Revision 985 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 21 04:06:02 2006 UTC (10 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 9586 byte(s)
Diff to previous 980
Trying to get idakryx example working.
Better reporting of failures from IDACalcIC.

Revision 980 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 20 23:23:50 2006 UTC (10 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 9554 byte(s)
Diff to previous 979
Fixed detection of libpython on Windows.
Fixed TestLSODE.testlotka test.py
Removed a sundials_dense.h assertion under windows.

Revision 979 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 20 14:34:16 2006 UTC (10 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 9574 byte(s)
Diff to previous 976
Added simplified ASC_PANIC call that uses var-args, added throughout relation_util.c.
Fixed var_filter_t stuff in djex and fvex.
More assertions in integrator.c
Added output of initial state from lsode.c (hoping that's a good idea?)
Fixed output code from relman_diff2.
Added asc_panic_nofunc for non var-arg CPPs.
Disabled -O3 flag in building C++ API
Added __getitem__ and __getattr__ methods in Simuluation for simplified python syntax (eg M.x instead M.sim.x)
Integrator::analyse throws exceptions on error now.


Revision 976 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 19 13:52:51 2006 UTC (10 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 8426 byte(s)
Diff to previous 975
Improved line/file/func reporting via Asc_Panic, using CPP var-arg macros under GCC.
Added ASC_ASSERT_LT and ASC_ASSERT_EQ assertion macros.
Tracking down a crash in IDA (ongoing).

Revision 975 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 19 11:49:59 2006 UTC (10 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 8414 byte(s)
Diff to previous 974
Fixed bug with Compute_J (using NumberRels instead of slv_get_number_solvers_rels).
Added GPL header to sensitivity.c.
Renamed IDA test cases.

Revision 974 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 19 11:00:57 2006 UTC (10 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 8429 byte(s)
Diff to previous 973
Fixed 'testcmslv2' test case.
Fixed 'sunpos5' test case.
One can now type 'python test.py TestSolver' and all current tests pass.

Revision 973 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 19 10:48:38 2006 UTC (10 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 8418 byte(s)
Diff to previous 972
Fixed the 'repeated test' bug (a static pointer to a destroyed symchar was being used in type.cpp)
Improved error reporting for 'not a refined solver_var' message.
Refactors Library::listModules and Library::getModules to use shared code.
TODO: find a more efficient solution to the static pointer problem above.

Revision 972 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 19 07:55:02 2006 UTC (10 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 8393 byte(s)
Diff to previous 970
Fixed a bug with initial time step in IDA (and added a checking asc_assert)
Added switch to turn on and off 'IDACalcIC'.
Changed 'already loaded' ASC_PROG_ERR into ASC_PROG_WARN (so that repeated 'IMPORT' doesn't cause problems)
Removed unnecessary solver tricks from shm.a4c (for easier debugging of Integrator API)
Widened self_test limits in zill.a4c.
Some more debugging in simulation.cpp.
Breaking down test.py into smaller test classes (thinking about moving it to its own directory)

Revision 970 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 19 02:39:54 2006 UTC (10 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 7693 byte(s)
Diff to previous 967
Adding missing 'aww.*' files for Art's DAE integrator.
Adding 'maxl' (Maximum Krylov dimension) option to IDA.

Revision 967 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 14 14:14:54 2006 UTC (10 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 7666 byte(s)
Diff to previous 966
Moved non-functioning CUnit tests to bottom of python test.py

Revision 966 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 14 14:04:54 2006 UTC (10 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 7666 byte(s)
Diff to previous 964
Cleaned up code comments in units.h
Fixed a bug with starting timesteps in LSODE (i think)
Added function to output a SampleList to the console (for debugging)
Removed debug output from base/generic/test/SConscript.
Removed 'custom' headers for UnitsM in ascpy.i
Made a sane default ctor for UnitsM
Added some more test cases to the Python unittest suite (still a problem running multiple solver-based tests in a single run)

Revision 964 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 12 14:34:18 2006 UTC (10 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 6702 byte(s)
Diff to previous 963
Added a test method to run a integration with one variable (a numerical example from the text by Zill)

Revision 963 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 12 13:36:52 2006 UTC (10 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 6314 byte(s)
Diff to previous 962
Added ATOLVECT, RTOLVECT parameters to LSODE
Fixed silly bug in testing of newton.a4c
Text changes in ida.c.

Revision 962 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 11 14:43:02 2006 UTC (10 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 6083 byte(s)
Diff to previous 961
Adding more LSODE test cases.
Removing some 'error tree' debug output.
Added RTOLDEF and ATOLDEF parameters to LSODE (and fixed a bug relating to integrator_lsode_params_default).

Revision 961 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 11 14:04:13 2006 UTC (10 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 5600 byte(s)
Diff to previous 956
Fixed a silly bug with Integrator::setEngine.
Added test case for lotka.a4c to test.py

Revision 956 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Dec 9 15:38:05 2006 UTC (10 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 5127 byte(s)
Diff to previous 952
Removed references to 'ASC_BIG_BUGMAIL' and 'ASC_MILD_BUGMAIL'
Disabled stream redirection functions (they were making testing difficult)
Re-wrote the main test-runner to permit specific tests to be run from the commandline (ongoing)
Disabled readln tests that required stream redirection.

Revision 952 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 28 23:01:50 2006 UTC (10 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 5131 byte(s)
Diff to previous 951
Pruned some debug messages from integrator.c, ida.c.
Improved exception messages from SolverParameter class.
Added array access functions to Instanc class (ongoing).
Attempting to run CUnit tests from the Python test suite (not successful, ongoing).
Cleaned up some headers, license notices, doxy docs, etc.
Fixed wrong #include <dmalloc.h> in ascpy.i (thanks Krishnan).

Revision 951 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Nov 26 05:01:49 2006 UTC (10 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 4462 byte(s)
Diff to previous 950
Added 'GSMODIFIED' parameter to IDA implementation.
Working on getting the idadenx model to converge using the SPGMR solver.

Revision 950 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Nov 26 03:14:02 2006 UTC (10 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 3621 byte(s)
Diff to previous 946
Completed adding idadenx to test suite.
Restored behaviour of mxstep to IDA.

Revision 946 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Nov 25 15:28:56 2006 UTC (10 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 3605 byte(s)
Diff to previous 945
Found bug in integrator_analyse_dae... ongoing

Revision 945 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Nov 25 12:41:03 2006 UTC (10 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 3605 byte(s)
Diff to previous 944
Fixed a bug in slv_param_char.
More work on IDA ongoing.

Revision 944 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Nov 25 10:46:13 2006 UTC (10 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 3450 byte(s)
Diff to previous 943
Implemented ATOLVECT, ATOL, RTOL parameters for the IDA integrator.

Revision 943 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Nov 25 06:32:51 2006 UTC (10 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 3314 byte(s)
Diff to previous 942
Some bugs fixed with SolverParameterIter

Revision 942 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Nov 25 05:26:47 2006 UTC (10 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 2900 byte(s)
Diff to previous 941
Incorporated 'SolverParameters' functionality into 'Integrator', both at C level and C++/Python.
This shouldn't break Tcl/Tk as default parameters will be set and used invisibly.

Revision 941 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 24 10:46:32 2006 UTC (10 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 1976 byte(s)
Diff to previous 940
Changed integrator_set_engine to return 0 on success.
Fixed Integrator::setEngine to throw range_error / IndexError on invalid selection.
Test suite contains testIDA that works now (more tests yet to come)

Revision 940 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 24 08:07:33 2006 UTC (10 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 1282 byte(s)
Diff to previous 938
Fixed 'testLSODE' in test.py, added 'IntegratorReporterNull' that makes no output (for testing purposes)

Revision 938 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 24 06:09:46 2006 UTC (10 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 1155 byte(s)
Diff to previous 933
Added support for dmalloc (http://dmalloc.com)
Added Integrator::setEngine(string name)
Minor other stuff.

Revision 933 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 23 22:28:00 2006 UTC (10 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 847 byte(s)
Diff to previous 932
Fixed some bugs with error_reporter_tree, and with error_callback in gtkbrowser.py

Revision 932 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 23 13:23:33 2006 UTC (10 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 874 byte(s)
Diff to previous 931
Working on bugs in the 'error_reporter_tree' stuff.
Removed binary files from base/generic/utilities/test (these are built as needed by SCons now)

Revision 931 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 23 04:31:19 2006 UTC (10 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 457 byte(s)
Diff to previous 930
Added 'error_reporter_tree' that can organise error messages/output into a structured hierarchy.

Revision 930 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 22 13:09:09 2006 UTC (10 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 452 byte(s)
Diff to previous 690
solve.py raises ImportError if 'browser' object is not available (right approach?)
Freeing some variables in dsgsat2.a4c.
Returing Py_None from extpy routine in 'browser' object not defined (eg during non-GUI unit testing)
Error reporting from extpy import handler (ongoing)
Timeout in versioncheck (when server unavailable)
A little more tinkering with IDA.

Revision 690 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 22 00:48:31 2006 UTC (11 years, 4 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 273 byte(s)
Diff to previous 689
Converting some line endings to unix form as part diagnosing the problem
with the current merge from the DAE branch.

Revision 689 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 22 00:19:54 2006 UTC (11 years, 4 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 330 byte(s)
Diff to previous 669
Added suppression of 'unexpected char' (scanner) and 'generic' (parser) errors.
Removed 'DIFF' stuff from parser and scanner. (It's still in expr_types.h and elsewhere)
Added test case to detect this scanner problem.

Revision 669 - (view) (download) (as text) (annotate) - [select for diffs]
Added Wed Jun 21 07:00:45 2006 UTC (11 years, 4 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 138 byte(s)
Merged changes from DAE branch (revisions 702 to 819) back into trunk.
This adds the Integration API to the ASCEND solver (in base/generic).
Also provides pre-alpha support for 'IDA' from the SUNDIALS suite, a DAE solver.
Many other minor code clean-ups, including adoption of new 'ASC_NEW' and friends (to replace 'ascmalloc')
Added some very sketchy stuff providing 'DIFF(...)' syntax, although it is anticipated that this will be removed.

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

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