(view as text)
ctest -V
 in dir /Users/libcellml/BuildSlave/Unit_Tests_Builder_Mac_OSX_10_12/libcellml-build (timeout 1200 secs)
 watching logfiles {}
 argv: ['ctest', '-V']
 environment:
  HOME=/Users/libcellml
  LOGNAME=libcellml
  PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
  PWD=/Users/libcellml/BuildSlave/Unit_Tests_Builder_Mac_OSX_10_12/libcellml-build
  SHELL=/bin/bash
  TMPDIR=/var/folders/cx/hvwlszcd0zs_5hkzc6spk9jm0000gq/T/
  USER=libcellml
  VERSIONER_PYTHON_PREFER_32_BIT=no
  VERSIONER_PYTHON_VERSION=2.7
  XPC_FLAGS=0x0
  XPC_SERVICE_NAME=net.sourceforge.buildbot.slave.libcellml
  __CF_USER_TEXT_ENCODING=0x1F7:0:0
 using PTY: False
UpdateCTestConfiguration  from :/Users/libcellml/BuildSlave/Unit_Tests_Builder_Mac_OSX_10_12/libcellml-build/DartConfiguration.tcl
UpdateCTestConfiguration  from :/Users/libcellml/BuildSlave/Unit_Tests_Builder_Mac_OSX_10_12/libcellml-build/DartConfiguration.tcl
Test project /Users/libcellml/BuildSlave/Unit_Tests_Builder_Mac_OSX_10_12/libcellml-build
Constructing a list of tests
Done constructing a list of tests
Updating test list for fixtures
Added 0 tests to meet fixture requirements
Checking test dependency graph...
Checking test dependency graph end
test 1
      Start  1: entities_unit_test_component

1: Test command: /Users/libcellml/BuildSlave/Unit_Tests_Builder_Mac_OSX_10_12/libcellml-build/tests/test_component
1: Test timeout computed to be: 9.99988e+06
1: Running main() from gtest_main.cc
1: [==========] Running 16 tests from 2 test cases.
1: [----------] Global test environment set-up.
1: [----------] 11 tests from Component
1: [ RUN      ] Component.validName
1: [       OK ] Component.validName (1 ms)
1: [ RUN      ] Component.invalidName
1: [       OK ] Component.invalidName (0 ms)
1: [ RUN      ] Component.setAndUnsetName
1: [       OK ] Component.setAndUnsetName (0 ms)
1: [ RUN      ] Component.addAndCountChildren
1: [       OK ] Component.addAndCountChildren (0 ms)
1: [ RUN      ] Component.contains
1: [       OK ] Component.contains (0 ms)
1: [ RUN      ] Component.addChildrenAndSerialise
1: [       OK ] Component.addChildrenAndSerialise (1 ms)
1: [ RUN      ] Component.removeComponentMethods
1: [       OK ] Component.removeComponentMethods (0 ms)
1: [ RUN      ] Component.getComponentMethods
1: [       OK ] Component.getComponentMethods (0 ms)
1: [ RUN      ] Component.takeComponentMethods
1: [       OK ] Component.takeComponentMethods (0 ms)
1: [ RUN      ] Component.replaceComponentMethods
1: [       OK ] Component.replaceComponentMethods (0 ms)
1: [ RUN      ] Component.constructors
1: [       OK ] Component.constructors (0 ms)
1: [----------] 11 tests from Component (2 ms total)
1: 
1: [----------] 5 tests from Encapsulation
1: [ RUN      ] Encapsulation.reparentComponent
1: [       OK ] Encapsulation.reparentComponent (0 ms)
1: [ RUN      ] Encapsulation.hierarchyWaterfall
1: [       OK ] Encapsulation.hierarchyWaterfall (0 ms)
1: [ RUN      ] Encapsulation.hierarchyCircular
1: [       OK ] Encapsulation.hierarchyCircular (0 ms)
1: [ RUN      ] Encapsulation.hierarchyWaterfallAndParse
1: [       OK ] Encapsulation.hierarchyWaterfallAndParse (4 ms)
1: [ RUN      ] Encapsulation.encapsulatedComponentMethods
1: [       OK ] Encapsulation.encapsulatedComponentMethods (0 ms)
1: [----------] 5 tests from Encapsulation (4 ms total)
1: 
1: [----------] Global test environment tear-down
1: [==========] 16 tests from 2 test cases ran. (7 ms total)
1: [  PASSED  ] 16 tests.
 1/13 Test  #1: entities_unit_test_component .....   Passed    0.04 sec
test 2
      Start  2: entities_unit_test_connection

