Skip to content

Failed

gpkit.tests.from_paths.TestFiles.test_SPaircraft_py_mosek_cli (from gpkit.tests.from_paths.TestFiles-20210802120310)

Failing for the past 1 build (Since Failed #258 )
Took 2.4 sec.

Error Message

'NoneType' object has no attribute 'debug'

Stacktrace

Traceback (most recent call last):
  File "/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gpkit/gpkit/tests/helpers.py", line 55, in test
    testfn(name, import_dict, path)(self)
  File "/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gpkit/gpkit/tests/from_paths.py", line 48, 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 34, in test_fn
    mod = __import__(os.path.basename(path)[:-3])
  File "/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/SPaircraft/SPaircraft.py", line 89, in <module>
    sol = test()
  File "/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/SPaircraft/SPaircraft.py", line 82, in test
    sol = optimize_aircraft(m, substitutions, fixedBPR, pRatOpt)
  File "/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/SPaircraft/SPaircraft.py", line 60, in optimize_aircraft
    sol = m.localsolve(verbosity=2, iteration_limit=200, reltol=0.01)
  File "/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gpkit/gpkit/constraints/prog_factories.py", line 133, in solvefn
    result = progsolve(solver, verbosity=verbosity, **kwargs)
  File "/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gpkit/gpkit/constraints/sgp.py", line 160, in localsolve
    gen_result=False, **solveargs)
  File "/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gpkit/gpkit/constraints/gp.py", line 246, in solve
    return self.model.debug(solver=solver)
AttributeError: 'NoneType' object has no attribute 'debug'
		

Standard Output

Starting a sequence of GP solves
 for 317 free variables
  in 136 locally-GP constraints
  and for 1198 free variables
       in 4596 posynomial inequalities.

GP Solve 1
Using solver 'mosek_cli'
 for 1198 free variables
  in 4596 posynomial inequalities.
Solving took 0.642 seconds.
Solved cost was 3.965e+40.

GP Solve 2
Using solver 'mosek_cli'
 for 1198 free variables
  in 4596 posynomial inequalities.
