Skip to content

Failed

gpkit.tests.from_paths.TestFiles.test_gpkitmodels_GP_aircraft_motor_motor_test_py_mosek_cli (from gpkit.tests.from_paths.TestFiles-20200302160154)

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

Error Message

imize_fn() got an unexpected keyword argument 'use_leqs'

Stacktrace

Traceback (most recent call last):
  File "/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gpkit/gpkit/tests/helpers.py", line 64, in test
    testfn(name, import_dict, path)(self)
  File "/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 "/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gpkit/gpkit/tests/from_paths.py", line 40, in test_fn
    mod.test()
  File "/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gplibrary/gpkitmodels/GP/aircraft/motor/motor_test.py", line 104, in test
    ME_propulsor_test()
  File "/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gplibrary/gpkitmodels/GP/aircraft/motor/motor_test.py", line 53, in ME_propulsor_test
    sol = test.localsolve(use_leqs=False)  # cvxopt gets singular with leqs
  File "/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gpkit/gpkit/constraints/prog_factories.py", line 124, in solvefn
    result = progsolve(solver, verbosity, **kwargs)
  File "/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gpkit/gpkit/constraints/sgp.py", line 137, in localsolve
    gen_result=False, **kwargs)
  File "/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gpkit/gpkit/constraints/gp.py", line 152, in solve
    solverfn, solvername = _get_solver(solver, kwargs)
  File "/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.201 seconds.
Using solver 'mosek_conif'
Solving for 11 variables.
Solving took 0.0206 seconds.
Using solver 'mosek_cli'
Solving for 9 variables.
Solving took 0.123 seconds.
Using solver 'mosek_cli'
Solving for 25 variables.
Solving took 0.225 seconds.
Using solver 'mosek_cli'
Solving for 25 variables.
Solving took 0.153 seconds.
Beginning signomial solve.
Using solver 'mosek_conif'
Solving for 9 variables.
Solving took 0.0186 seconds.
Using solver 'mosek_conif'
Solving for 25 variables.
Solving took 0.02 seconds.
Using solver 'mosek_conif'
Solving for 25 variables.
Solving took 0.0203 seconds.
Beginning signomial solve.
Solving took 16 GP solves and 0.933 seconds.
Using solver 'mosek_cli'
Solving for 13 variables.
Solving took 0.147 seconds.
Beginning signomial solve.
Solving took 11 GP solves and 2.51 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.0182 seconds.
Beginning signomial solve.
Solving took 11 GP solves and 0.944 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 1619841.1510 but bound is 700000.0000
Warning: Variable TailAero.Re could cause inaccurate result because it is above upper bound. Solution is 2220959.7939 but bound is 1000000.0000
Warning: Variable TailAero1.Re could cause inaccurate result because it is above upper bound. Solution is 2499796.7837 but bound is 1000000.0000
Warning: Variable TailAero4.Re could cause inaccurate result because it is above upper bound. Solution is 2220953.3820 but bound is 1000000.0000
Warning: Variable TailAero5.Re could cause inaccurate result because it is above upper bound. Solution is 2499787.8945 but bound is 1000000.0000
Warning: Variable TailAero6.Re could cause inaccurate result because it is above upper bound. Solution is 2223878.4787 but bound is 1000000.0000
Warning: Variable TailAero7.Re could cause inaccurate result because it is above upper bound. Solution is 2223878.3520 but bound is 1000000.0000
Warning: Variable TailAero8.Re could cause inaccurate result because it is above upper bound. Solution is 1853895.7255 but bound is 1000000.0000
Warning: Variable TailAero9.Re could cause inaccurate result because it is above upper bound. Solution is 1853896.2483 but bound is 1000000.0000
Warning: Variable WingAero.Re could cause inaccurate result because it is above upper bound. Solution is 1884889.9591 but bound is 700000.0000
Warning: Variable WingAero1.Re could cause inaccurate result because it is above upper bound. Solution is 1910412.9866 but bound is 700000.0000
Warning: Variable WingAero.Re could cause inaccurate result because it is above upper bound. Solution is 1910419.1219 but bound is 700000.0000
Warning: Variable WingAero1.Re could cause inaccurate result because it is above upper bound. Solution is 1910419.6940 but bound is 700000.0000
Beginning signomial solve.
Using solver 'mosek_cli'
Solving for 20 variables.
Solving took 0.158 seconds.
Using solver 'mosek_cli'
Solving for 20 variables.
Solving took 0.104 seconds.
Using solver 'mosek_cli'
Solving for 20 variables.
Solving took 0.0857 seconds.
Using solver 'mosek_cli'
Solving for 20 variables.
Solving took 0.107 seconds.
Solving took 4 GP solves and 0.465 seconds.
Beginning signomial solve.
Using solver 'mosek_conif'
Solving for 20 variables.
Solving took 0.0233 seconds.
Using solver 'mosek_conif'
Solving for 20 variables.
Solving took 0.018 seconds.
Using solver 'mosek_conif'
Solving for 20 variables.
Solving took 0.0207 seconds.
Using solver 'mosek_conif'
Solving for 20 variables.
Solving took 0.0178 seconds.
Solving took 4 GP solves and 0.0876 seconds.
	

Standard Error

/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/venv2_gpkit/lib/python3.5/site-packages/pint/quantity.py:1377: UnitStrippedWarning: The unit of the quantity is stripped.
  warnings.warn("The unit of the quantity is stripped.", UnitStrippedWarning)
/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/venv2_gpkit/lib/python3.5/site-packages/pint/quantity.py:1377: UnitStrippedWarning: The unit of the quantity is stripped.
  warnings.warn("The unit of the quantity is stripped.", UnitStrippedWarning)
/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/venv2_gpkit/lib/python3.5/site-packages/pint/quantity.py:1377: UnitStrippedWarning: The unit of the quantity is stripped.
  warnings.warn("The unit of the quantity is stripped.", UnitStrippedWarning)
/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/venv2_gpkit/lib/python3.5/site-packages/pint/quantity.py:1377: UnitStrippedWarning: The unit of the quantity is stripped.
  warnings.warn("The unit of the quantity is stripped.", UnitStrippedWarning)
/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/venv2_gpkit/lib/python3.5/site-packages/pint/quantity.py:1377: UnitStrippedWarning: The unit of the quantity is stripped.
  warnings.warn("The unit of the quantity is stripped.", UnitStrippedWarning)
/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/venv2_gpkit/lib/python3.5/site-packages/pint/quantity.py:1377: UnitStrippedWarning: The unit of the quantity is stripped.
  warnings.warn("The unit of the quantity is stripped.", UnitStrippedWarning)