2: Test command: /Users/libcellml/BuildSlave/Unit_Tests_Builder_Mac_OSX_10_12/libcellml-build/tests/test_connection
2: Test timeout computed to be: 9.99988e+06
2: Running main() from gtest_main.cc
2: [==========] Running 19 tests from 2 test cases.
2: [----------] Global test environment set-up.
2: [----------] 6 tests from Variable
2: [ RUN      ] Variable.addAndGetEquivalentVariable
2: [       OK ] Variable.addAndGetEquivalentVariable (0 ms)
2: [ RUN      ] Variable.addAndGetEquivalentVariableReciprocal
2: [       OK ] Variable.addAndGetEquivalentVariableReciprocal (0 ms)
2: [ RUN      ] Variable.addTwoEquivalentVariablesAndCount
2: [       OK ] Variable.addTwoEquivalentVariablesAndCount (0 ms)
2: [ RUN      ] Variable.addDuplicateEquivalentVariablesAndCount
2: [       OK ] Variable.addDuplicateEquivalentVariablesAndCount (0 ms)
2: [ RUN      ] Variable.hasNoEquivalentVariable
2: [       OK ] Variable.hasNoEquivalentVariable (0 ms)
2: [ RUN      ] Variable.hasEquivalentVariable
2: [       OK ] Variable.hasEquivalentVariable (0 ms)
2: [----------] 6 tests from Variable (0 ms total)
2: 
2: [----------] 13 tests from Connection
2: [ RUN      ] Connection.componentlessVariableInvalidConnection
2: [       OK ] Connection.componentlessVariableInvalidConnection (1 ms)
2: [ RUN      ] Connection.componentlessVariableInvalidConnectionClearParentCheck
2: [       OK ] Connection.componentlessVariableInvalidConnectionClearParentCheck (0 ms)
2: [ RUN      ] Connection.validConnectionAndParse
2: [       OK ] Connection.validConnectionAndParse (0 ms)
2: [ RUN      ] Connection.twoMapVariablesConnection
2: [       OK ] Connection.twoMapVariablesConnection (0 ms)
2: [ RUN      ] Connection.threeMapVariablesConnectionOneDuplicate
2: [       OK ] Connection.threeMapVariablesConnectionOneDuplicate (0 ms)
2: [ RUN      ] Connection.nineVariablesTenConnectionsAndParse
2: [       OK ] Connection.nineVariablesTenConnectionsAndParse (0 ms)
2: [ RUN      ] Connection.twoValidConnections
2: [       OK ] Connection.twoValidConnections (0 ms)
2: [ RUN      ] Connection.removeEquivalentVariableMethods
2: [       OK ] Connection.removeEquivalentVariableMethods (0 ms)
2: [ RUN      ] Connection.removeVariablesFromConnections
2: [       OK ] Connection.removeVariablesFromConnections (0 ms)
2: [ RUN      ] Connection.twoEncapsulatedChildComponentsWithConnectionsAndMixedInterfaces
2: [       OK ] Connection.twoEncapsulatedChildComponentsWithConnectionsAndMixedInterfaces (1 ms)
2: [ RUN      ] Connection.twoEncapsulatedChildComponentsWithConnectionsAndPublicInterfaces
2: [       OK ] Connection.twoEncapsulatedChildComponentsWithConnectionsAndPublicInterfaces (0 ms)
2: [ RUN      ] Connection.importedComponentConnectionAndParse
2: [       OK ] Connection.importedComponentConnectionAndParse (0 ms)
2: [ RUN      ] Connection.componentConnectionAndParseMissingVariable
2: [       OK ] Connection.componentConnectionAndParseMissingVariable (0 ms)
2: [----------] 13 tests from Connection (3 ms total)
2: 
2: [----------] Global test environment tear-down
2: [==========] 19 tests from 2 test cases ran. (3 ms total)
2: [  PASSED  ] 19 tests.
 2/13 Test  #2: entities_unit_test_connection ....   Passed    0.01 sec
test 3
      Start  3: misc_unit_test_coverage

3: Test command: /Users/libcellml/BuildSlave/Unit_Tests_Builder_Mac_OSX_10_12/libcellml-build/tests/test_coverage
3: Test timeout computed to be: 9.99988e+06
3: Running main() from gtest_main.cc
3: [==========] Running 8 tests from 1 test case.
3: [----------] Global test environment set-up.
3: [----------] 8 tests from Coverage
3: [ RUN      ] Coverage.import
3: [       OK ] Coverage.import (0 ms)
3: [ RUN      ] Coverage.printer
3: [       OK ] Coverage.printer (0 ms)
3: [ RUN      ] Coverage.units
3: [       OK ] Coverage.units (1 ms)
3: [ RUN      ] Coverage.unitsGetVariations
3: [       OK ] Coverage.unitsGetVariations (1 ms)
3: [ RUN      ] Coverage.prefixToString
3: [       OK ] Coverage.prefixToString (0 ms)
3: [ RUN      ] Coverage.variable
3: [       OK ] Coverage.variable (0 ms)
3: [ RUN      ] Coverage.component
3: [       OK ] Coverage.component (0 ms)
3: [ RUN      ] Coverage.error
3: [       OK ] Coverage.error (0 ms)
3: [----------] 8 tests from Coverage (2 ms total)
3: 
3: [----------] Global test environment tear-down
3: [==========] 8 tests from 1 test case ran. (2 ms total)
3: [  PASSED  ] 8 tests.
 3/13 Test  #3: misc_unit_test_coverage ..........   Passed    0.01 sec
test 4
      Start  4: entities_unit_test_math

4: Test command: /Users/libcellml/BuildSlave/Unit_Tests_Builder_Mac_OSX_10_12/libcellml-build/tests/test_math
4: Test timeout computed to be: 9.99988e+06
4: Running main() from gtest_main.cc
4: [==========] Running 8 tests from 1 test case.
4: [----------] Global test environment set-up.
4: [----------] 8 tests from Maths
4: [ RUN      ] Maths.setAndGetMath
4: [       OK ] Maths.setAndGetMath (0 ms)
4: [ RUN      ] Maths.appendAndSerialiseMathComponent
4: [       OK ] Maths.appendAndSerialiseMathComponent (0 ms)
4: [ RUN      ] Maths.appendAndResetMathComponent
4: [       OK ] Maths.appendAndResetMathComponent (0 ms)
4: [ RUN      ] Maths.appendSerialiseAndParseMathModel
4: [       OK ] Maths.appendSerialiseAndParseMathModel (1 ms)
4: [ RUN      ] Maths.modelWithTwoVariablesAndTwoInvalidMaths
4: [       OK ] Maths.modelWithTwoVariablesAndTwoInvalidMaths (0 ms)
4: [ RUN      ] Maths.modelWithTwoVariablesWithInitialValuesAndInvalidMath
4: [       OK ] Maths.modelWithTwoVariablesWithInitialValuesAndInvalidMath (0 ms)
4: [ RUN      ] Maths.modelWithTwoVariablesWithInitialValuesAndValidMath
4: [       OK ] Maths.modelWithTwoVariablesWithInitialValuesAndValidMath (0 ms)
4: [ RUN      ] Maths.twoComponentsWithMathAndConnectionAndParse
4: [       OK ] Maths.twoComponentsWithMathAndConnectionAndParse (0 ms)
4: [----------] 8 tests from Maths (1 ms total)
4: 
4: [----------] Global test environment tear-down
4: [==========] 8 tests from 1 test case ran. (2 ms total)
4: [  PASSED  ] 8 tests.
 4/13 Test  #4: entities_unit_test_math ..........   Passed    0.01 sec
test 5
      Start  5: entities_unit_test_model