Solving took 0.0577 seconds.
Solver failed for an unknown reason. Relaxing constraints/constants, bounding variables, or using a different solver might fix it.
Since the model solved in less than a second, let's run `.debug()` to analyze what happened.
`
Starting a sequence of GP solves
 for 317 free variables
  in 136 locally-GP constraints
  and for 1198 free variables
       in 4596 posynomial inequalities.

GP Solve 1
Using solver 'mosek_conif'
 for 1198 free variables
  in 4596 posynomial inequalities.
Solving took 0.361 seconds.
Solved cost was 3.965e+40.

GP Solve 2
Using solver 'mosek_conif'
 for 1198 free variables
  in 4596 posynomial inequalities.
Solving took 0.366 seconds.
Solved cost was 3.408e+297.

GP Solve 3
Using solver 'mosek_conif'
 for 1198 free variables
  in 4596 posynomial inequalities.
Solving took 0.435 seconds.
Solved cost was 1.123e+274.

GP Solve 4
Using solver 'mosek_conif'
 for 1198 free variables
  in 4596 posynomial inequalities.
Solving took 0.337 seconds.
Solved cost was 6.799e+273.

GP Solve 5
Using solver 'mosek_conif'
 for 1198 free variables
  in 4596 posynomial inequalities.
Solving took 0.321 seconds.
Solved cost was 4.353e+273.

GP Solve 6
Using solver 'mosek_conif'
 for 1198 free variables
  in 4596 posynomial inequalities.
Solving took 0.297 seconds.
Solved cost was 4.261e+273.

GP Solve 7
Using solver 'mosek_conif'
 for 1198 free variables
  in 4596 posynomial inequalities.
Solving took 0.269 seconds.
Solved cost was 4.342e+273.

GP Solve 8
Using solver 'mosek_conif'
 for 1198 free variables
  in 4596 posynomial inequalities.
Solving took 0.349 seconds.
Solved cost was 4.303e+273.

GP Solve 9
Using solver 'mosek_conif'
 for 1198 free variables
  in 4596 posynomial inequalities.
Solving took 0.278 seconds.
Solved cost was 4.323e+273.

GP Solve 10
Using solver 'mosek_conif'
 for 1198 free variables
  in 4596 posynomial inequalities.
Solving took 0.314 seconds.
Solved cost was 4.292e+273.

GP Solve 11
Using solver 'mosek_conif'
 for 1198 free variables
  in 4596 posynomial inequalities.
Solving took 0.3 seconds.
Solved cost was 4.329e+273.

GP Solve 12
Using solver 'mosek_conif'
 for 1198 free variables
  in 4596 posynomial inequalities.
Solving took 0.548 seconds.
Solved cost was 4.304e+273.

GP Solve 13
Using solver 'mosek_conif'
 for 1198 free variables
  in 4596 posynomial inequalities.
Solving took 0.321 seconds.
Solved cost was 4.153e+273.

GP Solve 14
Using solver 'mosek_conif'
 for 1198 free variables
  in 4596 posynomial inequalities.
Solving took 0.417 seconds.
Solved cost was 4.322e+273.

GP Solve 15
Using solver 'mosek_conif'
 for 1198 free variables
  in 4596 posynomial inequalities.
Solving took 0.453 seconds.
Solved cost was 4.236e+273.

GP Solve 16
Using solver 'mosek_conif'
 for 1198 free variables
  in 4596 posynomial inequalities.
Solving took 0.462 seconds.
Solved cost was 4.117e+273.

GP Solve 17
Using solver 'mosek_conif'
 for 1198 free variables
  in 4596 posynomial inequalities.
Solving took 0.45 seconds.
Solved cost was 4.328e+273.

GP Solve 18
Using solver 'mosek_conif'
 for 1198 free variables
  in 4596 posynomial inequalities.
Solving took 0.447 seconds.
Solved cost was 4.184e+273.

GP Solve 19
Using solver 'mosek_conif'
 for 1198 free variables
  in 4596 posynomial inequalities.
Solving took 0.531 seconds.
Solved cost was 4.265e+273.

GP Solve 20
Using solver 'mosek_conif'
 for 1198 free variables
  in 4596 posynomial inequalities.
Solving took 0.356 seconds.
Solved cost was 4.182e+273.

GP Solve 21
Using solver 'mosek_conif'
 for 1198 free variables
  in 4596 posynomial inequalities.
Solving took 0.402 seconds.
Solved cost was 4.273e+273.

GP Solve 22
Using solver 'mosek_conif'
 for 1198 free variables
  in 4596 posynomial inequalities.
Solving took 0.351 seconds.
Solved cost was 4.191e+273.

GP Solve 23
Using solver 'mosek_conif'
 for 1198 free variables
  in 4596 posynomial inequalities.
Solving took 0.303 seconds.
Solved cost was 3.994e+273.

GP Solve 24
Using solver 'mosek_conif'
 for 1198 free variables
  in 4596 posynomial inequalities.
Solving took 0.311 seconds.
Solved cost was 4.302e+273.

GP Solve 25
Using solver 'mosek_conif'
 for 1198 free variables
  in 4596 posynomial inequalities.
Solving took 0.465 seconds.
Solved cost was 4.344e+273.

GP Solve 26
Using solver 'mosek_conif'
 for 1198 free variables
  in 4596 posynomial inequalities.
Solving took 0.381 seconds.
Solved cost was 4.255e+273.

GP Solve 27
Using solver 'mosek_conif'
 for 1198 free variables
  in 4596 posynomial inequalities.
Solving took 0.44 seconds.
Solved cost was 4.246e+273.
	

Standard Error

/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gpkit/gpkit/constraints/sgp.py:180: UserWarning: SGP not convergent: Cost rose by 8.6e+258% (3.96464e+40 to 3.4075e+297) on GP solve 2. Details can be found in `m.program.results` or by solving at a higher verbosity. Note convergence is not guaranteed for models with SignomialEqualities.
  prevcost, cost, len(self.gps)))
/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gpkit/gpkit/constraints/sgp.py:180: UserWarning: SGP not convergent: Cost rose by 1.9% (4.26061e+273 to 4.34159e+273) on GP solve 7. Details can be found in `m.program.results` or by solving at a higher verbosity. Note convergence is not guaranteed for models with SignomialEqualities.
  prevcost, cost, len(self.gps)))
/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gpkit/gpkit/constraints/sgp.py:180: UserWarning: SGP not convergent: Cost rose by 0.47% (4.30294e+273 to 4.32318e+273) on GP solve 9. Details can be found in `m.program.results` or by solving at a higher verbosity. Note convergence is not guaranteed for models with SignomialEqualities.
  prevcost, cost, len(self.gps)))
/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gpkit/gpkit/constraints/sgp.py:180: UserWarning: SGP not convergent: Cost rose by 0.88% (4.2917e+273 to 4.32946e+273) on GP solve 11. Details can be found in `m.program.results` or by solving at a higher verbosity. Note convergence is not guaranteed for models with SignomialEqualities.
  prevcost, cost, len(self.gps)))
/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gpkit/gpkit/constraints/sgp.py:180: UserWarning: SGP not convergent: Cost rose by 4.1% (4.15282e+273 to 4.32157e+273) on GP solve 14. Details can be found in `m.program.results` or by solving at a higher verbosity. Note convergence is not guaranteed for models with SignomialEqualities.
  prevcost, cost, len(self.gps)))
/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gpkit/gpkit/constraints/sgp.py:180: UserWarning: SGP not convergent: Cost rose by 5.1% (4.11699e+273 to 4.32841e+273) on GP solve 17. Details can be found in `m.program.results` or by solving at a higher verbosity. Note convergence is not guaranteed for models with SignomialEqualities.
  prevcost, cost, len(self.gps)))
/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gpkit/gpkit/constraints/sgp.py:180: UserWarning: SGP not convergent: Cost rose by 1.9% (4.1845e+273 to 4.26544e+273) on GP solve 19. Details can be found in `m.program.results` or by solving at a higher verbosity. Note convergence is not guaranteed for models with SignomialEqualities.
  prevcost, cost, len(self.gps)))
/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gpkit/gpkit/constraints/sgp.py:180: UserWarning: SGP not convergent: Cost rose by 2.2% (4.18223e+273 to 4.27328e+273) on GP solve 21. Details can be found in `m.program.results` or by solving at a higher verbosity. Note convergence is not guaranteed for models with SignomialEqualities.
  prevcost, cost, len(self.gps)))
/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gpkit/gpkit/constraints/sgp.py:180: UserWarning: SGP not convergent: Cost rose by 7.7% (3.99433e+273 to 4.30169e+273) on GP solve 24. Details can be found in `m.program.results` or by solving at a higher verbosity. Note convergence is not guaranteed for models with SignomialEqualities.
  prevcost, cost, len(self.gps)))