36 tests run, 24 passed, 0 skipped, 12 failed.
Annotations
Check failure on line 1 in tests/test.m
github-actions / JUnit Test Report
test.allFiguresRun(which_figs=6,which_tabs=0_5)
Error occurred in test/allFiguresRun(which_figs=6,which_tabs=0_5) and it did not run to completion.
---------
Raw output
Error occurred in test/allFiguresRun(which_figs=6,which_tabs=0_5) and it did not run to completion.
---------
Error ID:
---------
'MATLAB:UndefinedFunction'
--------------
Error Details:
--------------
Undefined function 'generatedFunction_simulation1_withReuse' for input arguments of type 'struct'.
Error in generatedObjectiveLCOE (line 53)
[arg1,~,~,~] = generatedFunction_simulation1_withReuse(arg2(:)', extraParams{1});
Error in optim.internal.problemdef.compile.snapExtraParams
Error in optimfcnchk/checkfun (line 244)
f = userfcn(x,varargin{:});
Error in objfunEvaluator (line 5)
fval = feval(Objfun, x, self.FunArgs.AdditionalParameters{:});
Error in OptimFunctions/objectiveFirstEval (line 645)
[fval, grad, hess] = self.ObjectiveFunAndGrad(self,self.FunFcn{3},...
Error in fmincon (line 501)
[initVals.f,initVals.g,HESSIAN,funObj] = funObj.objectiveFirstEval(X);
Error in run_solver (line 17)
[X_opt,obj_opt,flag,output,lambda,grad,hess] = fmincon(problem);
Error in gradient_optim>optimize_both_objectives (line 89)
[X_opt_raw,obj_opt,flag,output,lambda,grad,hess,problem] = run_solver(prob, obj_names{which_obj}, x0, opts);
Error in gradient_optim (line 43)
[Xs_opt, objs_opt, flags, probs] = optimize_both_objectives(X,p,b,x0_input,opts,ploton,which_objs);
Error in pareto_search (line 8)
[X_opt,objs_opt,~,probs] = gradient_optim(x0,p,b);
Error in all_figures (line 37)
pareto_search();
Error in test/allFiguresRun (line 51)
all_figures(which_figs,which_tabs);
Caused by:
Failure in initial objective function evaluation. FMINCON cannot continue.
Check failure on line 1 in tests/test.m
github-actions / JUnit Test Report
test.allFiguresRun(which_figs=7,which_tabs=0_6)
Error occurred in test/allFiguresRun(which_figs=7,which_tabs=0_6) and it did not run to completion.
---------
Raw output
Error occurred in test/allFiguresRun(which_figs=7,which_tabs=0_6) and it did not run to completion.
---------
Error ID:
---------
'MATLAB:UndefinedFunction'
--------------
Error Details:
--------------
Undefined function 'generatedFunction_simulation1_withReuse' for input arguments of type 'struct'.
Error in generatedObjectiveLCOE (line 53)
[arg1,~,~,~] = generatedFunction_simulation1_withReuse(arg2(:)', extraParams{1});
Error in optim.internal.problemdef.compile.snapExtraParams
Error in optimfcnchk/checkfun (line 244)
f = userfcn(x,varargin{:});
Error in objfunEvaluator (line 5)
fval = feval(Objfun, x, self.FunArgs.AdditionalParameters{:});
Error in OptimFunctions/objectiveFirstEval (line 645)
[fval, grad, hess] = self.ObjectiveFunAndGrad(self,self.FunFcn{3},...
Error in fmincon (line 501)
[initVals.f,initVals.g,HESSIAN,funObj] = funObj.objectiveFirstEval(X);
Error in run_solver (line 17)
[X_opt,obj_opt,flag,output,lambda,grad,hess] = fmincon(problem);
Error in gradient_optim>optimize_both_objectives (line 89)
[X_opt_raw,obj_opt,flag,output,lambda,grad,hess,problem] = run_solver(prob, obj_names{which_obj}, x0, opts);
Error in gradient_optim (line 43)
[Xs_opt, objs_opt, flags, probs] = optimize_both_objectives(X,p,b,x0_input,opts,ploton,which_objs);
Error in pareto_search (line 8)
[X_opt,objs_opt,~,probs] = gradient_optim(x0,p,b);
Error in all_figures (line 37)
pareto_search();
Error in test/allFiguresRun (line 51)
all_figures(which_figs,which_tabs);
Caused by:
Failure in initial objective function evaluation. FMINCON cannot continue.
Check failure on line 1 in dev/MEEM/test_MEEM.m
github-actions / JUnit Test Report
test_MEEM.run
Error occurred in test_MEEM/run and it did not run to completion.
---------
Raw output
Error occurred in test_MEEM/run and it did not run to completion.
---------
Error ID:
---------
'MATLAB:UndefinedFunction'
--------------
Error Details:
--------------
Unrecognized function or variable 'heaving_IC'.
Error in test_MEEM (line 51)
[mu_nondim, lambda_nondim] = run_MEEM(heaving_IC, heaving_OC, auto_BCs, N_num, M_num, K_num, ...
Check failure on line 1 in dev/MEEM/test_MEEM.m
github-actions / JUnit Test Report
test_MEEM.plotHydroCoeffsVsWavenumber
Error occurred in test_MEEM/plotHydroCoeffsVsWavenumber and it did not run to completion.
---------
Raw output
Error occurred in test_MEEM/plotHydroCoeffsVsWavenumber and it did not run to completion.
---------
Error ID:
---------
'MATLAB:UndefinedFunction'
--------------
Error Details:
--------------
Unrecognized function or variable 'm0_nums'.
Error in test_MEEM (line 58)
plot(m0_nums,mu_nondim, m0_nums,lambda_nondim)
Check failure on line 1 in tests/test.m
github-actions / JUnit Test Report
test.validateNominalHydroCoeffs
Error occurred in test/validateNominalHydroCoeffs and it did not run to completion.
---------
Raw output
Error occurred in test/validateNominalHydroCoeffs and it did not run to completion.
---------
Error ID:
---------
'MATLAB:minrhs'
--------------
Error Details:
--------------
Not enough input arguments.
Error in get_hydro_coeffs_MEEM (line 10)
N_num = harmonics;
Error in hydro_coeff_err (line 31)
[A_MDOcean,B_MDOcean,gamma_MDOcean] = get_hydro_coeffs_MEEM(a2, k, d2, a1, d1, h);
Error in test/validateNominalHydroCoeffs (line 68)
mean_err = hydro_coeff_err(false);
Check failure on line 1 in tests/test.m
github-actions / JUnit Test Report
test.allFiguresRun(which_figs=0_4,which_tabs=5)
Error occurred in test/allFiguresRun(which_figs=0_4,which_tabs=5) and it did not run to completion.
---------
Raw output
Error occurred in test/allFiguresRun(which_figs=0_4,which_tabs=5) and it did not run to completion.
---------
Error ID:
---------
'MATLAB:UndefinedFunction'
--------------
Error Details:
--------------
Undefined function 'generatedFunction_simulation1_withReuse' for input arguments of type 'struct'.
Error in generatedObjectiveLCOE (line 53)
[arg1,~,~,~] = generatedFunction_simulation1_withReuse(arg2(:)', extraParams{1});
Error in optim.internal.problemdef.compile.snapExtraParams
Error in optimfcnchk/checkfun (line 244)
f = userfcn(x,varargin{:});
Error in objfunEvaluator (line 5)
fval = feval(Objfun, x, self.FunArgs.AdditionalParameters{:});
Error in OptimFunctions/objectiveFirstEval (line 645)
[fval, grad, hess] = self.ObjectiveFunAndGrad(self,self.FunFcn{3},...
Error in fmincon (line 501)
[initVals.f,initVals.g,HESSIAN,funObj] = funObj.objectiveFirstEval(X);
Error in run_solver (line 17)
[X_opt,obj_opt,flag,output,lambda,grad,hess] = fmincon(problem);
Error in gradient_optim>optimize_both_objectives (line 89)
[X_opt_raw,obj_opt,flag,output,lambda,grad,hess,problem] = run_solver(prob, obj_names{which_obj}, x0, opts);
Error in gradient_optim (line 43)
[Xs_opt, objs_opt, flags, probs] = optimize_both_objectives(X,p,b,x0_input,opts,ploton,which_objs);
Error in compare (line 7)
Xs_opt = gradient_optim(x0_input,p,b);
Error in all_figures (line 49)
compare()
Error in test/allFiguresRun (line 51)
all_figures(which_figs,which_tabs);
Caused by:
Failure in initial objective function evaluation. FMINCON cannot continue.
Check failure on line 1 in tests/test.m
github-actions / JUnit Test Report
test.allFiguresRun(which_figs=0_5,which_tabs=6)
Error occurred in test/allFiguresRun(which_figs=0_5,which_tabs=6) and it did not run to completion.
---------
Raw output
Error occurred in test/allFiguresRun(which_figs=0_5,which_tabs=6) and it did not run to completion.
---------
Error ID:
---------
'MATLAB:UndefinedFunction'
--------------
Error Details:
--------------
Undefined function 'generatedFunction_simulation1_withReuse' for input arguments of type 'struct'.
Error in generatedObjectiveLCOE (line 53)
[arg1,~,~,~] = generatedFunction_simulation1_withReuse(arg2(:)', extraParams{1});
Error in optim.internal.problemdef.compile.snapExtraParams
Error in optimfcnchk/checkfun (line 244)
f = userfcn(x,varargin{:});
Error in objfunEvaluator (line 5)
fval = feval(Objfun, x, self.FunArgs.AdditionalParameters{:});
Error in OptimFunctions/objectiveFirstEval (line 645)
[fval, grad, hess] = self.ObjectiveFunAndGrad(self,self.FunFcn{3},...
Error in fmincon (line 501)
[initVals.f,initVals.g,HESSIAN,funObj] = funObj.objectiveFirstEval(X);
Error in run_solver (line 17)
[X_opt,obj_opt,flag,output,lambda,grad,hess] = fmincon(problem);
Error in gradient_optim>optimize_both_objectives (line 89)
[X_opt_raw,obj_opt,flag,output,lambda,grad,hess,problem] = run_solver(prob, obj_names{which_obj}, x0, opts);
Error in gradient_optim (line 43)
[Xs_opt, objs_opt, flags, probs] = optimize_both_objectives(X,p,b,x0_input,opts,ploton,which_objs);
Error in location_sensitivity (line 24)
[X_opts(:,i), obj_opts(i), flags(i)] = gradient_optim(X,p,b,which_obj);
Error in all_figures (line 80)
location_sensitivity()
Error in test/allFiguresRun (line 51)
all_figures(which_figs,which_tabs);
Caused by:
Failure in initial objective function evaluation. FMINCON cannot continue.
Check failure on line 1 in tests/test.m
github-actions / JUnit Test Report
test.allFiguresRun(which_figs=8,which_tabs=0_7)
Error occurred in test/allFiguresRun(which_figs=8,which_tabs=0_7) and it did not run to completion.
---------
Raw output
Error occurred in test/allFiguresRun(which_figs=8,which_tabs=0_7) and it did not run to completion.
---------
Error ID:
---------
'MATLAB:UndefinedFunction'
--------------
Error Details:
--------------
Undefined function 'generatedFunction_simulation1_withReuse' for input arguments of type 'struct'.
Error in generatedObjectiveLCOE (line 53)
[arg1,~,~,~] = generatedFunction_simulation1_withReuse(arg2(:)', extraParams{1});
Error in optim.internal.problemdef.compile.snapExtraParams
Error in optimfcnchk/checkfun (line 244)
f = userfcn(x,varargin{:});
Error in objfunEvaluator (line 5)
fval = feval(Objfun, x, self.FunArgs.AdditionalParameters{:});
Error in OptimFunctions/objectiveFirstEval (line 645)
[fval, grad, hess] = self.ObjectiveFunAndGrad(self,self.FunFcn{3},...
Error in fmincon (line 501)
[initVals.f,initVals.g,HESSIAN,funObj] = funObj.objectiveFirstEval(X);
Error in run_solver (line 17)
[X_opt,obj_opt,flag,output,lambda,grad,hess] = fmincon(problem);
Error in gradient_optim>optimize_both_objectives (line 89)
[X_opt_raw,obj_opt,flag,output,lambda,grad,hess,problem] = run_solver(prob, obj_names{which_obj}, x0, opts);
Error in gradient_optim (line 43)
[Xs_opt, objs_opt, flags, probs] = optimize_both_objectives(X,p,b,x0_input,opts,ploton,which_objs);
Error in param_sweep (line 29)
x0_vec = gradient_optim(x0,p,b);
Error in all_figures (line 43)
param_sweep()
Error in test/allFiguresRun (line 51)
all_figures(which_figs,which_tabs);
Caused by:
Failure in initial objective function evaluation. FMINCON cannot continue.
Check failure on line 1 in tests/test.m
github-actions / JUnit Test Report
test.allFiguresRun(which_figs=9,which_tabs=0_8)
Error occurred in test/allFiguresRun(which_figs=9,which_tabs=0_8) and it did not run to completion.
---------
Raw output
Error occurred in test/allFiguresRun(which_figs=9,which_tabs=0_8) and it did not run to completion.
---------
Error ID:
---------
'MATLAB:UndefinedFunction'
--------------
Error Details:
--------------
Undefined function 'generatedFunction_simulation1_withReuse' for input arguments of type 'struct'.
Error in generatedObjectiveLCOE (line 53)
[arg1,~,~,~] = generatedFunction_simulation1_withReuse(arg2(:)', extraParams{1});
Error in optim.internal.problemdef.compile.snapExtraParams
Error in optimfcnchk/checkfun (line 244)
f = userfcn(x,varargin{:});
Error in objfunEvaluator (line 5)
fval = feval(Objfun, x, self.FunArgs.AdditionalParameters{:});
Error in OptimFunctions/objectiveFirstEval (line 645)
[fval, grad, hess] = self.ObjectiveFunAndGrad(self,self.FunFcn{3},...
Error in fmincon (line 501)
[initVals.f,initVals.g,HESSIAN,funObj] = funObj.objectiveFirstEval(X);
Error in run_solver (line 17)
[X_opt,obj_opt,flag,output,lambda,grad,hess] = fmincon(problem);
Error in gradient_optim>optimize_both_objectives (line 89)
[X_opt_raw,obj_opt,flag,output,lambda,grad,hess,problem] = run_solver(prob, obj_names{which_obj}, x0, opts);
Error in gradient_optim (line 43)
[Xs_opt, objs_opt, flags, probs] = optimize_both_objectives(X,p,b,x0_input,opts,ploton,which_objs);
Error in compare (line 7)
Xs_opt = gradient_optim(x0_input,p,b);
Error in all_figures (line 49)
compare()
Error in test/allFiguresRun (line 51)
all_figures(which_figs,which_tabs);
Caused by:
Failure in initial objective function evaluation. FMINCON cannot continue.
Check failure on line 1 in tests/test.m
github-actions / JUnit Test Report
test.allFiguresRun(which_figs=10,which_tabs=0_9)
Error occurred in test/allFiguresRun(which_figs=10,which_tabs=0_9) and it did not run to completion.
---------
Raw output
Error occurred in test/allFiguresRun(which_figs=10,which_tabs=0_9) and it did not run to completion.
---------
Error ID:
---------
'MATLAB:UndefinedFunction'
--------------
Error Details:
--------------
Undefined function 'generatedFunction_simulation1_withReuse' for input arguments of type 'struct'.
Error in generatedObjectiveLCOE (line 53)
[arg1,~,~,~] = generatedFunction_simulation1_withReuse(arg2(:)', extraParams{1});
Error in optim.internal.problemdef.compile.snapExtraParams
Error in optimfcnchk/checkfun (line 244)
f = userfcn(x,varargin{:});
Error in objfunEvaluator (line 5)
fval = feval(Objfun, x, self.FunArgs.AdditionalParameters{:});
Error in OptimFunctions/objectiveFirstEval (line 645)
[fval, grad, hess] = self.ObjectiveFunAndGrad(self,self.FunFcn{3},...
Error in fmincon (line 501)
[initVals.f,initVals.g,HESSIAN,funObj] = funObj.objectiveFirstEval(X);
Error in run_solver (line 17)
[X_opt,obj_opt,flag,output,lambda,grad,hess] = fmincon(problem);
Error in gradient_optim>optimize_both_objectives (line 89)
[X_opt_raw,obj_opt,flag,output,lambda,grad,hess,problem] = run_solver(prob, obj_names{which_obj}, x0, opts);
Error in gradient_optim (line 43)
[Xs_opt, objs_opt, flags, probs] = optimize_both_objectives(X,p,b,x0_input,opts,ploton,which_objs);
Error in compare (line 7)
Xs_opt = gradient_optim(x0_input,p,b);
Error in all_figures (line 49)
compare()
Error in test/allFiguresRun (line 51)
all_figures(which_figs,which_tabs);
Caused by:
Failure in initial objective function evaluation. FMINCON cannot continue.
Check failure on line 1 in tests/test.m
github-actions / JUnit Test Report
test.validateNominal(field=FOS_b,rel_tol=0.1_7)
Verification failed in test/validateNominal(field=FOS_b,rel_tol=0.1_7).
---------------------
Raw output
Verification failed in test/validateNominal(field=FOS_b,rel_tol=0.1_7).
---------------------
Framework Diagnostic:
---------------------
verifyEqual failed.
--> The numeric values are not equal using "isequaln".
--> The error was not within relative tolerance.
--> Failure table:
Actual Expected Error RelativeError RelativeTolerance
_______________ ________ _______________ _______________ _________________
63.793005293448 3 60.793005293448 20.264335097816 0.1
Actual Value:
63.793005293447997
Expected Value:
3
------------------
Stack Information:
------------------
In /home/runner/work/MDOcean/MDOcean/tests/test.m (test.validateNominal) at 57
Check failure on line 1 in tests/test.m
github-actions / JUnit Test Report
test.validateNominal(field=c_v,rel_tol=0.1_8)
Verification failed in test/validateNominal(field=c_v,rel_tol=0.1_8).
---------------------
Raw output
Verification failed in test/validateNominal(field=c_v,rel_tol=0.1_8).
---------------------
Framework Diagnostic:
---------------------
verifyEqual failed.
--> The numeric values are not equal using "isequaln".
--> The error was not within relative tolerance.
--> Failure table:
Actual Expected Error RelativeError RelativeTolerance
________________ ________________ ________________ _________________ _________________
90.0267396117735 71.0526622304404 18.9740773813331 0.267042455352281 0.1
Actual Value:
90.026739611773536
Expected Value:
71.052662230440447
------------------
Stack Information:
------------------
In /home/runner/work/MDOcean/MDOcean/tests/test.m (test.validateNominal) at 57