5: Test command: /Users/libcellml/BuildSlave/Unit_Tests_Builder_Mac_OSX_10_12/libcellml-build/tests/test_model
5: Test timeout computed to be: 9.99988e+06
5: Running main() from gtest_main.cc
5: [==========] Running 28 tests from 3 test cases.
5: [----------] Global test environment set-up.
5: [----------] 16 tests from Model
5: [ RUN      ] Model.setGetId
5: [       OK ] Model.setGetId (0 ms)
5: [ RUN      ] Model.name
5: [       OK ] Model.name (0 ms)
5: [ RUN      ] Model.unsetName
5: [       OK ] Model.unsetName (0 ms)
5: [ RUN      ] Model.invalidName
5: [       OK ] Model.invalidName (0 ms)
5: [ RUN      ] Model.addComponent
5: [       OK ] Model.addComponent (0 ms)
5: [ RUN      ] Model.addValidNamedComponent
5: [       OK ] Model.addValidNamedComponent (0 ms)
5: [ RUN      ] Model.addInvalidNamedComponent
5: [       OK ] Model.addInvalidNamedComponent (0 ms)
5: [ RUN      ] Model.addTwoNamedComponents
5: [       OK ] Model.addTwoNamedComponents (0 ms)
5: [ RUN      ] Model.countComponents
5: [       OK ] Model.countComponents (0 ms)
5: [ RUN      ] Model.containsComponent
5: [       OK ] Model.containsComponent (0 ms)
5: [ RUN      ] Model.removeComponent
5: [       OK ] Model.removeComponent (0 ms)
5: [ RUN      ] Model.getComponentMethods
5: [       OK ] Model.getComponentMethods (0 ms)
5: [ RUN      ] Model.takeComponentMethods
5: [       OK ] Model.takeComponentMethods (0 ms)
5: [ RUN      ] Model.replaceComponent
5: [       OK ] Model.replaceComponent (0 ms)
5: [ RUN      ] Model.constructors
5: [       OK ] Model.constructors (0 ms)
5: [ RUN      ] Model.setAndCheckIdsAllEntities
5: [       OK ] Model.setAndCheckIdsAllEntities (1 ms)
5: [----------] 16 tests from Model (1 ms total)
5: 
5: [----------] 7 tests from ComponentImport
5: [ RUN      ] ComponentImport.basics
5: [       OK ] ComponentImport.basics (0 ms)
5: [ RUN      ] ComponentImport.singleImportA
5: [       OK ] ComponentImport.singleImportA (0 ms)
5: [ RUN      ] ComponentImport.singleImportB
5: [       OK ] ComponentImport.singleImportB (0 ms)
5: [ RUN      ] ComponentImport.nonExistentURLAndParse
5: [       OK ] ComponentImport.nonExistentURLAndParse (0 ms)
5: [ RUN      ] ComponentImport.multipleImportAndParse
5: [       OK ] ComponentImport.multipleImportAndParse (0 ms)
5: [ RUN      ] ComponentImport.hierarchicalImportAndParse
5: [       OK ] ComponentImport.hierarchicalImportAndParse (0 ms)
5: [ RUN      ] ComponentImport.complexImportAndParse
5: [       OK ] ComponentImport.complexImportAndParse (1 ms)
5: [----------] 7 tests from ComponentImport (1 ms total)
5: 
5: [----------] 5 tests from UnitsImport
5: [ RUN      ] UnitsImport.basics
5: [       OK ] UnitsImport.basics (0 ms)
5: [ RUN      ] UnitsImport.importValidName
5: [       OK ] UnitsImport.importValidName (0 ms)
5: [ RUN      ] UnitsImport.importInvalidName
5: [       OK ] UnitsImport.importInvalidName (0 ms)
5: [ RUN      ] UnitsImport.nonExistentURL
5: [       OK ] UnitsImport.nonExistentURL (0 ms)
5: [ RUN      ] UnitsImport.importModifyAndParse
5: [       OK ] UnitsImport.importModifyAndParse (0 ms)
5: [----------] 5 tests from UnitsImport (0 ms total)
5: 
5: [----------] Global test environment tear-down
5: [==========] 28 tests from 3 test cases ran. (2 ms total)
5: [  PASSED  ] 28 tests.
 5/13 Test  #5: entities_unit_test_model .........   Passed    0.02 sec
test 6
      Start  6: io_unit_test_parser

