If you think there’s an issue with timing of opening/closing MATLAB instances, 
have you tried using a delay in your WindowsRunner.m?

This is what we have in my MacRunner.m:


    properties

        StartupDelay = 3

    end

This causes a 3-second delay between runs (I think we use a 2-second delay on 
the test Mac).  That makes everything run more slowly but maybe that’s worth a 
try to pinpoint the issue. ??

Wendy


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Wendy C. Shoan      301.286.6263
NASA/GSFC/583     Greenbelt MD 20771
[email protected]<mailto:[email protected]>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


From: "Cooley, D S. (GSFC-5950) via Gmat-buildtest" 
<[email protected]>
Reply-To: "Cooley, D S. (GSFC-5950)" <[email protected]>
Date: Sunday, August 11, 2019 at 2:44 PM
To: "Cooley, D S. (GSFC-5950)" <[email protected]>, 
"[email protected]" <[email protected]>, 
"Kazmi, Syeda A. (GSFC-5830)" <[email protected]>
Subject: [EXTERNAL] Re: [Gmat-buildtest] First Attempt at Matlab fix

It didn’t work.  Let’s brain storm at GMAT Nav meeting.  Attached is routine.  
Maybe, there is a better way to do it.

From: gmat-nav <[email protected]> On Behalf Of Cooley, D S. 
(GSFC-5950) via gmat-nav
Sent: Sunday, August 11, 2019 1:48 PM
To: '[email protected]' <[email protected]>; 
[email protected]; Kazmi, Syeda A. (GSFC-5830) 
<[email protected]>
Subject: [gmat-nav] First Attempt at Matlab fix

More info below.

3 of the failures involve diff_gmd_files.m.  This routine opens up two files 
and creates its own file.  I added pause(2) to the beginning and end of the 
routine.  (Make sure read in files are fully created before read.  Make sure 
written file is fully closed before test system read)

Let’s see how that works in the following days.  I may do similar actions for 
some of the other matlab functions.
I don’t think this will add much time to the overall run time as these routines 
are not called that often.

These are not the only type of matlab failure.  Sometimes matlab doesn’t open.  
(How do you make matlab try more times?)

If you have ideas, send them out.

Thanks,
Steve


GroundStation_Iono_XEast

Please wait while MATLAB engine opens...
Failed to open MATLAB engine ...
Please wait while MATLAB engine opens...
MATLAB engine successfully opened
Interface Exception Thrown: 
"C:\Users\gsfc580gmattest\Documents\ScriptTest\gmat\bin\..\userfunctions\matlab\diff_gmd_files.m",
 Error using textscan
Invalid file identifier. Use fopen to generate a valid file identifier.
*** Mission run failed.

GroundStation_Iono_XSouthYEast_DeepSpace

Please wait while MATLAB engine opens...
Failed to open MATLAB engine ...
Please wait while MATLAB engine opens...
MATLAB engine successfully opened
Interface Exception Thrown: 
"C:\Users\gsfc580gmattest\Documents\ScriptTest\gmat\bin\..\userfunctions\matlab\diff_gmd_files.m",
 Error using textscan
Invalid file identifier. Use fopen to generate a valid file identifier.
*** Mission run failed.

TrackingFileSet_UseETminusTAI_Range_Sim

Please wait while MATLAB engine opens...
Failed to open MATLAB engine ...
Please wait while MATLAB engine opens...
MATLAB engine successfully opened
Interface Exception Thrown: 
"C:\Users\gsfc580gmattest\Documents\ScriptTest\gmat\bin\..\userfunctions\matlab\diff_gmd_files.m",
 Error using textscan
Invalid file identifier. Use fopen to generate a valid file identifier.
*** Mission run failed.


Transponder_HardwareDelay_DSN_DeepSpace_Range_2

Please wait while MATLAB engine opens...
Failed to open MATLAB engine ...
Please wait while MATLAB engine opens...
Failed to open MATLAB engine ...
Please wait while MATLAB engine opens...
Failed to open MATLAB engine ...
Please wait while MATLAB engine opens...
Failed to open MATLAB engine ...
Please wait while MATLAB engine opens...
Failed to open MATLAB engine ...
Please wait while MATLAB engine opens...
Failed to open MATLAB engine ...
Please wait while MATLAB engine opens...
Failed to open MATLAB engine ...
Please wait while MATLAB engine opens...
Failed to open MATLAB engine ...
Warning: simmer.FinalEpoch has value (26125.030312897936 A1Mjd) outside EOP 
time range [7665.500021762034 A1Mjd , 25656.500393916456 A1Mjd].
Please wait while MATLAB engine opens...
MATLAB engine successfully opened
Interface Exception Thrown: 
"C:\Users\gsfc580gmattest\Documents\ScriptTest\gmat\bin\..\userfunctions\matlab\open_gmd_file.m",
 Error using textscan
Invalid file identifier. Use fopen to generate a valid file identifier.
*** Mission run failed.
_______________________________________________
Gmat-buildtest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gmat-buildtest

Reply via email to