Skip to content

Failed

gpkit.tests.from_paths.TestFiles.test_gpkitmodels_GP_aircraft_tail_tail_tests_py_mosek_cli (from gpkit.tests.from_paths.TestFiles-20200302155401)

Failing for the past 1 build (Since Failed #214 )
Took 0.37 sec.

Error Message

imize_fn() got an unexpected keyword argument 'use_leqs'

Stacktrace

Traceback (most recent call last):
  File "/Users/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gpkit/gpkit/tests/helpers.py", line 64, in test
    testfn(name, import_dict, path)(self)
  File "/Users/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gpkit/gpkit/tests/from_paths.py", line 51, in <lambda>
    lambda self: getattr(self, name)()))  # pylint:disable=undefined-variable
  File "/Users/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gpkit/gpkit/tests/from_paths.py", line 40, in test_fn
    mod.test()
  File "/Users/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gplibrary/gpkitmodels/GP/aircraft/tail/tail_tests.py", line 119, in test
    test_emp()
  File "/Users/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gplibrary/gpkitmodels/GP/aircraft/tail/tail_tests.py", line 73, in test_emp
    m.solve(verbosity=0, use_leqs=False)  # cvxopt gets singular with leqs
  File "/Users/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gpkit/gpkit/constraints/prog_factories.py", line 124, in solvefn
    result = progsolve(solver, verbosity, **kwargs)
  File "/Users/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gpkit/gpkit/constraints/gp.py", line 152, in solve
    solverfn, solvername = _get_solver(solver, kwargs)
  File "/Users/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gpkit/gpkit/constraints/gp.py", line 38, in _get_solver
    solverfn = cli_expopt.imize_fn(**kwargs)
TypeError: imize_fn() got an unexpected keyword argument 'use_leqs'
		

Standard Output

Using solver 'mosek_cli'
Solving for 11 variables.
Solving took 0.0679 seconds.
Using solver 'mosek_conif'
Solving for 11 variables.
Solving took 0.015 seconds.
Using solver 'mosek_cli'
Solving for 13 variables.
Solving took 0.0505 seconds.
Beginning signomial solve.
Solving took 11 GP solves and 0.914 seconds.
Warning: Variable BladeElementProp.BladeElementPerf.cl[:] could cause inaccurate result because it is below lower bound. Solution is 0.6000 but bound is 0.4742
Warning: Variable BladeElementProp.BladeElementPerf.Re[:] could cause inaccurate result because it is above upper bound. Solution is 1619891.9379 but bound is 700000.0000
Using solver 'mosek_conif'
Solving for 13 variables.
Solving took 0.0126 seconds.
Beginning signomial solve.
Solving took 11 GP solves and 0.658 seconds.
Warning: Variable BladeElementProp.BladeElementPerf.cl[:] could cause inaccurate result because it is below lower bound. Solution is 0.6000 but bound is 0.4742
Warning: Variable BladeElementProp.BladeElementPerf.Re[:] could cause inaccurate result because it is above upper bound. Solution is 1619714.7494 but bound is 700000.0000
Couldn't auto-differentiate linked variable HorizontalTail.Planform.cbarmac
  (to raise the error directly for debugging purposes, set gpkit.settings["ad_errors_raise"] to True)
Warning: Variable TailAero.Re could cause inaccurate result because it is above upper bound. Solution is 2220959.7939 but bound is 1000000.0000
Couldn't auto-differentiate linked variable VerticalTail.Planform.cbarmac
  (to raise the error directly for debugging purposes, set gpkit.settings["ad_errors_raise"] to True)
Warning: Variable TailAero1.Re could cause inaccurate result because it is above upper bound. Solution is 2499796.7837 but bound is 1000000.0000
Couldn't auto-differentiate linked variable Empennage.HorizontalTail.Planform.cbarmac
  (to raise the error directly for debugging purposes, set gpkit.settings["ad_errors_raise"] to True)
Couldn't auto-differentiate linked variable Empennage.VerticalTail.Planform.cbarmac
  (to raise the error directly for debugging purposes, set gpkit.settings["ad_errors_raise"] to True)
Couldn't auto-differentiate linked variable HorizontalTail1.Planform.cbarmac
  (to raise the error directly for debugging purposes, set gpkit.settings["ad_errors_raise"] to True)
Warning: Variable TailAero4.Re could cause inaccurate result because it is above upper bound. Solution is 2220953.3820 but bound is 1000000.0000
Couldn't auto-differentiate linked variable VerticalTail1.Planform.cbarmac
  (to raise the error directly for debugging purposes, set gpkit.settings["ad_errors_raise"] to True)
Warning: Variable TailAero5.Re could cause inaccurate result because it is above upper bound. Solution is 2499787.8943 but bound is 1000000.0000
Couldn't auto-differentiate linked variable Empennage1.HorizontalTail.Planform.cbarmac
  (to raise the error directly for debugging purposes, set gpkit.settings["ad_errors_raise"] to True)
Couldn't auto-differentiate linked variable Empennage1.VerticalTail.Planform.cbarmac
  (to raise the error directly for debugging purposes, set gpkit.settings["ad_errors_raise"] to True)