6: Test command: /Users/libcellml/BuildSlave/Unit_Tests_Builder_Mac_OSX_10_12/libcellml-build/tests/test_parser
6: Test timeout computed to be: 9.99988e+06
6: Running main() from gtest_main.cc
6: [==========] Running 61 tests from 1 test case.
6: [----------] Global test environment set-up.
6: [----------] 61 tests from Parser
6: [ RUN      ] Parser.invalidXMLElements
6: [       OK ] Parser.invalidXMLElements (0 ms)
6: [ RUN      ] Parser.parse
6: [       OK ] Parser.parse (0 ms)
6: [ RUN      ] Parser.parseNamedModel
6: [       OK ] Parser.parseNamedModel (0 ms)
6: [ RUN      ] Parser.moveParser
6: [       OK ] Parser.moveParser (0 ms)
6: [ RUN      ] Parser.makeError
6: [       OK ] Parser.makeError (0 ms)
6: [ RUN      ] Parser.emptyModelString
6: [       OK ] Parser.emptyModelString (0 ms)
6: [ RUN      ] Parser.nonXmlString
6: [       OK ] Parser.nonXmlString (1 ms)
6: [ RUN      ] Parser.invalidRootNode
6: [       OK ] Parser.invalidRootNode (0 ms)
6: [ RUN      ] Parser.invalidModelAttribute
6: [       OK ] Parser.invalidModelAttribute (0 ms)
6: [ RUN      ] Parser.invalidModelElement
6: [       OK ] Parser.invalidModelElement (0 ms)
6: [ RUN      ] Parser.modelWithInvalidElement
6: [       OK ] Parser.modelWithInvalidElement (0 ms)
6: [ RUN      ] Parser.parseModelWithInvalidAttributeAndGetError
6: [       OK ] Parser.parseModelWithInvalidAttributeAndGetError (0 ms)
6: [ RUN      ] Parser.parseNamedModelWithNamedComponent
6: [       OK ] Parser.parseNamedModelWithNamedComponent (0 ms)
6: [ RUN      ] Parser.parseModelWithUnitsAndNamedComponent
6: [       OK ] Parser.parseModelWithUnitsAndNamedComponent (0 ms)
6: [ RUN      ] Parser.unitsAttributeError
6: [       OK ] Parser.unitsAttributeError (0 ms)
6: [ RUN      ] Parser.unitsElementErrors
6: [       OK ] Parser.unitsElementErrors (0 ms)
6: [ RUN      ] Parser.parseModelWithNamedComponentWithInvalidBaseUnitsAttributeAndGetError
6: [       OK ] Parser.parseModelWithNamedComponentWithInvalidBaseUnitsAttributeAndGetError (0 ms)
6: [ RUN      ] Parser.parseModelWithInvalidComponentAttributeAndGetError
6: [       OK ] Parser.parseModelWithInvalidComponentAttributeAndGetError (0 ms)
6: [ RUN      ] Parser.componentAttributeErrors
6: [       OK ] Parser.componentAttributeErrors (1 ms)
6: [ RUN      ] Parser.componentElementErrors
6: [       OK ] Parser.componentElementErrors (0 ms)
6: [ RUN      ] Parser.parseModelWithTwoComponents
6: [       OK ] Parser.parseModelWithTwoComponents (0 ms)
6: [ RUN      ] Parser.parseModelWithComponentHierarchyWaterfall
6: [       OK ] Parser.parseModelWithComponentHierarchyWaterfall (0 ms)
6: [ RUN      ] Parser.parseModelWithMultipleComponentHierarchyWaterfalls
6: [       OK ] Parser.parseModelWithMultipleComponentHierarchyWaterfalls (0 ms)
6: [ RUN      ] Parser.modelWithUnits
6: [       OK ] Parser.modelWithUnits (0 ms)
6: [ RUN      ] Parser.modelWithInvalidUnits
6: [       OK ] Parser.modelWithInvalidUnits (1 ms)
6: [ RUN      ] Parser.emptyEncapsulation
6: [       OK ] Parser.emptyEncapsulation (0 ms)
6: [ RUN      ] Parser.encapsulationWithNoComponentAttribute
6: [       OK ] Parser.encapsulationWithNoComponentAttribute (0 ms)
6: [ RUN      ] Parser.encapsulationWithNoComponentRef
6: [       OK ] Parser.encapsulationWithNoComponentRef (0 ms)
6: [ RUN      ] Parser.encapsulationWithNoComponent
6: [       OK ] Parser.encapsulationWithNoComponent (0 ms)
6: [ RUN      ] Parser.encapsulationWithMissingComponent
6: [       OK ] Parser.encapsulationWithMissingComponent (0 ms)
6: [ RUN      ] Parser.encapsulationWithNoComponentChild
6: [       OK ] Parser.encapsulationWithNoComponentChild (0 ms)
6: [ RUN      ] Parser.encapsulationNoChildComponentRef
6: [       OK ] Parser.encapsulationNoChildComponentRef (0 ms)
6: [ RUN      ] Parser.encapsulationWithNoGrandchildComponentRef
6: [       OK ] Parser.encapsulationWithNoGrandchildComponentRef (0 ms)
6: [ RUN      ] Parser.invalidEncapsulations
6: [       OK ] Parser.invalidEncapsulations (0 ms)
6: [ RUN      ] Parser.invalidVariableAttributesAndGetVariableError
6: [       OK ] Parser.invalidVariableAttributesAndGetVariableError (0 ms)
6: [ RUN      ] Parser.variableAttributeAndChildErrors
6: [       OK ] Parser.variableAttributeAndChildErrors (1 ms)
6: [ RUN      ] Parser.emptyConnections
6: [       OK ] Parser.emptyConnections (0 ms)
6: [ RUN      ] Parser.connectionErrorNoComponent2
6: [       OK ] Parser.connectionErrorNoComponent2 (0 ms)
6: [ RUN      ] Parser.connectionErrorNoComponent2InModel
6: [       OK ] Parser.connectionErrorNoComponent2InModel (0 ms)
6: [ RUN      ] Parser.connectionErrorNoComponent1
6: [       OK ] Parser.connectionErrorNoComponent1 (0 ms)
6: [ RUN      ] Parser.connectionErrorNoMapComponents
6: [       OK ] Parser.connectionErrorNoMapComponents (0 ms)
6: [ RUN      ] Parser.connectionErrorNoMapVariables
6: [       OK ] Parser.connectionErrorNoMapVariables (1 ms)
6: [ RUN      ] Parser.importedComponent2Connection
6: [       OK ] Parser.importedComponent2Connection (0 ms)
6: [ RUN      ] Parser.validConnectionMapVariablesFirst
6: [       OK ] Parser.validConnectionMapVariablesFirst (0 ms)
6: [ RUN      ] Parser.component2ConnectionVariableMissing
6: [       OK ] Parser.component2ConnectionVariableMissing (0 ms)
6: [ RUN      ] Parser.component2InConnectionMissing
6: [       OK ] Parser.component2InConnectionMissing (0 ms)
6: [ RUN      ] Parser.connectionVariable2Missing
6: [       OK ] Parser.connectionVariable2Missing (0 ms)
6: [ RUN      ] Parser.connectionVariable1Missing
6: [       OK ] Parser.connectionVariable1Missing (0 ms)
6: [ RUN      ] Parser.connectionErrorNoMapVariablesType
6: [       OK ] Parser.connectionErrorNoMapVariablesType (0 ms)
6: [ RUN      ] Parser.invalidImportsAndGetError
6: [       OK ] Parser.invalidImportsAndGetError (0 ms)
6: [ RUN      ] Parser.invalidModelWithAllKindsOfErrors
6: [       OK ] Parser.invalidModelWithAllKindsOfErrors (0 ms)
6: [ RUN      ] Parser.invalidModelWithTextInAllElements
6: [       OK ] Parser.invalidModelWithTextInAllElements (0 ms)
6: [ RUN      ] Parser.parseIds
6: [       OK ] Parser.parseIds (0 ms)
6: [ RUN      ] Parser.parseSineModelFromFile
6: [       OK ] Parser.parseSineModelFromFile (2 ms)
6: [ RUN      ] Parser.parseSineImportsModelFromFile
6: [       OK ] Parser.parseSineImportsModelFromFile (1 ms)
6: [ RUN      ] Parser.parseInvalidModelFromFile
6: [       OK ] Parser.parseInvalidModelFromFile (0 ms)
6: [ RUN      ] Parser.parseOrdModelFromFile
6: [       OK ] Parser.parseOrdModelFromFile (19 ms)
6: [ RUN      ] Parser.parseComplexEncapsulationModelFromFile
6: [       OK ] Parser.parseComplexEncapsulationModelFromFile (1 ms)
6: [ RUN      ] Parser.parseModelWithComponentsWithMultipleMathElements
6: [       OK ] Parser.parseModelWithComponentsWithMultipleMathElements (0 ms)
6: [ RUN      ] Parser.parseValidXmlDirectlyUsingLibxml
6: [       OK ] Parser.parseValidXmlDirectlyUsingLibxml (0 ms)
6: [ RUN      ] Parser.parseInvalidXmlDirectlyUsingLibxml
6: /:2: parser error : Opening and ending tag mismatch: component line 2 and model
6: <model xmlns="http://www.cellml.org/cellml/2.0#"><component></model>
6:                                                                     ^
6: /:2: parser error : Premature end of data in tag model line 2
6: <model xmlns="http://www.cellml.org/cellml/2.0#"><component></model>
6:                                                                     ^
6: [       OK ] Parser.parseInvalidXmlDirectlyUsingLibxml (1 ms)
6: [----------] 61 tests from Parser (31 ms total)
6: 
6: [----------] Global test environment tear-down
6: [==========] 61 tests from 1 test case ran. (32 ms total)
6: [  PASSED  ] 61 tests.
 6/13 Test  #6: io_unit_test_parser ..............   Passed    0.05 sec
