QA output created by 1260
Global limit was: -1
Global limit now: 2
[TMP.conf:6] Error: pmRegisterDerived(testme.bigbin, ...) syntax error
 sample.bigbin
 ^            
Too many global derived metrics
name[0] testme.one
name[1] testme.two
name[2] testme.sub.two
name[3] testme.three
name[4] testme.sub.three
name[5] testme.sub.sub.three
name[6] testme.big
name[7] testme.lights
name[8] testme.bigbin

=== State 1 ===
ctx[0]: testme.one: not in PMNS
ctx[0]: testme.two: not in PMNS
ctx[0]: testme.sub.two: not in PMNS
ctx[0]: testme.three: not in PMNS
ctx[0]: testme.sub.three: not in PMNS
ctx[0]: testme.sub.sub.three: not in PMNS
ctx[0]: testme.big: 
    Data Type: 32-bit int  InDom: PM_INDOM_NULL 0xffffffff
    Semantics: instant  Units: none
ctx[0]: testme.lights: 
    Data Type: string  InDom: PM_INDOM_NULL 0xffffffff
    Semantics: discrete  Units: none
ctx[0]: testme.bigbin: not in PMNS
ctx[0]: testme.big: 1 values:  1000000
ctx[0]: testme.lights: 1 values: <COLOR>
ctx[1] < 0, skip work

=== State 2 ===
Context 1 limit was: 2
Context 1 limit now: 1
pmTraversePMNS found: testme.big
pmTraversePMNS found: testme.lights
ctx[0]: testme.one: not in PMNS
ctx[0]: testme.two: not in PMNS
ctx[0]: testme.sub.two: not in PMNS
ctx[0]: testme.three: not in PMNS
ctx[0]: testme.sub.three: not in PMNS
ctx[0]: testme.sub.sub.three: not in PMNS
ctx[0]: testme.big: 
    Data Type: 32-bit int  InDom: PM_INDOM_NULL 0xffffffff
    Semantics: instant  Units: none
ctx[0]: testme.lights: 
    Data Type: string  InDom: PM_INDOM_NULL 0xffffffff
    Semantics: discrete  Units: none
ctx[0]: testme.bigbin: not in PMNS
ctx[0]: testme.big: 1 values:  1000000
ctx[0]: testme.lights: 1 values: <COLOR>
pmTraversePMNS found: testme.big
pmTraversePMNS found: testme.lights
ctx[1]: testme.one: not in PMNS
ctx[1]: testme.two: not in PMNS
ctx[1]: testme.sub.two: not in PMNS
ctx[1]: testme.three: not in PMNS
ctx[1]: testme.sub.three: not in PMNS
ctx[1]: testme.sub.sub.three: not in PMNS
ctx[1]: testme.big: 
    Data Type: 32-bit int  InDom: PM_INDOM_NULL 0xffffffff
    Semantics: instant  Units: none
ctx[1]: testme.lights: 
    Data Type: string  InDom: PM_INDOM_NULL 0xffffffff
    Semantics: discrete  Units: none
ctx[1]: testme.bigbin: not in PMNS
ctx[1]: testme.big: 1 values:  1000000
ctx[1]: testme.lights: 1 values: <COLOR>

=== State 3 ===
ctx[0]: DEBUG_SYNTAX=1 (derive=1 appl0=1)
pmAddDerived(ctx->0): name="testme.one" expr="sample.bin - 50"
derive_lex() -> type=L_NAME "sample.bin"
derive_lex() -> type=L_MINUS "-"
derive_lex() -> type=L_INTEGER "50"
derive_lex() -> type=L_EOS ""
__dmgetpmid: metric "testme.one" -> PMID 511.2047.1023
__dmbind: bind metric[4] testme.one
pmAddDerived(ctx->0): per-context metric[4] testme.one = sample.bin - 50
Derived metric expr dump from ADDR...
expr node ADDR type=MINUS left=ADDR right=ADDR save_last=0
    PMID: PM_ID_NULL (511.2047.1023 from pmDesc) numval: 0
    Data Type: 32-bit unsigned int  InDom: 29.2 0x7400002
    Semantics: instant  Units: none