Warning: Variable TailAero6.Re could cause inaccurate result because it is above upper bound. Solution is 2223878.4696 but bound is 1000000.0000
Warning: Variable TailAero7.Re could cause inaccurate result because it is above upper bound. Solution is 2223878.5307 but bound is 1000000.0000
Couldn't auto-differentiate linked variable Empennage2.HorizontalTail.Planform.cbarmac
  (to raise the error directly for debugging purposes, set gpkit.settings["ad_errors_raise"] to True)
Couldn't auto-differentiate linked variable Empennage2.VerticalTail.Planform.cbarmac
  (to raise the error directly for debugging purposes, set gpkit.settings["ad_errors_raise"] to True)
Warning: Variable TailAero8.Re could cause inaccurate result because it is above upper bound. Solution is 1853893.3429 but bound is 1000000.0000
Warning: Variable TailAero9.Re could cause inaccurate result because it is above upper bound. Solution is 1853895.6813 but bound is 1000000.0000
Couldn't auto-differentiate linked variable Wing.Planform.cbarmac
  (to raise the error directly for debugging purposes, set gpkit.settings["ad_errors_raise"] to True)
Warning: Variable WingAero.Re could cause inaccurate result because it is above upper bound. Solution is 1884889.9591 but bound is 700000.0000
Couldn't auto-differentiate linked variable Wing1.Planform.cbarmac
  (to raise the error directly for debugging purposes, set gpkit.settings["ad_errors_raise"] to True)
Warning: Variable WingAero1.Re could cause inaccurate result because it is above upper bound. Solution is 1910412.9866 but bound is 700000.0000
Couldn't auto-differentiate linked variable Wing.Planform.cbarmac
  (to raise the error directly for debugging purposes, set gpkit.settings["ad_errors_raise"] to True)
Warning: Variable WingAero.Re could cause inaccurate result because it is above upper bound. Solution is 1910419.5446 but bound is 700000.0000
Couldn't auto-differentiate linked variable Wing1.Planform.cbarmac
  (to raise the error directly for debugging purposes, set gpkit.settings["ad_errors_raise"] to True)
Warning: Variable WingAero1.Re could cause inaccurate result because it is above upper bound. Solution is 1910419.4577 but bound is 700000.0000
Beginning signomial solve.
Using solver 'mosek_cli'
Solving for 20 variables.
Solving took 0.0572 seconds.
Using solver 'mosek_cli'
Solving for 20 variables.
Solving took 0.0538 seconds.
Using solver 'mosek_cli'
Solving for 20 variables.
Solving took 0.0432 seconds.
Using solver 'mosek_cli'
Solving for 20 variables.
Solving took 0.0552 seconds.
Solving took 4 GP solves and 0.223 seconds.
Beginning signomial solve.
Using solver 'mosek_conif'
Solving for 20 variables.
Solving took 0.0204 seconds.
Using solver 'mosek_conif'
Solving for 20 variables.
Solving took 0.0158 seconds.
Using solver 'mosek_conif'
Solving for 20 variables.
Solving took 0.015 seconds.
Using solver 'mosek_conif'
Solving for 20 variables.
Solving took 0.0166 seconds.
Solving took 4 GP solves and 0.0741 seconds.
	

Standard Error

/Users/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/venv2_gpkit/lib/python3.7/site-packages/numpy/core/_asarray.py:138: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray.
  return array(a, dtype, copy=False, order=order, subok=True)
/Users/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/venv2_gpkit/lib/python3.7/site-packages/numpy/core/fromnumeric.py:90: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray.
  return ufunc.reduce(obj, axis, dtype, out, **passkwargs)
/Users/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gpkit/gpkit/constraints/prog_factories.py:32: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray.
  array_calulated[v.veckey] = np.array(ofn(kdc))
/Users/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/venv2_gpkit/lib/python3.7/site-packages/numpy/core/fromnumeric.py:90: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray.
  return ufunc.reduce(obj, axis, dtype, out, **passkwargs)
/Users/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gpkit/gpkit/constraints/prog_factories.py:32: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray.
  array_calulated[v.veckey] = np.array(ofn(kdc))
/Users/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/venv2_gpkit/lib/python3.7/site-packages/numpy/core/fromnumeric.py:90: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray.
  return ufunc.reduce(obj, axis, dtype, out, **passkwargs)
/Users/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gpkit/gpkit/constraints/prog_factories.py:32: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray.
  array_calulated[v.veckey] = np.array(ofn(kdc))
/Users/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/venv2_gpkit/lib/python3.7/site-packages/numpy/core/fromnumeric.py:90: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray.
  return ufunc.reduce(obj, axis, dtype, out, **passkwargs)
/Users/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gpkit/gpkit/constraints/prog_factories.py:32: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray.
  array_calulated[v.veckey] = np.array(ofn(kdc))
/Users/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/venv2_gpkit/lib/python3.7/site-packages/numpy/core/fromnumeric.py:90: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray.
  return ufunc.reduce(obj, axis, dtype, out, **passkwargs)
/Users/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gpkit/gpkit/constraints/prog_factories.py:32: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray.
  array_calulated[v.veckey] = np.array(ofn(kdc))