Skip to content

Failed

gpkit.tests.from_paths.TestFiles.test_gassolar_gas_gas_py_mosek_cli (from gpkit.tests.from_paths.TestFiles-20171026092643)

Failing for the past 1 build (Since Failed #25 )
Took 7 ms.

Error Message

setup() takes exactly 1 argument (2 given)

Stacktrace

Traceback (most recent call last):
  File "d:\jenkins\workspace\gpkit_commons_pr_models\buildnode\windows7x64\optimizer\mosek\gpkit\gpkit\tests\helpers.py", line 62, in test
    testfn(name, import_dict, path)(self)
  File "d:\jenkins\workspace\gpkit_commons_pr_models\buildnode\windows7x64\optimizer\mosek\gpkit\gpkit\tests\from_paths.py", line 50, in <lambda>
    lambda self: getattr(self, name)()))  # pylint:disable=undefined-variable
  File "d:\jenkins\workspace\gpkit_commons_pr_models\buildnode\windows7x64\optimizer\mosek\gpkit\gpkit\tests\from_paths.py", line 41, in test_fn
    mod.test()
  File "gas.py", line 210, in test
  File "d:\jenkins\workspace\gpkit_commons_pr_models\buildnode\windows7x64\optimizer\mosek\gpkit\gpkit\constraints\model.py", line 59, in __init__
    cs = self.setup(*args, **kwargs)  # pylint: disable=no-member
  File "gas.py", line 176, in setup
  File "d:\jenkins\workspace\gpkit_commons_pr_models\buildnode\windows7x64\optimizer\mosek\gpkit\gpkit\constraints\model.py", line 59, in __init__
    cs = self.setup(*args, **kwargs)  # pylint: disable=no-member
  File "gas.py", line 23, in setup
  File "d:\jenkins\workspace\gpkit_commons_pr_models\buildnode\windows7x64\optimizer\mosek\gpkit\gpkit\constraints\model.py", line 59, in __init__
    cs = self.setup(*args, **kwargs)  # pylint: disable=no-member
TypeError: setup() takes exactly 1 argument (2 given)
		

Standard Output

Using solver 'mosek'
Solving for 79 variables.
Solving took 0.031 seconds.
Using solver 'mosek_cli'
Solving for 79 variables.
Solving took 0.716 seconds.
Warning: Constraint [z_{bre}_Mission/Loiter/FlightSegment/BreguetEndurance_(0,)... >= 2.45*BSFC_Mission/Loiter/FlightSegment/AircraftPerf_(0,)*P_{total}_Mission/Loiter/FlightSegment/Airc...] is not tight because the left hand side evaluated to 0.214977910069 but the right hand side evaluated to 0.214989698854 (Allowable error: 0.0001%, Actual error: 0.0055%)

Warning: Constraint [z_{bre}_Mission/Loiter/FlightSegment/BreguetEndurance_(1,)... >= 2.45*BSFC_Mission/Loiter/FlightSegment/AircraftPerf_(1,)*P_{total}_Mission/Loiter/FlightSegment/Airc...] is not tight because the left hand side evaluated to 0.201770170325 but the right hand side evaluated to 0.201762268291 (Allowable error: 0.0001%, Actual error: 0.0039%)

Warning: Constraint [z_{bre}_Mission/Loiter/FlightSegment/BreguetEndurance_(2,)... >= 2.45*BSFC_Mission/Loiter/FlightSegment/AircraftPerf_(2,)*P_{total}_Mission/Loiter/FlightSegment/Airc...] is not tight because the left hand side evaluated to 0.197669269687 but the right hand side evaluated to 0.197658365699 (Allowable error: 0.0001%, Actual error: 0.0055%)

Warning: Constraint [z_{bre}_Mission/Loiter/FlightSegment/BreguetEndurance_(3,)... >= 2.45*BSFC_Mission/Loiter/FlightSegment/AircraftPerf_(3,)*P_{total}_Mission/Loiter/FlightSegment/Airc...] is not tight because the left hand side evaluated to 0.201770372096 but the right hand side evaluated to 0.201762268291 (Allowable error: 0.0001%, Actual error: 0.004%)

Warning: Constraint [z_{bre}_Mission/Loiter/FlightSegment/BreguetEndurance_(4,)... >= 2.45*BSFC_Mission/Loiter/FlightSegment/AircraftPerf_(4,)*P_{total}_Mission/Loiter/FlightSegment/Airc...] is not tight because the left hand side evaluated to 0.214978340025 but the right hand side evaluated to 0.214978949638 (Allowable error: 0.0001%, Actual error: 0.00028%)

	

Standard Error