Running ‘testthat.R’ [52s/91s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(OpenMx)
  To take full advantage of multiple cores, use:
    mxOption(key='Number of Threads', value=parallel::detectCores()) #now
    Sys.setenv(OMP_NUM_THREADS=parallel::detectCores()) #before library(OpenMx)
  > 
  > test_check("OpenMx")
  Error: C stack usage  212112532 is too close to the limit
  ── 1. Error: (unknown) (@test-DataErrorDetection.R#57)  ────────────────────────
  The job for model 'untitled17' exited abnormally with the error message: User interrupt
  Backtrace:
   1. OpenMx::mxRun(model)
   2. OpenMx:::runHelper(...)
   3. OpenMx:::processErrorConditions(model, unsafe, suppressWarnings)
  
  Error: C stack usage  212112532 is too close to the limit
  ── 2. Error: (unknown) (@test-GREML_Error_Detection.R#75)  ─────────────────────
  The job for model 'GREMLtest' exited abnormally with the error message: User interrupt
  Backtrace:
   1. OpenMx::omxCheckWarning(...)
   7. OpenMx::mxRun(testmod, suppressWarnings = TRUE)
   8. OpenMx:::runHelper(...)
   9. OpenMx:::processErrorConditions(model, unsafe, suppressWarnings)
  
  Error: C stack usage  212112532 is too close to the limit
  ── 3. Error: (unknown) (@test-cor.R#29)  ───────────────────────────────────────
  The job for model 'L' exited abnormally with the error message: User interrupt
  Backtrace:
   1. OpenMx::mxRun(fl)
   2. OpenMx:::runHelper(...)
   3. OpenMx:::processErrorConditions(model, unsafe, suppressWarnings)
  
  Error: C stack usage  212112532 is too close to the limit
  ── 4. Error: (unknown) (@test-gendata-multilevel.R#34)  ────────────────────────
  The job for model 'yield' exited abnormally with the error message: User interrupt
  Backtrace:
   1. OpenMx::mxRun(yield, silent = TRUE)
   2. OpenMx:::runHelper(...)
   3. OpenMx:::processErrorConditions(model, unsafe, suppressWarnings)
  
  ── 5. Failure: (unknown) (@test-ifa-drm1.R#48)  ────────────────────────────────
  `a` not equivalent to `b`.
  5/5 mismatches (average diff: 143)
  [1] -7.16e+02 - -7.55 == -708.012
  [2] -1.03e+01 - -7.40 ==   -2.935
  [3] -7.55e+00 - -7.40 ==   -0.150
  [4] -6.02e+00 - -6.94 ==    0.923
  [5] -5.55e-17 - -3.54 ==    3.541
  
  ── 6. Failure: (unknown) (@test-ifa-drm1.R#50)  ────────────────────────────────
  `a` not equivalent to `b`.
  1/1 mismatches
  [1] Inf - 5000 == Inf
  
  ── 7. Failure: (unknown) (@test-ifa-drm1.R#51)  ────────────────────────────────
  `a` not equivalent to `b`.
  5/5 mismatches (average diff: Inf)
  [1] 4.83e+299 - 0.00e+00 == 4.83e+299
  [2] 5.38e+303 - 5.86e-05 == 5.38e+303
  [3] 2.14e+306 - 6.88e-02 == 2.14e+306
  [4] 7.76e+307 - 7.16e+00 == 7.76e+307
  [5]       Inf - 7.42e+01 ==       Inf
  
  ── 8. Failure: (unknown) (@test-ifa-drm1.R#57)  ────────────────────────────────
  `a` not equivalent to `b`.
  20/20 mismatches (average diff: Inf)
  [1] 163 - Inf == -Inf
  [2] 337 - Inf == -Inf
  [3] 119 - Inf == -Inf
  [4] 381 - Inf == -Inf
  [5] 221 - Inf == -Inf
  [6] 279 - Inf == -Inf
  [7] 228 - Inf == -Inf
  [8] 272 - Inf == -Inf
  [9] 289 - Inf == -Inf
  ...
  
  ── 9. Failure: (unknown) (@test-ifa-drm1.R#66)  ────────────────────────────────
  `a` not equivalent to `b`.
  1/1 mismatches
  [1] 12887 - 6444 == 6444
  
  ── 10. Failure: (unknown) (@test-ifa-drm1.R#67)  ───────────────────────────────
  `a` not equivalent to `b`.
  5/5 mismatches (average diff: 328)
  [1] -980.4 - -256.1 == -724.3
  [2]  -66.4 -  -16.6 ==  -49.8
  [3]   85.5 -   21.4 ==   64.1
  [4]  206.3 -   51.6 ==  154.6
  [5]  863.7 -  215.9 ==  647.8
  
  ── 11. Failure: (unknown) (@test-ifa-drm1.R#68)  ───────────────────────────────
  `a` not equivalent to `b`.
  5/5 mismatches (average diff: 272)
  [1]   8.46 -  13.1 ==  -4.65
  [2]  52.47 -  13.1 ==  39.35
  [3] 271.15 -  66.0 == 205.20
  [4] 629.61 - 167.1 == 462.50
  [5] 861.71 - 215.4 == 646.28
  
  ── 12. Failure: (unknown) (@test-ifa-drm1.R#88)  ───────────────────────────────
  `a` not equivalent to `b`.
  1/1 mismatches
  [1] 2619 - 0 == 2619
  
  ── 13. Failure: (unknown) (@test-ifa-drm1.R#92)  ───────────────────────────────
  `a` not equivalent to `b`.
  1/1 mismatches
  [1] 197 - 10 == 187
  
  ── 14. Failure: (unknown) (@test-ifa-drm1.R#93)  ───────────────────────────────
  `a` not equivalent to `b`.
  1/1 mismatches
  [1] 239 - 33 == 206
  
  ── 15. Failure: (unknown) (@test-ifa-drm1.R#94)  ───────────────────────────────
  `a` not equivalent to `b`.
  1/1 mismatches
  [1] 559 - 59 == 500
  
  ── 16. Failure: (unknown) (@test-ifa-drm1.R#99)  ───────────────────────────────
  `a` not equivalent to `b`.
  1/1 mismatches
  [1] 12433 - 6216 == 6216
  
  ── 17. Failure: (unknown) (@test-ifa-drm1.R#100)  ──────────────────────────────
  `a` not equivalent to `b`.
  1/1 mismatches
  [1] 12473 - 6256 == 6216
  
  ── 18. Failure: (unknown) (@test-ifa-drm1.R#101)  ──────────────────────────────
  `a` not equivalent to `b`.
  1/1 mismatches
  [1] 12557 - 6341 == 6216
  
  ── 19. Failure: (unknown) (@test-ifa-drm1.R#120)  ──────────────────────────────
  `a` not equivalent to `b`.
  1/1 mismatches
  [1] 17243 - 6382 == 10861
  
  ── 20. Failure: (unknown) (@test-ifa-drm1.R#121)  ──────────────────────────────
  `a` not equivalent to `b`.
  1/1 mismatches
  [1] 17263 - 6402 == 10861
  
  ── 21. Failure: (unknown) (@test-ifa-drm1.R#122)  ──────────────────────────────
  `a` not equivalent to `b`.
  1/1 mismatches
  [1] 17305 - 6444 == 10861
  
  ── 22. Failure: (unknown) (@test-ifa-drm1.R#165)  ──────────────────────────────
  `a` not equivalent to `b`.
  20/20 mismatches (average diff: 0.0543)
  [1] 0.0549 - 0.110 == -0.0551
  [2] 0.0512 - 0.102 == -0.0508
  [3] 0.0707 - 0.141 == -0.0703
  [4] 0.0657 - 0.131 == -0.0653
  [5] 0.0546 - 0.109 == -0.0544
  [6] 0.0483 - 0.097 == -0.0487
  [7] 0.0591 - 0.118 == -0.0589
  [8] 0.0495 - 0.099 == -0.0495
  [9] 0.0475 - 0.095 == -0.0475
  ...
  
  ── 23. Failure: (unknown) (@test-ifa-drm1.R#175)  ──────────────────────────────
  `a` not equivalent to `b`.
  20/20 mismatches (average diff: 0.134)
  [1] 0.01241 - 0.166 == -0.1536
  [2] 0.01782 - 0.111 == -0.0932
  [3] 0.00869 - 0.253 == -0.2443
  [4] 0.02444 - 0.170 == -0.1456
  [5] 0.01328 - 0.171 == -0.1577
  [6] 0.01092 - 0.104 == -0.0931
  [7] 0.00803 - 0.199 == -0.1910
  [8] 0.01497 - 0.110 == -0.0950
  [9] 0.00761 - 0.138 == -0.1304
  ...
  
  
   *** caught segfault ***
  address ba910060, cause 'memory not mapped'
  
  Traceback:
   1: runHelper(model, frontendStart, intervals, silent, suppressWarnings,     unsafe, checkpoint, useSocket, onlyFrontend, useOptimizer,     beginMessage)
   2: mxRun(i2, silent = TRUE)
   3: eval(code, test_env)
   4: eval(code, test_env)
   5: withCallingHandlers({    eval(code, test_env)    if (!handled && !is.null(test)) {        skip_empty()    }}, expectation = handle_expectation, skip = handle_skip, warning = handle_warning,     message = handle_message, error = handle_error)
   6: doTryCatch(return(expr), name, parentenv, handler)
   7: tryCatchOne(expr, names, parentenv, handlers[[1L]])
   8: tryCatchList(expr, names[-nh], parentenv, handlers[-nh])
   9: doTryCatch(return(expr), name, parentenv, handler)
  10: tryCatchOne(tryCatchList(expr, names[-nh], parentenv, handlers[-nh]),     names[nh], parentenv, handlers[[nh]])
  11: tryCatchList(expr, classes, parentenv, handlers)
  12: tryCatch(withCallingHandlers({    eval(code, test_env)    if (!handled && !is.null(test)) {        skip_empty()    }}, expectation = handle_expectation, skip = handle_skip, warning = handle_warning,     message = handle_message, error = handle_error), error = handle_fatal,     skip = function(e) {    })
  13: test_code(NULL, exprs, env)
  14: source_file(path, new.env(parent = env), chdir = TRUE, wrap = wrap)
  15: force(code)
  16: doWithOneRestart(return(expr), restart)
  17: withOneRestart(expr, restarts[[1L]])
  18: withRestarts(testthat_abort_reporter = function() NULL, force(code))
  19: with_reporter(reporter = reporter, start_end_reporter = start_end_reporter,     {        reporter$start_file(basename(path))        lister$start_file(basename(path))        source_file(path, new.env(parent = env), chdir = TRUE,             wrap = wrap)        reporter$.end_context()        reporter$end_file()    })
  20: FUN(X[[i]], ...)
  21: lapply(paths, test_file, env = env, reporter = current_reporter,     start_end_reporter = FALSE, load_helpers = FALSE, wrap = wrap)
  22: force(code)
  23: doWithOneRestart(return(expr), restart)
  24: withOneRestart(expr, restarts[[1L]])
  25: withRestarts(testthat_abort_reporter = function() NULL, force(code))
  26: with_reporter(reporter = current_reporter, results <- lapply(paths,     test_file, env = env, reporter = current_reporter, start_end_reporter = FALSE,     load_helpers = FALSE, wrap = wrap))
  27: test_files(paths, reporter = reporter, env = env, stop_on_failure = stop_on_failure,     stop_on_warning = stop_on_warning, wrap = wrap)
  28: test_dir(path = test_path, reporter = reporter, env = env, filter = filter,     ..., stop_on_failure = stop_on_failure, stop_on_warning = stop_on_warning,     wrap = wrap)
  29: test_package_dir(package = package, test_path = test_path, filter = filter,     reporter = reporter, ..., stop_on_failure = stop_on_failure,     stop_on_warning = stop_on_warning, wrap = wrap)
  30: test_check("OpenMx")
  An irrecoverable exception occurred. R is aborting now ...