test 7
      Start  7: io_unit_test_printer

7: Test command: /Users/libcellml/BuildSlave/Unit_Tests_Builder_Mac_OSX_10_12/libcellml-build/tests/test_printer
7: Test timeout computed to be: 9.99988e+06
7: Running main() from gtest_main.cc
7: [==========] Running 8 tests from 1 test case.
7: [----------] Global test environment set-up.
7: [----------] 8 tests from Printer
7: [ RUN      ] Printer.printEmptyModel
7: [       OK ] Printer.printEmptyModel (0 ms)
7: [ RUN      ] Printer.printEmptyModelAllocatePointer
7: [       OK ] Printer.printEmptyModelAllocatePointer (0 ms)
7: [ RUN      ] Printer.printEmptyUnits
7: [       OK ] Printer.printEmptyUnits (0 ms)
7: [ RUN      ] Printer.printEmptyVariable
7: [       OK ] Printer.printEmptyVariable (0 ms)
7: [ RUN      ] Printer.printEmptyComponent
7: [       OK ] Printer.printEmptyComponent (0 ms)
7: [ RUN      ] Printer.printEmptyReset
7: /Users/libcellml/BuildSlave/Unit_Tests_Builder_Mac_OSX_10_12/libcellml/tests/printer/printer.cpp:81: Failure
7: Value of: a
7:   Actual: ""
7: Expected: e
7: Which is: "<reset/>"
7: [  FAILED  ] Printer.printEmptyReset (1 ms)
7: [ RUN      ] Printer.printEncapsulation
7: [       OK ] Printer.printEncapsulation (0 ms)
7: [ RUN      ] Printer.printEncapsulationWithNames
7: [       OK ] Printer.printEncapsulationWithNames (0 ms)
7: [----------] 8 tests from Printer (1 ms total)
7: 
7: [----------] Global test environment tear-down
7: [==========] 8 tests from 1 test case ran. (1 ms total)
7: [  PASSED  ] 7 tests.
7: [  FAILED  ] 1 test, listed below:
7: [  FAILED  ] Printer.printEmptyReset
7: 
7:  1 FAILED TEST
 7/13 Test  #7: io_unit_test_printer .............***Failed    0.01 sec
test 8
      Start  8: entities_unit_test_reset