expr node ADDR type=NAME left=(nil) right=(nil) save_last=0 [sample.bin] primary=0
    PMID: 29.0.6 (29.0.6 from pmDesc) numval: 0
    Data Type: 32-bit int  InDom: 29.2 0x7400002
    Semantics: instant  Units: none
expr node ADDR type=INTEGER left=(nil) right=(nil) save_last=0 [50] primary=0
    PMID: PM_ID_NULL (PM_ID_NULL from pmDesc) numval: 0
    Data Type: 32-bit unsigned int  InDom: PM_INDOM_NULL 0xffffffff
    Semantics: discrete  Units: none
ctx[0]: DEBUG_SYNTAX=0 (derive=0 appl0=0)
ctx[0]: pmGetChldren found: big
ctx[0]: pmGetChldren found: lights
ctx[0]: pmGetChldren found: one
ctx[0]: testme.one: 
    Data Type: 32-bit unsigned int  InDom: 29.2 0x7400002
    Semantics: instant  Units: none
ctx[0]: testme.two: not in PMNS
ctx[0]: testme.sub.two: not in PMNS
ctx[0]: testme.three: not in PMNS
ctx[0]: testme.sub.three: not in PMNS
ctx[0]: testme.sub.sub.three: not in PMNS
ctx[0]: testme.big: 
    Data Type: 32-bit int  InDom: PM_INDOM_NULL 0xffffffff
    Semantics: instant  Units: none
ctx[0]: testme.lights: 
    Data Type: string  InDom: PM_INDOM_NULL 0xffffffff
    Semantics: discrete  Units: none
ctx[0]: testme.bigbin: not in PMNS
ctx[0]: testme.one: 9 values:       50      150      250      350      450      550      650      750      850
ctx[0]: testme.big: 1 values:  1000000
ctx[0]: testme.lights: 1 values: <COLOR>
ctx[1]: pmGetChldren found: big
ctx[1]: pmGetChldren found: lights
ctx[1]: testme.one: not in PMNS
ctx[1]: testme.two: not in PMNS
ctx[1]: testme.sub.two: not in PMNS
ctx[1]: testme.three: not in PMNS
ctx[1]: testme.sub.three: not in PMNS
ctx[1]: testme.sub.sub.three: not in PMNS
ctx[1]: testme.big: 
    Data Type: 32-bit int  InDom: PM_INDOM_NULL 0xffffffff
    Semantics: instant  Units: none
ctx[1]: testme.lights: 
    Data Type: string  InDom: PM_INDOM_NULL 0xffffffff
    Semantics: discrete  Units: none
ctx[1]: testme.bigbin: not in PMNS
ctx[1]: testme.big: 1 values:  1000000
ctx[1]: testme.lights: 1 values: <COLOR>

=== State 4 ===
ctx[1]: DEBUG_SEMANTICS=1 (derive=1 appl1=1)
__dmgetpmid: metric "testme.two" -> PMID 511.2047.1023
__dmbind: bind metric[4] testme.two
Derived metric expr dump from ADDR...
expr node ADDR type=PLUS left=ADDR right=ADDR save_last=0
    PMID: PM_ID_NULL (511.2047.1023 from pmDesc) numval: 0
    Data Type: 32-bit unsigned int  InDom: PM_INDOM_NULL 0xffffffff
    Semantics: instant  Units: none
expr node ADDR type=NAME left=(nil) right=(nil) save_last=0 [sample.long.ten] primary=0
    PMID: 29.0.11 (29.0.11 from pmDesc) numval: 0
    Data Type: 32-bit int  InDom: PM_INDOM_NULL 0xffffffff
    Semantics: instant  Units: none
expr node ADDR type=STAR left=ADDR right=ADDR save_last=0
    PMID: PM_ID_NULL (29.0.10 from pmDesc) numval: 0
    Data Type: 32-bit unsigned int  InDom: PM_INDOM_NULL 0xffffffff
    Semantics: instant  Units: none
expr node ADDR type=NAME left=(nil) right=(nil) save_last=0 [sample.long.one] primary=0
    PMID: 29.0.10 (29.0.10 from pmDesc) numval: 0
    Data Type: 32-bit int  InDom: PM_INDOM_NULL 0xffffffff
    Semantics: instant  Units: none
expr node ADDR type=INTEGER left=(nil) right=(nil) save_last=0 [3] primary=0
    PMID: PM_ID_NULL (PM_ID_NULL from pmDesc) numval: 0
    Data Type: 32-bit unsigned int  InDom: PM_INDOM_NULL 0xffffffff
    Semantics: discrete  Units: none
pmAddDerived(ctx->1): per-context metric[4] testme.two = sample.long.ten + sample.long.one * 3
testme.sub.two: Error: pmAddDerivedMetric("testme.sub.two", ...): returns -12409
Too many per-context derived metrics

__dmgetpmid: metric "testme.one" -> PMID 511.2047.1023
__dmgetpmid: metric "testme.two" -> Unknown metric name
__dmgetpmid: metric "testme.sub.two" -> Unknown metric name
__dmgetpmid: metric "testme.three" -> Unknown metric name
__dmgetpmid: metric "testme.sub.three" -> Unknown metric name
__dmgetpmid: metric "testme.sub.sub.three" -> Unknown metric name
__dmgetpmid: metric "testme.big" -> PMID 511.0.3
__dmgetpmid: metric "testme.lights" -> PMID 511.0.4
__dmgetpmid: metric "testme.bigbin" -> Unknown metric name
ctx[0]: testme.one: 
    Data Type: 32-bit unsigned int  InDom: 29.2 0x7400002
    Semantics: instant  Units: none
ctx[0]: testme.two: not in PMNS
ctx[0]: testme.sub.two: not in PMNS
ctx[0]: testme.three: not in PMNS
ctx[0]: testme.sub.three: not in PMNS
ctx[0]: testme.sub.sub.three: not in PMNS
ctx[0]: testme.big: 
    Data Type: 32-bit int  InDom: PM_INDOM_NULL 0xffffffff
    Semantics: instant  Units: none
ctx[0]: testme.lights: 
    Data Type: string  InDom: PM_INDOM_NULL 0xffffffff
    Semantics: discrete  Units: none
ctx[0]: testme.bigbin: not in PMNS
ctx[0]: testme.one: 9 values:       50      150      250      350      450      550      650      750      850
ctx[0]: testme.big: 1 values:  1000000
ctx[0]: testme.lights: 1 values: <COLOR>
__dmgetpmid: metric "testme.one" -> Unknown metric name
__dmgetpmid: metric "testme.two" -> PMID 511.2047.1023
__dmgetpmid: metric "testme.sub.two" -> Unknown metric name
__dmgetpmid: metric "testme.three" -> Unknown metric name
__dmgetpmid: metric "testme.sub.three" -> Unknown metric name
__dmgetpmid: metric "testme.sub.sub.three" -> Unknown metric name
__dmgetpmid: metric "testme.big" -> PMID 511.0.3
__dmgetpmid: metric "testme.lights" -> PMID 511.0.4
__dmgetpmid: metric "testme.bigbin" -> Unknown metric name
ctx[1]: testme.one: not in PMNS
ctx[1]: testme.two: 
    Data Type: 32-bit unsigned int  InDom: PM_INDOM_NULL 0xffffffff
    Semantics: instant  Units: none
ctx[1]: testme.sub.two: not in PMNS
ctx[1]: testme.three: not in PMNS
ctx[1]: testme.sub.three: not in PMNS
ctx[1]: testme.sub.sub.three: not in PMNS
ctx[1]: testme.big: 
    Data Type: 32-bit int  InDom: PM_INDOM_NULL 0xffffffff
    Semantics: instant  Units: none