8: Test command: /Users/libcellml/BuildSlave/Unit_Tests_Builder_Mac_OSX_10_12/libcellml-build/tests/test_reset
8: Test timeout computed to be: 9.99988e+06
8: Running main() from gtest_main.cc
8: [==========] Running 15 tests from 1 test case.
8: [----------] Global test environment set-up.
8: [----------] 15 tests from Reset
8: [ RUN      ] Reset.create
8: [       OK ] Reset.create (0 ms)
8: [ RUN      ] Reset.order
8: [       OK ] Reset.order (0 ms)
8: [ RUN      ] Reset.addAndCountChildren
8: /Users/libcellml/BuildSlave/Unit_Tests_Builder_Mac_OSX_10_12/libcellml/tests/reset/reset.cpp:42: Failure
8: Value of: r.whenCount()
8:   Actual: 1
8: Expected: 0
8: /Users/libcellml/BuildSlave/Unit_Tests_Builder_Mac_OSX_10_12/libcellml/tests/reset/reset.cpp:48: Failure
8: Value of: r.whenCount()
8:   Actual: 1
8: Expected: 4
8: /Users/libcellml/BuildSlave/Unit_Tests_Builder_Mac_OSX_10_12/libcellml/tests/reset/reset.cpp:51: Failure
8: Value of: r.whenCount()
8:   Actual: 1
8: Expected: 5
8: [  FAILED  ] Reset.addAndCountChildren (0 ms)
8: [ RUN      ] Reset.contains
8: [       OK ] Reset.contains (0 ms)
8: [ RUN      ] Reset.removeWhenMethods
8: /Users/libcellml/BuildSlave/Unit_Tests_Builder_Mac_OSX_10_12/libcellml/tests/reset/reset.cpp:85: Failure
8: Value of: r.whenCount()
8:   Actual: 1
8: Expected: 2
8: /Users/libcellml/BuildSlave/Unit_Tests_Builder_Mac_OSX_10_12/libcellml/tests/reset/reset.cpp:89: Failure
8: Value of: r.whenCount()
8:   Actual: 1
8: Expected: 2
8: /Users/libcellml/BuildSlave/Unit_Tests_Builder_Mac_OSX_10_12/libcellml/tests/reset/reset.cpp:92: Failure
8: Value of: r.whenCount()
8:   Actual: 1
8: Expected: 0
8: [  FAILED  ] Reset.removeWhenMethods (0 ms)
8: [ RUN      ] Reset.getWhenMethods
8: [       OK ] Reset.getWhenMethods (0 ms)
8: [ RUN      ] Reset.takeWhenMethods
8: [       OK ] Reset.takeWhenMethods (0 ms)
8: [ RUN      ] Reset.replaceWhenMethods
8: [       OK ] Reset.replaceWhenMethods (0 ms)
8: [ RUN      ] Reset.constructors
8: [       OK ] Reset.constructors (0 ms)
8: [ RUN      ] Reset.printResetWithVariable
8: /Users/libcellml/BuildSlave/Unit_Tests_Builder_Mac_OSX_10_12/libcellml/tests/reset/reset.cpp:173: Failure
8: Value of: a
8:   Actual: ""
8: Expected: e
8: Which is: "<reset variable=\"A\"/>"
8: [  FAILED  ] Reset.printResetWithVariable (0 ms)
8: [ RUN      ] Reset.printResetWithOrder
8: /Users/libcellml/BuildSlave/Unit_Tests_Builder_Mac_OSX_10_12/libcellml/tests/reset/reset.cpp:185: Failure
8: Value of: a
8:   Actual: ""
8: Expected: e
8: Which is: "<reset order=\"1\"/>"
8: [  FAILED  ] Reset.printResetWithOrder (0 ms)
8: [ RUN      ] Reset.printResetWithOrderAndVariable
8: /Users/libcellml/BuildSlave/Unit_Tests_Builder_Mac_OSX_10_12/libcellml/tests/reset/reset.cpp:202: Failure
8: Value of: a
8:   Actual: ""
8: Expected: e
8: Which is: "<reset variable=\"B\" order=\"1\"/>"
8: [  FAILED  ] Reset.printResetWithOrderAndVariable (0 ms)
8: [ RUN      ] Reset.printResetWithWhen
8: /Users/libcellml/BuildSlave/Unit_Tests_Builder_Mac_OSX_10_12/libcellml/tests/reset/reset.cpp:218: Failure
8: Value of: a
8:   Actual: ""
8: Expected: e
8: Which is: "<reset><when/></reset>"
8: [  FAILED  ] Reset.printResetWithWhen (0 ms)
8: [ RUN      ] Reset.printResetWithMultipleWhens
8: /Users/libcellml/BuildSlave/Unit_Tests_Builder_Mac_OSX_10_12/libcellml/tests/reset/reset.cpp:240: Failure
8: Value of: a
8:   Actual: ""
8: Expected: e
8: Which is: "<reset><when/><when/><when/></reset>"
8: [  FAILED  ] Reset.printResetWithMultipleWhens (0 ms)
8: [ RUN      ] Reset.printResetWithMultipleWhensWithValues
8: /Users/libcellml/BuildSlave/Unit_Tests_Builder_Mac_OSX_10_12/libcellml/tests/reset/reset.cpp:277: Failure
8: Value of: a
8:   Actual: ""
8: Expected: e
8: Which is: "<reset variable=\"A\"><when order=\"2\"><math  xmlns=\"http://www.w3.org/1998/Math/MathML\">some mathml</math></when><when order=\"1\"><math xmlns=\"http://www.w3.org/1998/Math/MathML\">some condition in mathml</math><math xmlns=\"http://www.w3.org/1998/Math/MathML\">some value in mathml</math></when></reset>"
8: [  FAILED  ] Reset.printResetWithMultipleWhensWithValues (0 ms)
8: [----------] 15 tests from Reset (1 ms total)
8: 
8: [----------] Global test environment tear-down
8: [==========] 15 tests from 1 test case ran. (1 ms total)
8: [  PASSED  ] 7 tests.
8: [  FAILED  ] 8 tests, listed below:
8: [  FAILED  ] Reset.addAndCountChildren
8: [  FAILED  ] Reset.removeWhenMethods
8: [  FAILED  ] Reset.printResetWithVariable
8: [  FAILED  ] Reset.printResetWithOrder
8: [  FAILED  ] Reset.printResetWithOrderAndVariable
8: [  FAILED  ] Reset.printResetWithWhen
8: [  FAILED  ] Reset.printResetWithMultipleWhens
8: [  FAILED  ] Reset.printResetWithMultipleWhensWithValues
8: 
8:  8 FAILED TESTS
 8/13 Test  #8: entities_unit_test_reset .........***Failed    0.01 sec
test 9
      Start  9: entities_unit_test_units

9: Test command: /Users/libcellml/BuildSlave/Unit_Tests_Builder_Mac_OSX_10_12/libcellml-build/tests/test_units
9: Test timeout computed to be: 9.99988e+06
9: Running main() from gtest_main.cc
9: [==========] Running 18 tests from 1 test case.
9: [----------] Global test environment set-up.
9: [----------] 18 tests from Units
9: [ RUN      ] Units.validName
9: [       OK ] Units.validName (0 ms)
9: [ RUN      ] Units.invalidName
9: [       OK ] Units.invalidName (0 ms)
9: [ RUN      ] Units.compoundUnitsRaw
9: [       OK ] Units.compoundUnitsRaw (0 ms)
9: [ RUN      ] Units.addUnitsVariations
9: [       OK ] Units.addUnitsVariations (0 ms)
9: [ RUN      ] Units.compoundUnitsUsingDefines
9: [       OK ] Units.compoundUnitsUsingDefines (1 ms)
9: [ RUN      ] Units.compoundUnitsUsingDefinesAndStringUnitsAndPrefix
9: [       OK ] Units.compoundUnitsUsingDefinesAndStringUnitsAndPrefix (0 ms)
9: [ RUN      ] Units.removeUnitsMethodsAndCount
9: [       OK ] Units.removeUnitsMethodsAndCount (0 ms)
9: [ RUN      ] Units.hasUnits
9: [       OK ] Units.hasUnits (0 ms)
9: [ RUN      ] Units.takeUnits
9: [       OK ] Units.takeUnits (0 ms)
9: [ RUN      ] Units.replaceUnits
9: [       OK ] Units.replaceUnits (0 ms)
9: [ RUN      ] Units.multiply
9: [       OK ] Units.multiply (0 ms)
9: [ RUN      ] Units.newBaseUnit
9: [       OK ] Units.newBaseUnit (0 ms)
9: [ RUN      ] Units.isBaseUnit
9: [       OK ] Units.isBaseUnit (0 ms)
9: [ RUN      ] Units.farhenheit
9: [       OK ] Units.farhenheit (0 ms)
9: [ RUN      ] Units.getUnitAttributes
9: [       OK ] Units.getUnitAttributes (0 ms)
9: [ RUN      ] Units.multipleUnitUsingStandardRef
9: [       OK ] Units.multipleUnitUsingStandardRef (0 ms)
9: [ RUN      ] Units.removeUnit
9: [       OK ] Units.removeUnit (0 ms)
9: [ RUN      ] Units.multipleAndParse
9: [       OK ] Units.multipleAndParse (1 ms)
9: [----------] 18 tests from Units (2 ms total)
9: 
9: [----------] Global test environment tear-down
9: [==========] 18 tests from 1 test case ran. (2 ms total)
9: [  PASSED  ] 18 tests.
 9/13 Test  #9: entities_unit_test_units .........   Passed    0.01 sec