ctx[1]: testme.lights: 
    Data Type: string  InDom: PM_INDOM_NULL 0xffffffff
    Semantics: discrete  Units: none
ctx[1]: testme.bigbin: not in PMNS
ctx[1]: testme.two: 1 values:       13
ctx[1]: testme.big: 1 values:  1000000
ctx[1]: testme.lights: 1 values: <COLOR>
ctx[1]: DEBUG_SEMANTICS=0 (derive=0 appl1=0)

=== State 5 ===
ctx[0]: pmUseContext: Attempt to use an illegal context, skip work
pmTraversePMNS found: testme.big
pmTraversePMNS found: testme.lights
pmTraversePMNS found: testme.two
ctx[1]: testme.one: not in PMNS
ctx[1]: testme.two: 
    Data Type: 32-bit unsigned int  InDom: PM_INDOM_NULL 0xffffffff
    Semantics: instant  Units: none
ctx[1]: testme.sub.two: not in PMNS
ctx[1]: testme.three: not in PMNS
ctx[1]: testme.sub.three: not in PMNS
ctx[1]: testme.sub.sub.three: not in PMNS
ctx[1]: testme.big: 
    Data Type: 32-bit int  InDom: PM_INDOM_NULL 0xffffffff
    Semantics: instant  Units: none
ctx[1]: testme.lights: 
    Data Type: string  InDom: PM_INDOM_NULL 0xffffffff
    Semantics: discrete  Units: none
ctx[1]: testme.bigbin: not in PMNS
ctx[1]: testme.two: 1 values:       13
ctx[1]: testme.big: 1 values:  1000000
ctx[1]: testme.lights: 1 values: <COLOR>

=== State 6 ===
testme.three: Error: pmAddDerivedMetric("testme.three", ...): returns -12409
Too many per-context derived metrics

testme.sub.three: Error: pmAddDerivedMetric("testme.sub.three", ...): returns -12409
Too many per-context derived metrics

testme.sub.sub.three: Error: pmAddDerivedMetric("testme.sub.sub.three", ...): returns -12409
Too many per-context derived metrics

ctx[0]: pmUseContext: Attempt to use an illegal context, skip work
ctx[1]: pmGetChldren found: big
ctx[1]: pmGetChldren found: lights
ctx[1]: pmGetChldren found: two
ctx[1]: testme.one: not in PMNS
ctx[1]: testme.two: 
    Data Type: 32-bit unsigned int  InDom: PM_INDOM_NULL 0xffffffff
    Semantics: instant  Units: none
ctx[1]: testme.sub.two: not in PMNS
ctx[1]: testme.three: not in PMNS
ctx[1]: testme.sub.three: not in PMNS
ctx[1]: testme.sub.sub.three: not in PMNS
ctx[1]: testme.big: 
    Data Type: 32-bit int  InDom: PM_INDOM_NULL 0xffffffff
    Semantics: instant  Units: none
ctx[1]: testme.lights: 
    Data Type: string  InDom: PM_INDOM_NULL 0xffffffff
    Semantics: discrete  Units: none
ctx[1]: testme.bigbin: not in PMNS
ctx[1]: testme.two: 1 values:       13
ctx[1]: testme.big: 1 values:  1000000
ctx[1]: testme.lights: 1 values: <COLOR>

=== State 7 ===
ctx[1]: DEBUG_EVAL=1 (derive=1 appl2=1)
Context 2 limit was: 2
Context 2 limit now: 1
__dmgetpmid: metric "testme.one" -> Unknown metric name
__dmgetpmid: metric "testme.two" -> Unknown metric name
__dmgetpmid: metric "testme.sub.two" -> Unknown metric name
__dmgetpmid: metric "testme.three" -> Unknown metric name
__dmgetpmid: metric "testme.sub.three" -> Unknown metric name
__dmgetpmid: metric "testme.sub.sub.three" -> Unknown metric name
__dmgetpmid: metric "testme.big" -> PMID 511.0.3
__dmgetpmid: metric "testme.lights" -> PMID 511.0.4
__dmgetpmid: metric "testme.bigbin" -> Unknown metric name
ctx[0]: testme.one: not in PMNS
ctx[0]: testme.two: not in PMNS
ctx[0]: testme.sub.two: not in PMNS
ctx[0]: testme.three: not in PMNS
ctx[0]: testme.sub.three: not in PMNS
ctx[0]: testme.sub.sub.three: not in PMNS
__dmgetpmid: metric "testme.big" -> PMID 511.0.3
__dmbind: bind metric[2] testme.big
ctx[0]: testme.big: 
    Data Type: 32-bit int  InDom: PM_INDOM_NULL 0xffffffff
    Semantics: instant  Units: none
__dmgetpmid: metric "testme.lights" -> PMID 511.0.4
__dmbind: bind metric[3] testme.lights
ctx[0]: testme.lights: 
    Data Type: string  InDom: PM_INDOM_NULL 0xffffffff
    Semantics: discrete  Units: none
ctx[0]: testme.bigbin: not in PMNS
derived metrics prefetch added 2 metrics: 30.0.13 30.0.46
__dmpostfetch: [6] root node 511.0.3: numval=1 vset[0]: inst=-1 l=1000000
expr node ADDR type=NAME left=(nil) right=(nil) save_last=0 [sampledso.long.million] primary=0
    PMID: 30.0.13 (511.0.3 from pmDesc) numval: 1
    Data Type: 32-bit int  InDom: PM_INDOM_NULL 0xffffffff
    Semantics: instant  Units: none
[0] inst=-1, val=1000000
__dmpostfetch: [7] root node 511.0.4: numval=1 vset[0]: inst=-1 cp=<COLOR> ...
expr node ADDR type=NAME left=(nil) right=(nil) save_last=0 [sampledso.lights] primary=0
    PMID: 30.0.46 (511.0.4 from pmDesc) numval: 1
    Data Type: string  InDom: PM_INDOM_NULL 0xffffffff
    Semantics: discrete  Units: none
[0] inst=-1, val=<COLOR>
ctx[0]: testme.big: 1 values:  1000000
ctx[0]: testme.lights: 1 values: <COLOR>
__dmgetpmid: metric "testme.one" -> Unknown metric name
__dmgetpmid: metric "testme.two" -> PMID 511.2047.1023
__dmgetpmid: metric "testme.sub.two" -> Unknown metric name
__dmgetpmid: metric "testme.three" -> Unknown metric name
__dmgetpmid: metric "testme.sub.three" -> Unknown metric name
__dmgetpmid: metric "testme.sub.sub.three" -> Unknown metric name
__dmgetpmid: metric "testme.big" -> PMID 511.0.3
__dmgetpmid: metric "testme.lights" -> PMID 511.0.4
__dmgetpmid: metric "testme.bigbin" -> Unknown metric name
ctx[1]: testme.one: not in PMNS
ctx[1]: testme.two: 
    Data Type: 32-bit unsigned int  InDom: PM_INDOM_NULL 0xffffffff
    Semantics: instant  Units: none
ctx[1]: testme.sub.two: not in PMNS
ctx[1]: testme.three: not in PMNS
ctx[1]: testme.sub.three: not in PMNS
ctx[1]: testme.sub.sub.three: not in PMNS
ctx[1]: testme.big: 
    Data Type: 32-bit int  InDom: PM_INDOM_NULL 0xffffffff
    Semantics: instant  Units: none
ctx[1]: testme.lights: 
    Data Type: string  InDom: PM_INDOM_NULL 0xffffffff
    Semantics: discrete  Units: none
ctx[1]: testme.bigbin: not in PMNS
derived metrics prefetch added 4 metrics: 29.0.11 29.0.10 30.0.13 30.0.46
__dmpostfetch: [1] root node 511.2047.1023: numval=1 vset[0]: inst=-1 u=13
expr node ADDR type=PLUS left=ADDR right=ADDR save_last=0
    PMID: PM_ID_NULL (511.2047.1023 from pmDesc) numval: 1
    Data Type: 32-bit unsigned int  InDom: PM_INDOM_NULL 0xffffffff
    Semantics: instant  Units: none