test 10
      Start 10: io_unit_test_validator

10: Test command: /Users/libcellml/BuildSlave/Unit_Tests_Builder_Mac_OSX_10_12/libcellml-build/tests/test_validator
10: Test timeout computed to be: 9.99988e+06
10: Running main() from gtest_main.cc
10: [==========] Running 17 tests from 1 test case.
10: [----------] Global test environment set-up.
10: [----------] 17 tests from Validator
10: [ RUN      ] Validator.namedModel
10: [       OK ] Validator.namedModel (0 ms)
10: [ RUN      ] Validator.unnamedModel
10: [       OK ] Validator.unnamedModel (0 ms)
10: [ RUN      ] Validator.moveCopyValidatorWithUnnamedModel
10: [       OK ] Validator.moveCopyValidatorWithUnnamedModel (0 ms)
10: [ RUN      ] Validator.namedModelWithUnnamedComponent
10: [       OK ] Validator.namedModelWithUnnamedComponent (1 ms)
10: [ RUN      ] Validator.unnamedModelWithUnnamedComponentWithUnnamedUnits
10: [       OK ] Validator.unnamedModelWithUnnamedComponentWithUnnamedUnits (0 ms)
10: [ RUN      ] Validator.modelWithDuplicateComponentsAndUnits
10: [       OK ] Validator.modelWithDuplicateComponentsAndUnits (0 ms)
10: [ RUN      ] Validator.unnamedAndDuplicateNamedVariablesWithAndWithoutValidUnits
10: [       OK ] Validator.unnamedAndDuplicateNamedVariablesWithAndWithoutValidUnits (0 ms)
10: [ RUN      ] Validator.invalidVariableInitialValuesAndInterfaces
10: [       OK ] Validator.invalidVariableInitialValuesAndInterfaces (0 ms)
10: [ RUN      ] Validator.importUnits
10: [       OK ] Validator.importUnits (1 ms)
10: [ RUN      ] Validator.importComponents
10: [       OK ] Validator.importComponents (0 ms)
10: [ RUN      ] Validator.validMath
10: [       OK ] Validator.validMath (80 ms)
10: [ RUN      ] Validator.invalidMath
10: [       OK ] Validator.invalidMath (0 ms)
10: [ RUN      ] Validator.invalidMathMLElements
10: [       OK ] Validator.invalidMathMLElements (36 ms)
10: [ RUN      ] Validator.invalidMathMLVariables
10: [       OK ] Validator.invalidMathMLVariables (33 ms)
10: [ RUN      ] Validator.invalidMathMLCiAndCnElementsWithCellMLUnits
10: [       OK ] Validator.invalidMathMLCiAndCnElementsWithCellMLUnits (33 ms)
10: [ RUN      ] Validator.parseAndValidateInvalidUnitErrors
10: [       OK ] Validator.parseAndValidateInvalidUnitErrors (1 ms)
10: [ RUN      ] Validator.validateInvalidConnections
10: [       OK ] Validator.validateInvalidConnections (0 ms)
10: [----------] 17 tests from Validator (185 ms total)
10: 
10: [----------] Global test environment tear-down
10: [==========] 17 tests from 1 test case ran. (185 ms total)
10: [  PASSED  ] 17 tests.
10/13 Test #10: io_unit_test_validator ...........   Passed    0.20 sec
test 11
      Start 11: entities_unit_test_variable