[0] inst=-1, val=13
expr node ADDR type=NAME left=(nil) right=(nil) save_last=0 [sample.long.ten] primary=0
    PMID: 29.0.11 (29.0.11 from pmDesc) numval: 1
    Data Type: 32-bit int  InDom: PM_INDOM_NULL 0xffffffff
    Semantics: instant  Units: none
[0] inst=-1, val=10
expr node ADDR type=STAR left=ADDR right=ADDR save_last=0
    PMID: PM_ID_NULL (29.0.10 from pmDesc) numval: 1
    Data Type: 32-bit unsigned int  InDom: PM_INDOM_NULL 0xffffffff
    Semantics: instant  Units: none
[0] inst=-1, val=3
expr node ADDR type=NAME left=(nil) right=(nil) save_last=0 [sample.long.one] primary=0
    PMID: 29.0.10 (29.0.10 from pmDesc) numval: 1
    Data Type: 32-bit int  InDom: PM_INDOM_NULL 0xffffffff
    Semantics: instant  Units: none
[0] inst=-1, val=1
expr node ADDR type=INTEGER left=(nil) right=(nil) save_last=0 [3] primary=0
    PMID: PM_ID_NULL (PM_ID_NULL from pmDesc) numval: 1
    Data Type: 32-bit unsigned int  InDom: PM_INDOM_NULL 0xffffffff
    Semantics: discrete  Units: none
[0] inst=-1, val=3
__dmpostfetch: [6] root node 511.0.3: numval=1 vset[0]: inst=-1 l=1000000
expr node ADDR type=NAME left=(nil) right=(nil) save_last=0 [sampledso.long.million] primary=0
    PMID: 30.0.13 (511.0.3 from pmDesc) numval: 1
    Data Type: 32-bit int  InDom: PM_INDOM_NULL 0xffffffff
    Semantics: instant  Units: none
[0] inst=-1, val=1000000
__dmpostfetch: [7] root node 511.0.4: numval=1 vset[0]: inst=-1 cp=<COLOR> ...
expr node ADDR type=NAME left=(nil) right=(nil) save_last=0 [sampledso.lights] primary=0
    PMID: 30.0.46 (511.0.4 from pmDesc) numval: 1
    Data Type: string  InDom: PM_INDOM_NULL 0xffffffff
    Semantics: discrete  Units: none
[0] inst=-1, val=<COLOR>
ctx[1]: testme.two: 1 values:       13
ctx[1]: testme.big: 1 values:  1000000
ctx[1]: testme.lights: 1 values: <COLOR>
ctx[1]: DEBUG_EVAL=0 (derive=0 appl2=0)

=== State 8 ===
pmTraversePMNS found: testme.big
pmTraversePMNS found: testme.lights
ctx[0]: testme.one: not in PMNS
ctx[0]: testme.two: not in PMNS
ctx[0]: testme.sub.two: not in PMNS
ctx[0]: testme.three: not in PMNS
ctx[0]: testme.sub.three: not in PMNS
ctx[0]: testme.sub.sub.three: not in PMNS
ctx[0]: testme.big: 
    Data Type: 32-bit int  InDom: PM_INDOM_NULL 0xffffffff
    Semantics: instant  Units: none
ctx[0]: testme.lights: 
    Data Type: string  InDom: PM_INDOM_NULL 0xffffffff
    Semantics: discrete  Units: none
ctx[0]: testme.bigbin: not in PMNS
ctx[0]: testme.big: 1 values:  1000000
ctx[0]: testme.lights: 1 values: <COLOR>
ctx[1]: pmUseContext: Attempt to use an illegal context, skip work

=== State 8 ===
ctx[0]: pmUseContext: Attempt to use an illegal context, skip work
ctx[1]: pmUseContext: Attempt to use an illegal context, skip work