11: Test command: /Users/libcellml/BuildSlave/Unit_Tests_Builder_Mac_OSX_10_12/libcellml-build/tests/test_variable
11: Test timeout computed to be: 9.99988e+06
11: Running main() from gtest_main.cc
11: [==========] Running 35 tests from 1 test case.
11: [----------] Global test environment set-up.
11: [----------] 35 tests from Variable
11: [ RUN      ] Variable.setValidVariableName
11: [       OK ] Variable.setValidVariableName (0 ms)
11: [ RUN      ] Variable.setInvalidVariableName
11: [       OK ] Variable.setInvalidVariableName (0 ms)
11: [ RUN      ] Variable.getValidVariableName
11: [       OK ] Variable.getValidVariableName (0 ms)
11: [ RUN      ] Variable.getInvalidVariableName
11: [       OK ] Variable.getInvalidVariableName (0 ms)
11: [ RUN      ] Variable.setUnits
11: [       OK ] Variable.setUnits (0 ms)
11: [ RUN      ] Variable.setUnitsAndName
11: [       OK ] Variable.setUnitsAndName (0 ms)
11: [ RUN      ] Variable.setInitialValueByString
11: [       OK ] Variable.setInitialValueByString (0 ms)
11: [ RUN      ] Variable.setInitialValueByDouble
11: [       OK ] Variable.setInitialValueByDouble (0 ms)
11: [ RUN      ] Variable.setInitialValueByReference
11: [       OK ] Variable.setInitialValueByReference (0 ms)
11: [ RUN      ] Variable.getUnsetInitialValue
11: [       OK ] Variable.getUnsetInitialValue (0 ms)
11: [ RUN      ] Variable.getSetInitialValue
11: [       OK ] Variable.getSetInitialValue (0 ms)
11: [ RUN      ] Variable.setInterfaceTypeByInvalidString
11: [       OK ] Variable.setInterfaceTypeByInvalidString (0 ms)
11: [ RUN      ] Variable.setInterfaceTypeNoneByValidString
11: [       OK ] Variable.setInterfaceTypeNoneByValidString (0 ms)
11: [ RUN      ] Variable.setInterfaceTypeNoneByEnum
11: [       OK ] Variable.setInterfaceTypeNoneByEnum (0 ms)
11: [ RUN      ] Variable.setInterfaceTypePrivate
11: [       OK ] Variable.setInterfaceTypePrivate (0 ms)
11: [ RUN      ] Variable.setInterfaceTypePublic
11: [       OK ] Variable.setInterfaceTypePublic (0 ms)
11: [ RUN      ] Variable.setInterfaceTypePublicAndPrivate
11: [       OK ] Variable.setInterfaceTypePublicAndPrivate (0 ms)
11: [ RUN      ] Variable.setGetInterfaceType
11: [       OK ] Variable.setGetInterfaceType (0 ms)
11: [ RUN      ] Variable.addVariable
11: [       OK ] Variable.addVariable (0 ms)
11: [ RUN      ] Variable.getParentComponent
11: [       OK ] Variable.getParentComponent (0 ms)
11: [ RUN      ] Variable.getNullParentComponent
11: [       OK ] Variable.getNullParentComponent (0 ms)
11: [ RUN      ] Variable.addVariableToUnnamedComponent
11: [       OK ] Variable.addVariableToUnnamedComponent (0 ms)
11: [ RUN      ] Variable.addTwoVariables
11: [       OK ] Variable.addTwoVariables (0 ms)
11: [ RUN      ] Variable.addVariablesWithAndWithoutNameAndUnits
11: [       OK ] Variable.addVariablesWithAndWithoutNameAndUnits (1 ms)
11: [ RUN      ] Variable.componentWithTwoVariablesWithInitialValues
11: [       OK ] Variable.componentWithTwoVariablesWithInitialValues (0 ms)
11: [ RUN      ] Variable.removeVariableMethods
11: [       OK ] Variable.removeVariableMethods (0 ms)
11: [ RUN      ] Variable.getVariableMethods
11: [       OK ] Variable.getVariableMethods (0 ms)
11: [ RUN      ] Variable.modelWithComponentWithVariableWithValidName
11: [       OK ] Variable.modelWithComponentWithVariableWithValidName (0 ms)
11: [ RUN      ] Variable.modelWithComponentWithVariableWithInvalidName
11: [       OK ] Variable.modelWithComponentWithVariableWithInvalidName (0 ms)
11: [ RUN      ] Variable.modelWithComponentWithVariableWithInvalidUnitsNameAndParse
11: [       OK ] Variable.modelWithComponentWithVariableWithInvalidUnitsNameAndParse (1 ms)
11: [ RUN      ] Variable.modelWithComponentWithTwoNamedVariablesWithInitialValues
11: [       OK ] Variable.modelWithComponentWithTwoNamedVariablesWithInitialValues (0 ms)
11: [ RUN      ] Variable.modelWithComponentWithTwoNamedVariablesWithInitialValuesOneReferenced
11: [       OK ] Variable.modelWithComponentWithTwoNamedVariablesWithInitialValuesOneReferenced (0 ms)
11: [ RUN      ] Variable.modelWithComponentWithTwoNamedVariablesWithInitialValuesAndParse
11: [       OK ] Variable.modelWithComponentWithTwoNamedVariablesWithInitialValuesAndParse (0 ms)
11: [ RUN      ] Variable.modelWithComponentWithFourNamedVariablesWithInterfaces
11: [       OK ] Variable.modelWithComponentWithFourNamedVariablesWithInterfaces (0 ms)
11: [ RUN      ] Variable.modelWithComponentWithFourNamedVariablesWithInterfacesAndParse
11: [       OK ] Variable.modelWithComponentWithFourNamedVariablesWithInterfacesAndParse (0 ms)
11: [----------] 35 tests from Variable (2 ms total)
11: 
11: [----------] Global test environment tear-down
11: [==========] 35 tests from 1 test case ran. (2 ms total)
11: [  PASSED  ] 35 tests.
11/13 Test #11: entities_unit_test_variable ......   Passed    0.02 sec
test 12
      Start 12: api_unit_test_version

12: Test command: /Users/libcellml/BuildSlave/Unit_Tests_Builder_Mac_OSX_10_12/libcellml-build/tests/test_version
12: Test timeout computed to be: 9.99988e+06
12: Running main() from gtest_main.cc
12: [==========] Running 1 test from 1 test case.
12: [----------] Global test environment set-up.
12: [----------] 1 test from Version
12: [ RUN      ] Version.versionMatch
12: [       OK ] Version.versionMatch (0 ms)
12: [----------] 1 test from Version (0 ms total)
12: 
12: [----------] Global test environment tear-down
12: [==========] 1 test from 1 test case ran. (0 ms total)
12: [  PASSED  ] 1 test.
12/13 Test #12: api_unit_test_version ............   Passed    0.02 sec
test 13
      Start 13: entities_unit_test_when

13: Test command: /Users/libcellml/BuildSlave/Unit_Tests_Builder_Mac_OSX_10_12/libcellml-build/tests/test_when
13: Test timeout computed to be: 9.99988e+06
13: Running main() from gtest_main.cc
13: [==========] Running 4 tests from 1 test case.
13: [----------] Global test environment set-up.
13: [----------] 4 tests from When
13: [ RUN      ] When.create
13: [       OK ] When.create (0 ms)
13: [ RUN      ] When.order
13: [       OK ] When.order (0 ms)
13: [ RUN      ] When.condition
13: [       OK ] When.condition (0 ms)
13: [ RUN      ] When.value
13: [       OK ] When.value (0 ms)
13: [----------] 4 tests from When (0 ms total)
13: 
13: [----------] Global test environment tear-down
13: [==========] 4 tests from 1 test case ran. (0 ms total)
13: [  PASSED  ] 4 tests.
13/13 Test #13: entities_unit_test_when ..........   Passed    0.02 sec

85% tests passed, 2 tests failed out of 13

Total Test time (real) =   0.49 sec

The following tests FAILED:
	  7 - io_unit_test_printer (Failed)
	  8 - entities_unit_test_reset (Failed)
Errors while running CTest
program finished with exit code 8
elapsedTime=0.561434