| Step | Arguments | | Status |
|---|
| Start of Pipeline - (39 min in block) | | | |
| withEnv - (39 min in block) | LC_ALL | | |
| withEnv block - (39 min in block) | | | |
| stage - (1 min 36 sec in block) | Environment | | |
| stage block (Environment) - (1 min 35 sec in block) | | | |
| retry - (1 min 35 sec in block) | | | |
| retry block - (1 min 35 sec in block) | | | |
| node - (1 min 35 sec in block) | linux | | |
| node block - (15 sec in block) | | | |
| ws - (15 sec in block) | ws/OpenModelica | | |
| ws block - (15 sec in block) | | | |
| checkout - (5.9 sec in self) | | | |
| withEnv - (9 sec in block) | GIT_AUTHOR_EMAIL, GIT_AUTHOR_NAME, GIT_BRANCH, GIT_COMMIT, GIT_COMMITTER_EMAIL, GIT_COMMITTER_NAME, GIT_LOCAL_BRANCH, GIT_PREVIOUS_COMMIT, GIT_URL | | |
| withEnv block - (8.9 sec in block) | | | |
| script - (8.8 sec in block) | | | |
| script block - (8.7 sec in block) | | | |
| milestone - (15 ms in self) | 2 | | |
| milestone - (27 ms in self) | 3 | | |
| load - (0.45 sec in block) | /var/lib/jenkins/ws/OpenModelica/.CI/common.groovy | | |
| load block (/var/lib/jenkins/ws/OpenModelica/.CI/common.groovy) - (73 ms in block) | | | |
| echo - (1.3 sec in self) | isPR: true | | |
| echo - (1.4 sec in self) | shouldWeBuildAlpine: false | | |
| echo - (1.4 sec in self) | shouldWeBuildEnterpriseLinux: false | | |
| echo - (1.3 sec in self) | shouldWeBuildFedora: false | | |
| echo - (1.3 sec in self) | shouldWeEnableMacOSCMakeBuild: false | | |
| echo - (1.1 sec in self) | shouldWeBuildWindows: false | | |
| echo - (8 ms in self) | shouldWeRunTests: true | | |
| stage - (6 min 53 sec in block) | setup | | |
| stage block (setup) - (6 min 53 sec in block) | | | |
| parallel - (6 min 53 sec in block) | | | |
| parallel block (Branch: jammy-clang) - (3 ms in block) | | | |
| stage - (5 min 5 sec in block) | jammy-clang | | |
| stage block (jammy-clang) - (5 min 5 sec in block) | | | |
| retry - (5 min 5 sec in block) | | | |
| retry block - (5 min 5 sec in block) | | | |
| node - (5 min 4 sec in block) | linux | | |
| node block - (5 min 4 sec in block) | | | |
| ws - (5 min 3 sec in block) | ws/OpenModelica | | |
| ws block - (5 min 2 sec in block) | | | |
| checkout - (5 sec in self) | | | |
| withEnv - (4 min 57 sec in block) | GIT_AUTHOR_EMAIL, GIT_AUTHOR_NAME, GIT_BRANCH, GIT_COMMIT, GIT_COMMITTER_EMAIL, GIT_COMMITTER_NAME, GIT_LOCAL_BRANCH, GIT_PREVIOUS_COMMIT, GIT_URL | | |
| withEnv block - (4 min 57 sec in block) | | | |
| isUnix - (14 ms in self) | | | |
| withEnv - (1.3 sec in block) | JD_TO_PULL | | |
| withEnv block - (0.54 sec in block) | | | |
| sh - (0.3 sec in self) | docker pull "$JD_TO_PULL" | | |
| isUnix - (15 ms in self) | | | |
| withEnv - (0.78 sec in block) | JD_ID, JD_TO_RUN | | |
| withEnv block - (0.52 sec in block) | | | |
| sh - (0.47 sec in self) | docker inspect -f . "$JD_TO_RUN" | | |
| withDockerContainer - (4 min 55 sec in block) | | | |
| withDockerContainer block - (4 min 52 sec in block) | | | |
| script - (4 min 52 sec in block) | | | |
| script block - (4 min 52 sec in block) | | | |
| withCredentials - (4 min 17 sec in block) | | | |
| withCredentials block - (4 min 17 sec in block) | | | |
| sh - (0.69 sec in self) | pwd | | |
| withEnv - (4 min 16 sec in block) | RUSTC_WRAPPER, SCCACHE_BUCKET, SCCACHE_ENDPOINT, SCCACHE_REGION, SCCACHE_S3_USE_SSL, AWS_ACCESS_KEY_ID, CARGO_INCREMENTAL, SCCACHE_BASEDIRS | | |
| withEnv block - (4 min 16 sec in block) | | | |
| sh - (0.41 sec in self) |
set -e
log="$(mktemp)"
sccache --stop-server >/dev/null 2>&1 || true
SCCACHE_ERROR_LOG="$log" SCCACHE_LOG=warn sccache --start-server
sccache --show-stats
if grep -qiE "storage (write )?check failed|read-only storage|cache storage failed" "$log"; then
echo "ERROR: sccache S3 cache backend is not usable; failing build:" >&2
cat "$log" >&2
rm -f "$log"
exit 1
fi
rm -f "$log"
| | |
| echo - (24 ms in self) | Running on: ripper2-1 | | |
| echo - (44 ms in self) | ripper2-1 | | |
| isUnix - (14 ms in self) | | | |
| sh - (0.65 sec in self) | git clean -ffdx && git submodule foreach --recursive git clean -ffdx | | |
| isUnix - (44 ms in self) | | | |
| isUnix - (0.17 sec in self) | | | |
| sh - (0.37 sec in self) | uname | | |
| sh - (0.33 sec in self) | mkdir ./build_cmake | | |
| sh - (0.32 sec in self) | cmake --version | | |
| sh - (1 min 19 sec in self) | cmake -S ./ -B ./build_cmake -DCMAKE_BUILD_TYPE=Release -DOM_COMPILER_CACHE=sccache -DCMAKE_INSTALL_PREFIX=build -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ | | |
| sh - (2 min 25 sec in self) | cmake --build ./build_cmake --parallel 12 --target install | | |
| sh - (0.33 sec in self) | build/bin/omc --version | | |
| isUnix - (10 ms in self) | | | |
| sh (Sanity check - C) - (17 sec in self) | bash testsuite/sanity-check/runSanity.sh --omc=build/bin/omc | | |
| sh (Sanity check - Cpp) - (10 sec in self) | bash testsuite/sanity-check/runSanity.sh --omc=build/bin/omc --simCodeTarget=Cpp | | |
| sh - (0.36 sec in self) | sccache --show-stats || true | | |
| sh - (0.87 sec in self) | find build/lib/*/omc/ -name "*.so" -exec strip {} ";" | | |
| sh (Find unused imports) - (18 sec in self) | cd OMCompiler/Compiler/boot && ./find-unused-import.sh ../*/*.mo | | |
| isUnix - (19 ms in self) | | | |
| sh - (0.33 sec in self) | build/bin/omc --version | grep -o "v[0-9]\+[.][0-9]\+[.][0-9]\+[^ ]*" | | |
| sh - (0.86 sec in self) | cp -Lr build build.new && rm -rf build && mv build.new build | | |
| stash - (12 sec in self) | omc-clang | | |
| stash - (0.76 sec in self) | omsimulator | | |
| stash - (0.1 sec in self) | omcruntime | | |
| parallel block (Branch: jammy-gcc) - (4 ms in block) | | | |
| stage - (6 min 43 sec in block) | jammy-gcc | | |
| stage block (jammy-gcc) - (6 min 43 sec in block) | | | |
| retry - (6 min 43 sec in block) | | | |
| retry block - (6 min 43 sec in block) | | | |
| node - (6 min 42 sec in block) | linux | | |
| node block - (6 min 42 sec in block) | | | |
| ws - (6 min 41 sec in block) | ws/OpenModelica | | |
| ws block - (6 min 41 sec in block) | | | |
| checkout - (4.5 sec in self) | | | |
| withEnv - (6 min 36 sec in block) | GIT_AUTHOR_EMAIL, GIT_AUTHOR_NAME, GIT_BRANCH, GIT_COMMIT, GIT_COMMITTER_EMAIL, GIT_COMMITTER_NAME, GIT_LOCAL_BRANCH, GIT_PREVIOUS_COMMIT, GIT_URL | | |
| withEnv block - (6 min 36 sec in block) | | | |
| isUnix - (13 ms in self) | | | |
| withEnv - (0.65 sec in block) | JD_TO_PULL | | |
| withEnv block - (0.49 sec in block) | | | |
| sh - (0.41 sec in self) | docker pull "$JD_TO_PULL" | | |
| isUnix - (14 ms in self) | | | |
| withEnv - (0.47 sec in block) | JD_ID, JD_TO_RUN | | |
| withEnv block - (0.37 sec in block) | | | |
| sh - (0.31 sec in self) | docker inspect -f . "$JD_TO_RUN" | | |
| withDockerContainer - (6 min 34 sec in block) | | | |
| withDockerContainer block - (6 min 32 sec in block) | | | |
| script - (6 min 32 sec in block) | | | |
| script block - (6 min 32 sec in block) | | | |
| withCredentials - (5 min 1 sec in block) | | | |
| withCredentials block - (5 min 0 sec in block) | | | |
| sh - (0.88 sec in self) | pwd | | |
| withEnv - (4 min 59 sec in block) | RUSTC_WRAPPER, SCCACHE_BUCKET, SCCACHE_ENDPOINT, SCCACHE_REGION, SCCACHE_S3_USE_SSL, AWS_ACCESS_KEY_ID, CARGO_INCREMENTAL, SCCACHE_BASEDIRS | | |
| withEnv block - (4 min 59 sec in block) | | | |
| sh - (0.89 sec in self) |
set -e
log="$(mktemp)"
sccache --stop-server >/dev/null 2>&1 || true
SCCACHE_ERROR_LOG="$log" SCCACHE_LOG=warn sccache --start-server
sccache --show-stats
if grep -qiE "storage (write )?check failed|read-only storage|cache storage failed" "$log"; then
echo "ERROR: sccache S3 cache backend is not usable; failing build:" >&2
cat "$log" >&2
rm -f "$log"
exit 1
fi
rm -f "$log"
| | |
| echo - (15 ms in self) | Running on: intel-5820k-1 | | |
| echo - (13 ms in self) | intel-5820k-1 | | |
| isUnix - (18 ms in self) | | | |
| sh - (0.83 sec in self) | git clean -ffdx && git submodule foreach --recursive git clean -ffdx | | |
| isUnix - (39 ms in self) | | | |
| isUnix - (13 ms in self) | | | |
| sh - (0.37 sec in self) | uname | | |
| sh - (0.42 sec in self) | mkdir ./build_cmake | | |
| sh - (0.35 sec in self) | cmake --version | | |
| sh - (53 sec in self) | cmake -S ./ -B ./build_cmake -DCMAKE_BUILD_TYPE=Release -DOM_COMPILER_CACHE=sccache -DCMAKE_INSTALL_PREFIX=build -DOM_ENABLE_COVERAGE=ON | | |
| sh - (3 min 20 sec in self) | cmake --build ./build_cmake --parallel 12 --target install | | |
| sh - (9.5 sec in self) | cmake --build ./build_cmake --parallel 12 --target testsuite-depends | | |
| sh - (0.41 sec in self) | build/bin/omc --version | | |
| isUnix - (18 ms in self) | | | |
| sh (Sanity check - C) - (21 sec in self) | bash testsuite/sanity-check/runSanity.sh --omc=build/bin/omc | | |
| sh (Sanity check - Cpp) - (11 sec in self) | bash testsuite/sanity-check/runSanity.sh --omc=build/bin/omc --simCodeTarget=Cpp | | |
| sh - (0.32 sec in self) | sccache --show-stats || true | | |
| sh (Translate the compiler for MSVC) - (1 min 6 sec in self) | cmake --build build_cmake --parallel 12 --target generate-msvc-c-sources | | |
| stash - (2.3 sec in self) | omc-msvc-c-sources | | |
| stash - (18 sec in self) | omc-gcc | | |
| writeFile - (71 ms in self) | coverage-build-root.txt | | |
| stash - (77 ms in self) | omc-gcc-coverage-root | | |
| stash - (3.3 sec in self) | omc-gcc-gcno | | |
| stash - (0.26 sec in self) | omc-gcc-coverage-sources | | |
| parallel block (Branch: alpine-clang) - (3 ms in block) | | | |
| stage - (2.4 sec in block) | alpine-clang | | |
| stage block (alpine-clang) - (1.8 sec in block) | | | |
| retry - (1.5 sec in block) | | | |
| retry block - (0.29 sec in block) | | | |
| getContext - (0.11 sec in self) | | | |
| parallel block (Branch: enterprise-linux-gcc) - (4 ms in block) | | | |
| stage - (2.4 sec in block) | enterprise-linux-gcc | | |
| stage block (enterprise-linux-gcc) - (1.9 sec in block) | | | |
| retry - (1.7 sec in block) | | | |
| retry block - (0.28 sec in block) | | | |
| getContext - (49 ms in self) | | | |
| parallel block (Branch: fedora-gcc) - (3 ms in block) | | | |
| stage - (2.4 sec in block) | fedora-gcc | | |
| stage block (fedora-gcc) - (1.9 sec in block) | | | |
| retry - (1.7 sec in block) | | | |
| retry block - (0.27 sec in block) | | | |
| getContext - (28 ms in self) | | | |
| parallel block (Branch: macos-arm64-gcc) - (3 ms in block) | | | |
| stage - (2.5 sec in block) | macos-arm64-gcc | | |
| stage block (macos-arm64-gcc) - (1.9 sec in block) | | | |
| retry - (1.7 sec in block) | | | |
| retry block - (0.22 sec in block) | | | |
| getContext - (14 ms in self) | | | |
| parallel block (Branch: OMDev-gcc) - (3 ms in block) | | | |
| stage - (2.5 sec in block) | OMDev-gcc | | |
| stage block (OMDev-gcc) - (2 sec in block) | | | |
| retry - (1.7 sec in block) | | | |
| retry block - (0.18 sec in block) | | | |
| getContext - (13 ms in self) | | | |
| parallel block (Branch: rust-clang) - (3 ms in block) | | | |
| stage - (6 min 52 sec in block) | rust-clang | | |
| stage block (rust-clang) - (6 min 52 sec in block) | | | |
| node - (6 min 52 sec in block) | linux | | |
| node block - (6 min 51 sec in block) | | | |
| ws - (6 min 50 sec in block) | ws/OpenModelica | | |
| ws block - (6 min 50 sec in block) | | | |
| checkout - (6.5 sec in self) | | | |
| withEnv - (6 min 43 sec in block) | GIT_AUTHOR_EMAIL, GIT_AUTHOR_NAME, GIT_BRANCH, GIT_COMMIT, GIT_COMMITTER_EMAIL, GIT_COMMITTER_NAME, GIT_LOCAL_BRANCH, GIT_PREVIOUS_COMMIT, GIT_URL | | |
| withEnv block - (6 min 43 sec in block) | | | |
| isUnix - (15 ms in self) | | | |
| withEnv - (1.3 sec in block) | JD_TO_PULL | | |
| withEnv block - (1 sec in block) | | | |
| sh - (0.94 sec in self) | docker pull "$JD_TO_PULL" | | |
| isUnix - (26 ms in self) | | | |
| withEnv - (1 sec in block) | JD_ID, JD_TO_RUN | | |
| withEnv block - (0.84 sec in block) | | | |
| sh - (0.78 sec in self) | docker inspect -f . "$JD_TO_RUN" | | |
| withDockerContainer - (6 min 41 sec in block) | | | |
| withDockerContainer block - (6 min 38 sec in block) | | | |
| script - (6 min 38 sec in block) | | | |
| script block - (6 min 38 sec in block) | | | |
| echo - (34 ms in self) | r7945-1 | | |
| isUnix - (13 ms in self) | | | |
| sh - (0.53 sec in self) | git clean -ffdx && git submodule foreach --recursive git clean -ffdx | | |
| sh - (29 sec in self) |
cmake -S . -B build_cmake -DCMAKE_BUILD_TYPE=Release -DOM_OMC_ENABLE_RUST=ON -DRUST_OMC_CI=ON -DOM_ENABLE_GUI_CLIENTS=OFF -DRUST_OMC_SCRIPTING_API=ON -DOM_USE_CCACHE=OFF -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_INSTALL_PREFIX=build -DRUST_OMC_TIMINGS=ON -DRUST_OMC_THREADS=4 -DRUST_OMC_WORK_DIR=/tmp/omc-rust -DRUST_OMC_FMU_NATIVE_TARGETS=aarch64-unknown-linux-gnu,x86_64-pc-windows-msvc,aarch64-pc-windows-msvc,x86_64-apple-darwin,aarch64-apple-darwin -DRUST_OMC_MACOS_SDK=/mnt/MacOSX.sdk -DRUST_OMC_WASM_RUNTIME_OUT=/var/lib/jenkins/ws/OpenModelica/runtime.wasm
| | |
| withCredentials - (5 min 51 sec in block) | | | |
| withCredentials block - (5 min 51 sec in block) | | | |
| sh - (0.34 sec in self) | pwd | | |
| withEnv - (5 min 50 sec in block) | CARGO_PROFILE_RELEASE_OPT_LEVEL, CARGO_PROFILE_RELEASE_LTO, CARGO_PROFILE_RELEASE_CODEGEN_UNITS, RUSTC_WRAPPER, SCCACHE_BUCKET, SCCACHE_ENDPOINT, SCCACHE_REGION, SCCACHE_S3_USE_SSL, AWS_ACCESS_KEY_ID, CARGO_INCREMENTAL, SCCACHE_BASEDIRS | | |
| withEnv block - (5 min 50 sec in block) | | | |
| sh - (0.33 sec in self) |
set -e
log="$(mktemp)"
sccache --stop-server >/dev/null 2>&1 || true
SCCACHE_ERROR_LOG="$log" SCCACHE_LOG=warn sccache --start-server
sccache --show-stats
if grep -qiE "storage (write )?check failed|read-only storage|cache storage failed" "$log"; then
echo "ERROR: sccache S3 cache backend is not usable; failing build:" >&2
cat "$log" >&2
rm -f "$log"
exit 1
fi
rm -f "$log"
| | |
| isUnix - (12 ms in self) | | | |
| sh - (0.36 sec in self) | uname | | |
| sh - (0.35 sec in self) | lscpu -p | egrep -v "^#" | sort -u -t, -k 2,4 | wc -l | | |
| sh - (5 min 38 sec in self) | cmake --build build_cmake --parallel 12 --target install | | |
| sh - (0.31 sec in self) | build/bin/omc --version | | |
| sh - (6.4 sec in self) | cmake --build build_cmake --parallel 12 --target rust_wasm_runtime | | |
| sh - (3.9 sec in self) | cmake --build build_cmake --parallel 12 --target testsuite-depends | | |
| sh - (0.31 sec in self) | sccache --show-stats || true | | |
| archiveArtifacts - (68 ms in self) | | | |
| archiveArtifacts - (69 ms in self) | | | |
| stash - (76 ms in self) | wasm-jit-runtime | | |
| stash - (71 ms in self) | runtime-sources-mo | | |
| stash - (9.8 sec in self) | omc-rust | | |
| sh - (0.46 sec in self) |
rm -rf rust-generated-src && mkdir -p rust-generated-src
cd /tmp/omc-rust/rust-src/Compiler/OpenModelica.rs
find . -path '*/src/*.rs' -print0 |
tar --null -T - -cf - | tar -C /var/lib/jenkins/ws/OpenModelica/rust-generated-src -xf -
| | |
| stash - (1 sec in self) | rust-generated-src | | |
| stash - (4.6 sec in self) | omc-rust-gui-inputs | | |
| sh - (0.33 sec in self) | rm -rf fmu-loaders && cp -a build_cmake/OMCompiler/Compiler/fmu-loaders . | | |
| stash - (0.57 sec in self) | fmu-loaders | | |
| parallel block (Branch: checks) - (1 min 32 sec in block) | | | |
| stage - (1 min 32 sec in block) | checks | | |
| stage block (checks) - (1 min 32 sec in block) | | | |
| retry - (1 min 32 sec in block) | | | |
| retry block - (1 min 32 sec in block) | | | |
| node - (1 min 31 sec in block) | linux | | |
| node block - (1 min 21 sec in block) | | | |
| ws - (1 min 21 sec in block) | ws/OpenModelica | | |
| ws block - (1 min 21 sec in block) | | | |
| checkout - (7.5 sec in self) | | | |
| withEnv - (1 min 13 sec in block) | GIT_AUTHOR_EMAIL, GIT_AUTHOR_NAME, GIT_BRANCH, GIT_COMMIT, GIT_COMMITTER_EMAIL, GIT_COMMITTER_NAME, GIT_LOCAL_BRANCH, GIT_PREVIOUS_COMMIT, GIT_URL | | |
| withEnv block - (1 min 13 sec in block) | | | |
| isUnix - (15 ms in self) | | | |
| withEnv - (0.76 sec in block) | JD_TO_PULL | | |
| withEnv block - (0.51 sec in block) | | | |
| sh - (0.31 sec in self) | docker pull "$JD_TO_PULL" | | |
| isUnix - (13 ms in self) | | | |
| withEnv - (0.83 sec in block) | JD_ID, JD_TO_RUN | | |
| withEnv block - (0.55 sec in block) | | | |
| sh - (0.32 sec in self) | docker inspect -f . "$JD_TO_RUN" | | |
| withDockerContainer - (1 min 11 sec in block) | | | |
| withDockerContainer block - (1 min 8 sec in block) | | | |
| script - (1 min 5 sec in block) | | | |
| script block - (1 min 5 sec in block) | | | |
| echo - (33 ms in self) | r630-1-1 | | |
| isUnix - (10 ms in self) | | | |
| sh - (0.65 sec in self) | git clean -ffdx && git submodule foreach --recursive git clean -ffdx | | |
| sh - (0.85 sec in self) | ! git submodule foreach --recursive git diff 2>&1 | grep CRLF | | |
| sh - (32 sec in self) | bash cmake/source_checks.sh bom-error . | | |
| sh - (26 sec in self) | bash cmake/source_checks.sh utf8-error . | | |
| sh - (0.54 sec in self) | bash cmake/source_checks.sh thumbsdb-error . | | |
| sh - (0.35 sec in self) | bash cmake/spellcheck.sh . aspell | | |
| sh - (3.9 sec in self) |
cd doc/bibliography
mkdir -p openmodelica.org-bibgen
sh generate.sh "$PWD/openmodelica.org-bibgen"
| | |
| stash - (70 ms in self) | bibliography | | |
| stage - (25 min in block) | tests + extras | | |
| stage block (tests + extras) - (25 min in block) | | | |
| parallel - (25 min in block) | | | |
| parallel block (Branch: 04 testsuite-gcc 1/2) - (4 ms in block) | | | |
| stage - (10 min in block) | 04 testsuite-gcc 1/2 | | |
| stage block (04 testsuite-gcc 1/2) - (10 min in block) | | | |
| retry - (10 min in block) | | | |
| retry block - (10 min in block) | | | |
| node - (10 min in block) | linux && !slow | | |
| node block - (5 min 9 sec in block) | | | |
| ws - (5 min 9 sec in block) | ws/OpenModelica | | |
| ws block - (5 min 8 sec in block) | | | |
| checkout - (3.4 sec in self) | | | |
| withEnv - (5 min 5 sec in block) | GIT_AUTHOR_EMAIL, GIT_AUTHOR_NAME, GIT_BRANCH, GIT_COMMIT, GIT_COMMITTER_EMAIL, GIT_COMMITTER_NAME, GIT_LOCAL_BRANCH, GIT_PREVIOUS_COMMIT, GIT_URL | | |
| withEnv block - (5 min 5 sec in block) | | | |
| withEnv - (5 min 4 sec in block) | LIBRARIES, RUNTESTDB | | |
| withEnv block - (5 min 4 sec in block) | | | |
| script - (5 min 4 sec in block) | | | |
| script block - (5 min 4 sec in block) | | | |
| isUnix - (15 ms in self) | | | |
| withEnv - (0.63 sec in block) | JD_TO_PULL | | |
| withEnv block - (0.41 sec in block) | | | |
| sh - (0.32 sec in self) | docker pull "$JD_TO_PULL" | | |
| sh - (0.43 sec in self) | awk -v jobs=12 -v per_job="${OM_PARTEST_MEM_PER_JOB_GB:-6}" -v percent="${OM_PARTEST_MEM_PERCENT:-80}" '/^MemTotal:/ { cap = int($2/1024*percent/100); want = per_job*1024*jobs; print (want < cap ? want : cap) }' /proc/meminfo | | |
| echo - (80 ms in self) | Test container memory limit: 50806 MB, no swap | | |
| isUnix - (13 ms in self) | | | |
| withEnv - (0.64 sec in block) | JD_ID, JD_TO_RUN | | |
| withEnv block - (0.42 sec in block) | | | |
| sh - (0.36 sec in self) | docker inspect -f . "$JD_TO_RUN" | | |
| withDockerContainer - (5 min 2 sec in block) | | | |
| withDockerContainer block - (5 min 0 sec in block) | | | |
| echo - (9 ms in self) | r7945-1 | | |
| isUnix - (11 ms in self) | | | |
| sh - (0.42 sec in self) | git clean -ffdx && git submodule foreach --recursive git clean -ffdx | | |
| unstash - (5.2 sec in self) | omc-gcc | | |
| sh - (0.33 sec in self) | cp -f /cache/runtest//master/runtest.db.* testsuite/ || cp -f /cache/runtest//master/runtest.db.* testsuite/ || true | | |
| sh (Install the testsuite libraries) - (3.7 sec in self) | #!/bin/bash -xe
test ! -z '/cache/omlibrary'
mkdir -p '/cache/omlibrary/om-pkg-cache'
# Removes the symbolic link, or if it's a directory there... the entire thing
rm -rf libraries/.openmodelica/cache libraries/.openmodelica/libraries
mkdir -p libraries/.openmodelica/libraries
ln -s '/cache/omlibrary/om-pkg-cache' libraries/.openmodelica/cache
ls -lh libraries/.openmodelica/cache/
cp libraries/index.json libraries/.openmodelica/libraries/
( cd libraries && "$PWD/../build/bin/omc" index.mos )
| | |
| sh (Extract the reference files) - (0.37 sec in self) | make -j24 --output-sync=recurse -C testsuite/ReferenceFiles | | |
| sh - (0.33 sec in self) | #!/bin/bash -xe
# ffi-test-lib
make -C testsuite/flattening/modelica/ffi/FFITest/Resources/BuildProjects/gcc
| | |
| sh - (0.35 sec in self) | build/bin/omc-diff -v1.4 | | |
| sh - (0.38 sec in self) | pwd | | |
| sh - (0.33 sec in self) | pwd | | |
| withEnv - (4 min 46 sec in block) | OMCOMPILERGENERATEDSOURCES, GCOV_PREFIX | | |
| withEnv block - (4 min 46 sec in block) | | | |
| sh - (0.36 sec in self) |
cmake -DTESTSUITE_DIR=/var/lib/jenkins/ws/OpenModelica/testsuite -DOUTPUT_DIR=/var/lib/jenkins/ws/OpenModelica/build-testsuite-ctest \
-DTESTSUITE_SUITES=+hdf5 \
-DTESTSUITE_PARTITION=1/2 \
-DTESTSUITE_PARTITION_SUITES=+hdf5 \
-P testsuite/CTest/Partest/GenerateCTestFile.cmake
| | |
| sh - (4 min 46 sec in self) | #!/bin/bash -x
ulimit -t 1500
# On top of the cgroup limit, to catch a single runaway process early
ulimit -v 6291456 # Max 6GB per process
.CI/scripts/cgroup-memory.sh check
ctest --test-dir build-testsuite-ctest \
-j12 --output-on-failure --output-junit ctest-result.xml || true
.CI/scripts/cgroup-memory.sh report
test -f build-testsuite-ctest/ctest-result.xml
| | |
| junit - (0.55 sec in self) | build-testsuite-ctest/ctest-result.xml | | |
| sh - (0.6 sec in self) | find gcda-out -name '*.gcda' | wc -l | | |
| stash - (0.19 sec in self) | gcda-1 | | |
| parallel block (Branch: 05 testsuite-clang 2/2) - (3 ms in block) | | | |
| stage - (18 min in block) | 05 testsuite-clang 2/2 | | |
| stage block (05 testsuite-clang 2/2) - (18 min in block) | | | |
| retry - (18 min in block) | | | |
| retry block - (18 min in block) | | | |
| node - (18 min in block) | linux && !slow | | |
| node block - (11 min in block) | | | |
| ws - (11 min in block) | ws/OpenModelica | | |
| ws block - (11 min in block) | | | |
| checkout - (10 sec in self) | | | |
| withEnv - (11 min in block) | GIT_AUTHOR_EMAIL, GIT_AUTHOR_NAME, GIT_BRANCH, GIT_COMMIT, GIT_COMMITTER_EMAIL, GIT_COMMITTER_NAME, GIT_LOCAL_BRANCH, GIT_PREVIOUS_COMMIT, GIT_URL | | |
| withEnv block - (11 min in block) | | | |
| withEnv - (11 min in block) | LIBRARIES, RUNTESTDB | | |
| withEnv block - (11 min in block) | | | |
| script - (11 min in block) | | | |
| script block - (11 min in block) | | | |
| isUnix - (12 ms in self) | | | |
| withEnv - (1 sec in block) | JD_TO_PULL | | |
| withEnv block - (0.78 sec in block) | | | |
| sh - (0.41 sec in self) | docker pull "$JD_TO_PULL" | | |
| sh - (0.34 sec in self) | awk -v jobs=12 -v per_job="${OM_PARTEST_MEM_PER_JOB_GB:-6}" -v percent="${OM_PARTEST_MEM_PERCENT:-80}" '/^MemTotal:/ { cap = int($2/1024*percent/100); want = per_job*1024*jobs; print (want < cap ? want : cap) }' /proc/meminfo | | |
| echo - (0.12 sec in self) | Test container memory limit: 73728 MB, no swap | | |
| isUnix - (18 ms in self) | | | |
| withEnv - (0.73 sec in block) | JD_ID, JD_TO_RUN | | |
| withEnv block - (0.5 sec in block) | | | |
| sh - (0.39 sec in self) | docker inspect -f . "$JD_TO_RUN" | | |
| withDockerContainer - (11 min in block) | | | |
| withDockerContainer block - (11 min in block) | | | |
| echo - (38 ms in self) | ripper2-2 | | |
| isUnix - (11 ms in self) | | | |
| sh - (0.59 sec in self) | git clean -ffdx && git submodule foreach --recursive git clean -ffdx | | |
| unstash - (4.5 sec in self) | omc-clang | | |
| sh - (0.37 sec in self) | cp -f /cache/runtest//master/runtest.db.* testsuite/ || cp -f /cache/runtest//master/runtest.db.* testsuite/ || true | | |
| lock - (10 sec in block) | ripper2 | | |
| lock block - (9.8 sec in block) | | | |
| sh (Install the testsuite libraries) - (8.4 sec in self) | #!/bin/bash -xe
test ! -z '/cache/omlibrary'
mkdir -p '/cache/omlibrary/om-pkg-cache'
# Removes the symbolic link, or if it's a directory there... the entire thing
rm -rf libraries/.openmodelica/cache libraries/.openmodelica/libraries
mkdir -p libraries/.openmodelica/libraries
ln -s '/cache/omlibrary/om-pkg-cache' libraries/.openmodelica/cache
ls -lh libraries/.openmodelica/cache/
cp libraries/index.json libraries/.openmodelica/libraries/
( cd libraries && "$PWD/../build/bin/omc" index.mos )
| | |
| sh (Extract the reference files) - (0.65 sec in self) | make -j24 --output-sync=recurse -C testsuite/ReferenceFiles | | |
| sh - (0.63 sec in self) | #!/bin/bash -xe
# ffi-test-lib
make -C testsuite/flattening/modelica/ffi/FFITest/Resources/BuildProjects/gcc
| | |
| isUnix - (12 ms in self) | | | |
| sh (Check the omc-diff version) - (0.33 sec in self) | build/bin/omc-diff -v1.4 | | |
| sh - (0.36 sec in self) | pwd | | |
| withEnv - (10 min in block) | OMCOMPILERGENERATEDSOURCES | | |
| withEnv block - (10 min in block) | | | |
| sh (Run the testsuite (partition 2/2, -suites=+hdf5 -partition-suites=+hdf5)) - (10 min in self) | #!/bin/bash -x
ulimit -t 1500
# On top of the cgroup limit, to catch a single runaway process early
ulimit -v 6291456 # Max 6GB per process
.CI/scripts/cgroup-memory.sh check
cd testsuite/partest
./runtests.pl -j12 -partition=2/2 -nocolour -with-xml -suites=+hdf5 -partition-suites=+hdf5
CODE=$?
../../.CI/scripts/cgroup-memory.sh report
test $CODE = 0 -o $CODE = 7 || exit 1
if test $CODE = 0; then
mkdir -p "/cache/runtest//master/"
cp ../runtest.db.* "/cache/runtest//master/"
fi
| | |
| junit - (0.52 sec in self) | testsuite/partest/result.xml | | |
| parallel block (Branch: 10 web target) - (3 ms in block) | | | |
| stage - (19 min in block) | 10 web target | | |
| stage block (10 web target) - (19 min in block) | | | |
| node - (19 min in block) | linux | | |
| node block - (16 min in block) | | | |
| ws - (16 min in block) | ws/OpenModelica | | |
| ws block - (16 min in block) | | | |
| checkout - (8.6 sec in self) | | | |
| withEnv - (16 min in block) | GIT_AUTHOR_EMAIL, GIT_AUTHOR_NAME, GIT_BRANCH, GIT_COMMIT, GIT_COMMITTER_EMAIL, GIT_COMMITTER_NAME, GIT_LOCAL_BRANCH, GIT_PREVIOUS_COMMIT, GIT_URL | | |
| withEnv block - (16 min in block) | | | |
| isUnix - (14 ms in self) | | | |
| withEnv - (0.56 sec in block) | JD_TO_PULL | | |
| withEnv block - (0.41 sec in block) | | | |
| sh - (0.33 sec in self) | docker pull "$JD_TO_PULL" | | |
| isUnix - (14 ms in self) | | | |
| withEnv - (0.76 sec in block) | JD_ID, JD_TO_RUN | | |
| withEnv block - (0.46 sec in block) | | | |
| sh - (0.36 sec in self) | docker inspect -f . "$JD_TO_RUN" | | |
| withDockerContainer - (16 min in block) | | | |
| withDockerContainer block - (16 min in block) | | | |
| script - (16 min in block) | | | |
| script block - (16 min in block) | | | |
| echo - (8 ms in self) | asap-1 | | |
| isUnix - (14 ms in self) | | | |
| sh - (0.62 sec in self) | git clean -ffdx && git submodule foreach --recursive git clean -ffdx | | |
| unstash - (95 ms in self) | wasm-jit-runtime | | |
| unstash - (0.17 sec in self) | runtime-sources-mo | | |
| unstash - (0.59 sec in self) | rust-generated-src | | |
| sh - (0.57 sec in self) | mkdir -p /tmp/omc-rust/rust-src/Compiler/OpenModelica.rs && cp -a rust-generated-src/. /tmp/omc-rust/rust-src/Compiler/OpenModelica.rs/ | | |
| unstash - (2.2 sec in self) | omc-rust-gui-inputs | | |
| unstash - (0.42 sec in self) | fmu-loaders | | |
| sh - (5.5 sec in self) |
cmake -S . -B build_cmake -DCMAKE_BUILD_TYPE=Release -DOM_OMC_WASM=ON -DRUST_OMC_WASM_MODE=web-release -DRUST_OMC_WASM_OPT=OFF -DRUST_OMC_WASM_RUNTIME=/var/lib/jenkins1/ws/OpenModelica/runtime.wasm -DRUST_OMC_PREBUILT_GENERATED_SRC=ON -DRUST_OMC_TIMINGS=ON -DRUST_OMC_WORK_DIR=/tmp/omc-rust -DRUST_OMC_FMU_NATIVE_TARGETS=aarch64-unknown-linux-gnu,x86_64-pc-windows-msvc,aarch64-pc-windows-msvc,x86_64-apple-darwin,aarch64-apple-darwin -DRUST_OMC_FMU_LOADERS=/var/lib/jenkins1/ws/OpenModelica/fmu-loaders -DRUST_OMC_MACOS_SDK=/mnt/MacOSX.sdk -DOM_USE_CCACHE=OFF -DCMAKE_INSTALL_PREFIX=install_web -DRUST_OMC_WEB_QT=OFF
| | |
| sh - (0.39 sec in self) | pwd | | |
| withCredentials - (16 min in block) | | | |
| withCredentials block - (16 min in block) | | | |
| sh - (0.41 sec in self) | pwd | | |
| withEnv - (16 min in block) | EM_COMPILER_WRAPPER, RUSTC_WRAPPER, SCCACHE_BUCKET, SCCACHE_ENDPOINT, SCCACHE_REGION, SCCACHE_S3_USE_SSL, AWS_ACCESS_KEY_ID, CARGO_INCREMENTAL, SCCACHE_BASEDIRS | | |
| withEnv block - (16 min in block) | | | |
| sh - (0.39 sec in self) |
set -e
log="$(mktemp)"
sccache --stop-server >/dev/null 2>&1 || true
SCCACHE_ERROR_LOG="$log" SCCACHE_LOG=warn sccache --start-server
sccache --show-stats
if grep -qiE "storage (write )?check failed|read-only storage|cache storage failed" "$log"; then
echo "ERROR: sccache S3 cache backend is not usable; failing build:" >&2
cat "$log" >&2
rm -f "$log"
exit 1
fi
rm -f "$log"
| | |
| sh - (16 min in self) | cmake --build build_cmake --parallel 12 | | |
| sh - (0.32 sec in self) | sccache --show-stats || true | | |
| sh - (0.83 sec in self) | cmake --install build_cmake --component web | | |
| archiveArtifacts - (72 ms in self) | | | |
| stash - (8.7 sec in self) | web-partial | | |
| parallel block (Branch: 10b qt-web target) - (3 ms in block) | | | |
| stage - (12 min in block) | 10b qt-web target | | |
| stage block (10b qt-web target) - (12 min in block) | | | |
| node - (12 min in block) | linux | | |
| node block - (9 min 43 sec in block) | | | |
| ws - (9 min 42 sec in block) | ws/OpenModelica | | |
| ws block - (9 min 42 sec in block) | | | |
| checkout - (7 sec in self) | | | |
| withEnv - (9 min 34 sec in block) | GIT_AUTHOR_EMAIL, GIT_AUTHOR_NAME, GIT_BRANCH, GIT_COMMIT, GIT_COMMITTER_EMAIL, GIT_COMMITTER_NAME, GIT_LOCAL_BRANCH, GIT_PREVIOUS_COMMIT, GIT_URL | | |
| withEnv block - (9 min 33 sec in block) | | | |
| isUnix - (24 ms in self) | | | |
| withEnv - (0.71 sec in block) | JD_TO_PULL | | |
| withEnv block - (0.53 sec in block) | | | |
| sh - (0.34 sec in self) | docker pull "$JD_TO_PULL" | | |
| isUnix - (29 ms in self) | | | |
| withEnv - (0.58 sec in block) | JD_ID, JD_TO_RUN | | |
| withEnv block - (0.39 sec in block) | | | |
| sh - (0.31 sec in self) | docker inspect -f . "$JD_TO_RUN" | | |
| withDockerContainer - (9 min 30 sec in block) | | | |
| withDockerContainer block - (9 min 16 sec in block) | | | |
| script - (9 min 16 sec in block) | | | |
| script block - (9 min 16 sec in block) | | | |
| echo - (8 ms in self) | r630-1-1 | | |
| isUnix - (10 ms in self) | | | |
| sh - (0.57 sec in self) | git clean -ffdx && git submodule foreach --recursive git clean -ffdx | | |
| unstash - (0.17 sec in self) | wasm-jit-runtime | | |
| unstash - (0.12 sec in self) | runtime-sources-mo | | |
| unstash - (0.47 sec in self) | rust-generated-src | | |
| sh - (0.55 sec in self) | mkdir -p /tmp/omc-rust/rust-src/Compiler/OpenModelica.rs && cp -a rust-generated-src/. /tmp/omc-rust/rust-src/Compiler/OpenModelica.rs/ | | |
| unstash - (1.9 sec in self) | omc-rust-gui-inputs | | |
| echo - (48 ms in self) | PR-17042 is not master: building OMEdit-qt web without the cloud-storage configuration | | |
| sh - (4 sec in self) |
cmake -S . -B build_cmake -DCMAKE_BUILD_TYPE=Release -DOM_OMC_WASM=ON -DRUST_OMC_WASM_MODE=web-release -DRUST_OMC_WASM_OPT=OFF -DRUST_OMC_WASM_RUNTIME=/var/lib/jenkins1/ws/OpenModelica/runtime.wasm -DRUST_OMC_PREBUILT_GENERATED_SRC=ON -DRUST_OMC_TIMINGS=ON -DRUST_OMC_WORK_DIR=/tmp/omc-rust -DRUST_OMC_FMU_NATIVE_TARGETS=aarch64-unknown-linux-gnu,x86_64-pc-windows-msvc,aarch64-pc-windows-msvc,x86_64-apple-darwin,aarch64-apple-darwin -DRUST_OMC_FMU_LOADERS=/var/lib/jenkins1/ws/OpenModelica/fmu-loaders -DRUST_OMC_MACOS_SDK=/mnt/MacOSX.sdk -DOM_USE_CCACHE=OFF -DCMAKE_INSTALL_PREFIX=install_web -DRUST_OMC_WEB_QT=OFF -DRUST_OMC_WEB_QT_STANDALONE=ON -DOMEDIT_WASM_OPTIMIZE=ON -DOMEDIT_CLOUD_CONFIG=
| | |
| sh - (0.52 sec in self) | pwd | | |
| withCredentials - (8 min 59 sec in block) | | | |
| withCredentials block - (8 min 59 sec in block) | | | |
| sh - (0.42 sec in self) | pwd | | |
| withEnv - (8 min 58 sec in block) | EM_COMPILER_WRAPPER, RUSTC_WRAPPER, SCCACHE_BUCKET, SCCACHE_ENDPOINT, SCCACHE_REGION, SCCACHE_S3_USE_SSL, AWS_ACCESS_KEY_ID, CARGO_INCREMENTAL, SCCACHE_BASEDIRS | | |
| withEnv block - (8 min 58 sec in block) | | | |
| sh - (0.42 sec in self) |
set -e
log="$(mktemp)"
sccache --stop-server >/dev/null 2>&1 || true
SCCACHE_ERROR_LOG="$log" SCCACHE_LOG=warn sccache --start-server
sccache --show-stats
if grep -qiE "storage (write )?check failed|read-only storage|cache storage failed" "$log"; then
echo "ERROR: sccache S3 cache backend is not usable; failing build:" >&2
cat "$log" >&2
rm -f "$log"
exit 1
fi
rm -f "$log"
| | |
| sh - (8 min 57 sec in self) | cmake --build build_cmake --parallel 12 --target rust_omshell_qt_web rust_omnotebook_qt_web rust_omedit_qt_web | | |
| sh - (0.32 sec in self) | sccache --show-stats || true | | |
| sh - (0.58 sec in self) | cmake --install build_cmake --component web | | |
| stash - (7.4 sec in self) | web-qt | | |
| parallel block (Branch: 11 build-gui-rust) - (3 ms in block) | | | |
| stage - (5 min 25 sec in block) | 11 build-gui-rust | | |
| stage block (11 build-gui-rust) - (5 min 25 sec in block) | | | |
| node - (5 min 24 sec in block) | linux | | |
| node block - (1 min 11 sec in block) | | | |
| ws - (1 min 11 sec in block) | ws/OpenModelica | | |
| ws block - (1 min 10 sec in block) | | | |
| checkout - (4.5 sec in self) | | | |
| withEnv - (1 min 6 sec in block) | GIT_AUTHOR_EMAIL, GIT_AUTHOR_NAME, GIT_BRANCH, GIT_COMMIT, GIT_COMMITTER_EMAIL, GIT_COMMITTER_NAME, GIT_LOCAL_BRANCH, GIT_PREVIOUS_COMMIT, GIT_URL | | |
| withEnv block - (1 min 5 sec in block) | | | |
| isUnix - (14 ms in self) | | | |
| withEnv - (0.6 sec in block) | JD_TO_PULL | | |
| withEnv block - (0.42 sec in block) | | | |
| sh - (0.31 sec in self) | docker pull "$JD_TO_PULL" | | |
| isUnix - (14 ms in self) | | | |
| withEnv - (0.58 sec in block) | JD_ID, JD_TO_RUN | | |
| withEnv block - (0.39 sec in block) | | | |
| sh - (0.31 sec in self) | docker inspect -f . "$JD_TO_RUN" | | |
| withDockerContainer - (1 min 4 sec in block) | | | |
| withDockerContainer block - (1 min 2 sec in block) | | | |
| script - (1 min 1 sec in block) | | | |
| script block - (1 min 1 sec in block) | | | |
| echo - (36 ms in self) | r7945-1 | | |
| isUnix - (11 ms in self) | | | |
| sh - (0.37 sec in self) | git clean -ffdx && git submodule foreach --recursive git clean -ffdx | | |
| unstash - (2.3 sec in self) | omc-rust-gui-inputs | | |
| sh - (33 sec in self) |
cmake -S . -B build_cmake -DCMAKE_BUILD_TYPE=Release -DOM_OMC_ENABLE_RUST=ON -DOM_ENABLE_GUI_CLIENTS=ON -DRUST_OMC_PREBUILT_CDYLIB=/var/lib/jenkins/ws/OpenModelica/build_cmake/OMCompiler/Compiler/rust-target/release/libOpenModelicaCompiler.so -DRUST_OMC_PREBUILT_SCRIPTING_API_QT_DIR=/var/lib/jenkins/ws/OpenModelica/build_cmake/OMCompiler/Compiler/scripting-api-qt -DRUST_OMC_WORK_DIR=/tmp/omc-rust -DOM_OMC_ENABLE_CPP_RUNTIME=OFF -DOM_USE_CCACHE=OFF -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_INSTALL_PREFIX=build_gui_install
| | |
| withCredentials - (25 sec in block) | | | |
| withCredentials block - (25 sec in block) | | | |
| sh - (0.33 sec in self) | pwd | | |
| withEnv - (24 sec in block) | RUSTC_WRAPPER, SCCACHE_BUCKET, SCCACHE_ENDPOINT, SCCACHE_REGION, SCCACHE_S3_USE_SSL, AWS_ACCESS_KEY_ID, CARGO_INCREMENTAL, SCCACHE_BASEDIRS | | |
| withEnv block - (24 sec in block) | | | |
| sh - (0.35 sec in self) |
set -e
log="$(mktemp)"
sccache --stop-server >/dev/null 2>&1 || true
SCCACHE_ERROR_LOG="$log" SCCACHE_LOG=warn sccache --start-server
sccache --show-stats
if grep -qiE "storage (write )?check failed|read-only storage|cache storage failed" "$log"; then
echo "ERROR: sccache S3 cache backend is not usable; failing build:" >&2
cat "$log" >&2
rm -f "$log"
exit 1
fi
rm -f "$log"
| | |
| sh - (23 sec in self) | cmake --build build_cmake --parallel 12 | | |
| sh - (0.42 sec in self) | sccache --show-stats || true | | |
| parallel block (Branch: 12 unit-tests-rust) - (3 ms in block) | | | |
| stage - (10 min in block) | 12 unit-tests-rust | | |
| stage block (12 unit-tests-rust) - (10 min in block) | | | |
| node - (10 min in block) | linux | | |
| node block - (6 min 8 sec in block) | | | |
| ws - (6 min 8 sec in block) | ws/OpenModelica | | |
| ws block - (6 min 8 sec in block) | | | |
| checkout - (6.1 sec in self) | | | |
| withEnv - (6 min 1 sec in block) | GIT_AUTHOR_EMAIL, GIT_AUTHOR_NAME, GIT_BRANCH, GIT_COMMIT, GIT_COMMITTER_EMAIL, GIT_COMMITTER_NAME, GIT_LOCAL_BRANCH, GIT_PREVIOUS_COMMIT, GIT_URL | | |
| withEnv block - (6 min 1 sec in block) | | | |
| isUnix - (14 ms in self) | | | |
| withEnv - (1 sec in block) | JD_TO_PULL | | |
| withEnv block - (0.84 sec in block) | | | |
| sh - (0.58 sec in self) | docker pull "$JD_TO_PULL" | | |
| isUnix - (16 ms in self) | | | |
| withEnv - (0.82 sec in block) | JD_ID, JD_TO_RUN | | |
| withEnv block - (0.52 sec in block) | | | |
| sh - (0.33 sec in self) | docker inspect -f . "$JD_TO_RUN" | | |
| withDockerContainer - (5 min 59 sec in block) | | | |
| withDockerContainer block - (5 min 54 sec in block) | | | |
| script - (5 min 53 sec in block) | | | |
| script block - (5 min 53 sec in block) | | | |
| echo - (34 ms in self) | intel-6900k | | |
| isUnix - (11 ms in self) | | | |
| sh - (0.59 sec in self) | git clean -ffdx && git submodule foreach --recursive git clean -ffdx | | |
| unstash - (0.43 sec in self) | rust-generated-src | | |
| sh - (0.83 sec in self) |
rm -rf /tmp/omc-rust/rust-src && mkdir -p /tmp/omc-rust/rust-src/Compiler/OpenModelica.rs /tmp/omc-rust/rust-src/SimulationRuntime/rust /tmp/omc-rust/rust-src/Compiler/FrontEnd /tmp/omc-rust/rust-src/Compiler/NFFrontEnd
tar -C OMCompiler/Compiler/OpenModelica.rs --exclude=./target -cf - . | tar -C /tmp/omc-rust/rust-src/Compiler/OpenModelica.rs -xf -
tar -C OMCompiler/SimulationRuntime/rust --exclude=./target -cf - . | tar -C /tmp/omc-rust/rust-src/SimulationRuntime/rust -xf -
cp -a rust-generated-src/. /tmp/omc-rust/rust-src/Compiler/OpenModelica.rs/
for d in FrontEnd NFFrontEnd; do
cp OMCompiler/Compiler/$d/*Builtin*.mo /tmp/omc-rust/rust-src/Compiler/$d/
done
| | |
| withCredentials - (5 min 51 sec in block) | | | |
| withCredentials block - (5 min 50 sec in block) | | | |
| sh - (0.33 sec in self) | pwd | | |
| withEnv - (5 min 49 sec in block) | OMC_WASI_PIC_SYSROOT, OMC_SUNDIALS_WASM_DIR, OMC_WASI_P1_ADAPTER, OMC_EXTERNAL_C_SOURCES, OMC_SIMRT_INCLUDE_DIRS, RUSTC_WRAPPER, SCCACHE_BUCKET, SCCACHE_ENDPOINT, SCCACHE_REGION, SCCACHE_S3_USE_SSL, AWS_ACCESS_KEY_ID, CARGO_INCREMENTAL, SCCACHE_BASEDIRS | | |
| withEnv block - (5 min 49 sec in block) | | | |
| sh - (0.41 sec in self) |
set -e
log="$(mktemp)"
sccache --stop-server >/dev/null 2>&1 || true
SCCACHE_ERROR_LOG="$log" SCCACHE_LOG=warn sccache --start-server
sccache --show-stats
if grep -qiE "storage (write )?check failed|read-only storage|cache storage failed" "$log"; then
echo "ERROR: sccache S3 cache backend is not usable; failing build:" >&2
cat "$log" >&2
rm -f "$log"
exit 1
fi
rm -f "$log"
| | |
| sh - (5 min 48 sec in self) | cd /tmp/omc-rust/rust-src/Compiler/OpenModelica.rs && cargo nextest run --workspace --exclude openmodelica --profile ci --no-fail-fast | | |
| sh - (0.46 sec in self) | sccache --show-stats || true | | |
| sh - (0.47 sec in self) | cp /tmp/omc-rust/rust-src/Compiler/OpenModelica.rs/target/nextest/ci/junit.xml nextest-junit.xml || true | | |
| junit - (0.16 sec in self) | | | |
| parallel block (Branch: 13 cross-build-fmu) - (3 ms in block) | | | |
| stage - (25 min in block) | 13 cross-build-fmu | | |
| stage block (13 cross-build-fmu) - (25 min in block) | | | |
| retry - (25 min in block) | | | |
| retry block - (25 min in block) | | | |
| node - (25 min in block) | linux | | |
| node block - (17 min in block) | | | |
| ws - (17 min in block) | ws/OpenModelica | | |
| ws block - (17 min in block) | | | |
| checkout - (7.6 sec in self) | | | |
| withEnv - (16 min in block) | GIT_AUTHOR_EMAIL, GIT_AUTHOR_NAME, GIT_BRANCH, GIT_COMMIT, GIT_COMMITTER_EMAIL, GIT_COMMITTER_NAME, GIT_LOCAL_BRANCH, GIT_PREVIOUS_COMMIT, GIT_URL | | |
| withEnv block - (16 min in block) | | | |
| withEnv - (16 min in block) | LIBRARIES, RUNTESTDB, HOME | | |
| withEnv block - (16 min in block) | | | |
| script - (16 min in block) | | | |
| script block - (16 min in block) | | | |
| isUnix - (13 ms in self) | | | |
| withEnv - (0.97 sec in block) | JD_TO_PULL | | |
| withEnv block - (0.75 sec in block) | | | |
| sh - (0.67 sec in self) | docker pull "$JD_TO_PULL" | | |
| sh - (0.33 sec in self) | stat -c %g /var/run/docker.sock | | |
| isUnix - (14 ms in self) | | | |
| withEnv - (0.73 sec in block) | JD_ID, JD_TO_RUN | | |
| withEnv block - (0.5 sec in block) | | | |
| sh - (0.36 sec in self) | docker inspect -f . "$JD_TO_RUN" | | |
| withDockerContainer - (16 min in block) | | | |
| withDockerContainer block - (16 min in block) | | | |
| echo - (45 ms in self) | dev.openmodelica.org | | |
| isUnix - (11 ms in self) | | | |
| sh - (0.59 sec in self) | git clean -ffdx && git submodule foreach --recursive git clean -ffdx | | |
| unstash - (5.7 sec in self) | omc-gcc | | |
| sh - (0.41 sec in self) | cp -f /cache/runtest//master/runtest.db.* testsuite/ || cp -f /cache/runtest//master/runtest.db.* testsuite/ || true | | |
| sh (Install the testsuite libraries) - (7 sec in self) | #!/bin/bash -xe
test ! -z '/cache/omlibrary'
mkdir -p '/cache/omlibrary/om-pkg-cache'
# Removes the symbolic link, or if it's a directory there... the entire thing
rm -rf libraries/.openmodelica/cache libraries/.openmodelica/libraries
mkdir -p libraries/.openmodelica/libraries
ln -s '/cache/omlibrary/om-pkg-cache' libraries/.openmodelica/cache
ls -lh libraries/.openmodelica/cache/
cp libraries/index.json libraries/.openmodelica/libraries/
( cd libraries && "$PWD/../build/bin/omc" index.mos )
| | |
| sh (Extract the reference files) - (0.86 sec in self) | make -j24 --output-sync=recurse -C testsuite/ReferenceFiles | | |
| sh - (0.94 sec in self) | #!/bin/bash -xe
# ffi-test-lib
make -C testsuite/flattening/modelica/ffi/FFITest/Resources/BuildProjects/gcc
| | |
| isUnix - (12 ms in self) | | | |
| sh - (0.35 sec in self) | build/bin/omc --version | grep -o "v[0-9]\+[.][0-9]\+[.][0-9]\+[^ ]*" | | |
| writeFile - (88 ms in self) | testsuite/special/FmuExportCrossCompile/VERSION | | |
| sh - (0.9 sec in self) | make -C testsuite/special/FmuExportCrossCompile/ dockerpull | | |
| sh - (16 min in self) | make -C testsuite/special/FmuExportCrossCompile/ test | | |
| sh - (16 sec in self) | make -C testsuite/special/FMPy/ fmpy-fmus | | |
| stash - (2.2 sec in self) | cross-fmu | | |
| stash - (0.67 sec in self) | fmpy-fmu | | |
| archiveArtifacts - (2.2 sec in self) | testsuite/special/FmuExportCrossCompile/*.fmu | | |
| parallel block (Branch: 14 testsuite-compliance) - (3 ms in block) | | | |
| stage - (11 min in block) | 14 testsuite-compliance | | |
| stage block (14 testsuite-compliance) - (11 min in block) | | | |
| retry - (11 min in block) | | | |
| retry block - (11 min in block) | | | |
| node - (11 min in block) | linux | | |
| node block - (1 min 13 sec in block) | | | |
| ws - (1 min 13 sec in block) | ws/OpenModelica | | |
| ws block - (1 min 13 sec in block) | | | |
| checkout - (4 sec in self) | | | |
| withEnv - (1 min 8 sec in block) | GIT_AUTHOR_EMAIL, GIT_AUTHOR_NAME, GIT_BRANCH, GIT_COMMIT, GIT_COMMITTER_EMAIL, GIT_COMMITTER_NAME, GIT_LOCAL_BRANCH, GIT_PREVIOUS_COMMIT, GIT_URL | | |
| withEnv block - (1 min 8 sec in block) | | | |
| isUnix - (14 ms in self) | | | |
| withEnv - (1.6 sec in block) | JD_TO_PULL | | |
| withEnv block - (1.2 sec in block) | | | |
| sh - (1.1 sec in self) | docker pull "$JD_TO_PULL" | | |
| isUnix - (19 ms in self) | | | |
| withEnv - (0.94 sec in block) | JD_ID, JD_TO_RUN | | |
| withEnv block - (0.42 sec in block) | | | |
| sh - (0.32 sec in self) | docker inspect -f . "$JD_TO_RUN" | | |
| withDockerContainer - (1 min 4 sec in block) | | | |
| withDockerContainer block - (1 min 2 sec in block) | | | |
| withEnv - (1 min 1 sec in block) | LIBRARIES, COMPLIANCEEXTRAFLAGS, COMPLIANCEEXTRAREPORTFLAGS, COMPLIANCEPREFIX | | |
| withEnv block - (1 min 1 sec in block) | | | |
| script - (1 min 1 sec in block) | | | |
| script block - (1 min 1 sec in block) | | | |
| isUnix - (58 ms in self) | | | |
| echo - (9 ms in self) | intel-6900k | | |
| isUnix - (10 ms in self) | | | |
| sh - (0.67 sec in self) | git clean -ffdx && git submodule foreach --recursive git clean -ffdx | | |
| unstash - (4.9 sec in self) | omc-rust | | |
| sh (Install the testsuite libraries) - (3 sec in self) | #!/bin/bash -xe
test ! -z '/cache/omlibrary'
mkdir -p '/cache/omlibrary/om-pkg-cache'
# Removes the symbolic link, or if it's a directory there... the entire thing
rm -rf libraries/.openmodelica/cache libraries/.openmodelica/libraries
mkdir -p libraries/.openmodelica/libraries
ln -s '/cache/omlibrary/om-pkg-cache' libraries/.openmodelica/cache
ls -lh libraries/.openmodelica/cache/
cp libraries/index.json libraries/.openmodelica/libraries/
( cd libraries && "$PWD/../build/bin/omc" index.mos )
| | |
| sh - (49 sec in self) | HOME=$PWD/libraries/ build/bin/omc -g=MetaModelica build/share/doc/omc/testmodels/ComplianceSuite.mos | | |
| sh - (0.38 sec in self) | mv compliance.html compliance-current.html | | |
| sh - (0.38 sec in self) | test -f compliance.xml | | |
| isUnix - (25 ms in self) | | | |
| sh - (0.34 sec in self) | build/bin/omc --version | grep -o "v[0-9]\+[.][0-9]\+[.][0-9]\+[^ ]*" | | |
| sh - (0.38 sec in self) | cp -p compliance-current.html compliance-v1.28.0-dev.1141+gf9523fbbd3.rust.html | | |
| sh - (0.33 sec in self) | test ! 'master' = 'master' || rm -f compliance-current.html | | |
| stash - (85 ms in self) | compliance | | |
| isUnix - (11 ms in self) | | | |
| sh - (0.41 sec in self) | build/bin/omc --version | grep -o "v[0-9]\+[.][0-9]\+[.][0-9]\+[^ ]*" | | |
| archiveArtifacts - (0.21 sec in self) | compliance*v1.28.0-dev.1141+gf9523fbbd3.rust.html, compliance.failures | | |
| sh - (0.33 sec in self) | sed -i.bak 's/%/\%/g' compliance.ignore.xml && sed -i.bak 's/[^[:print:]]/ /g' compliance.ignore.xml | | |
| junit - (0.28 sec in self) | compliance.ignore.xml | | |
| parallel block (Branch: 15 build-usersguide) - (13 ms in block) | | | |
| stage - (4 min 13 sec in block) | 15 build-usersguide | | |
| stage block (15 build-usersguide) - (4 min 13 sec in block) | | | |
| retry - (4 min 13 sec in block) | | | |
| retry block - (4 min 13 sec in block) | | | |
| node - (4 min 13 sec in block) | linux | | |
| node block - (3 min 26 sec in block) | | | |
| ws - (3 min 26 sec in block) | ws/OpenModelica | | |
| ws block - (3 min 26 sec in block) | | | |
| checkout - (3 sec in self) | | | |
| withEnv - (3 min 23 sec in block) | GIT_AUTHOR_EMAIL, GIT_AUTHOR_NAME, GIT_BRANCH, GIT_COMMIT, GIT_COMMITTER_EMAIL, GIT_COMMITTER_NAME, GIT_LOCAL_BRANCH, GIT_PREVIOUS_COMMIT, GIT_URL | | |
| withEnv block - (3 min 23 sec in block) | | | |
| isUnix - (12 ms in self) | | | |
| withEnv - (0.49 sec in block) | JD_TO_PULL | | |
| withEnv block - (0.36 sec in block) | | | |
| sh - (0.3 sec in self) | docker pull "$JD_TO_PULL" | | |
| isUnix - (15 ms in self) | | | |
| withEnv - (0.48 sec in block) | JD_ID, JD_TO_RUN | | |
| withEnv block - (0.36 sec in block) | | | |
| sh - (0.3 sec in self) | docker inspect -f . "$JD_TO_RUN" | | |
| withDockerContainer - (3 min 21 sec in block) | | | |
| withDockerContainer block - (3 min 19 sec in block) | | | |
| withCredentials - (3 min 18 sec in block) | | | |
| withCredentials block - (3 min 18 sec in block) | | | |
| withEnv - (3 min 18 sec in block) | LIBRARIES, RUNTESTDB | | |
| withEnv block - (3 min 18 sec in block) | | | |
| script - (3 min 18 sec in block) | | | |
| script block - (3 min 18 sec in block) | | | |
| echo - (42 ms in self) | r7945-1 | | |
| isUnix - (17 ms in self) | | | |
| sh - (0.3 sec in self) | git clean -ffdx && git submodule foreach --recursive git clean -ffdx | | |
| unstash - (5.3 sec in self) | omc-gcc | | |
| sh - (0.33 sec in self) | cp -f /cache/runtest//master/runtest.db.* testsuite/ || cp -f /cache/runtest//master/runtest.db.* testsuite/ || true | | |
| sh (Install the testsuite libraries) - (3.5 sec in self) | #!/bin/bash -xe
test ! -z '/cache/omlibrary'
mkdir -p '/cache/omlibrary/om-pkg-cache'
# Removes the symbolic link, or if it's a directory there... the entire thing
rm -rf libraries/.openmodelica/cache libraries/.openmodelica/libraries
mkdir -p libraries/.openmodelica/libraries
ln -s '/cache/omlibrary/om-pkg-cache' libraries/.openmodelica/cache
ls -lh libraries/.openmodelica/cache/
cp libraries/index.json libraries/.openmodelica/libraries/
( cd libraries && "$PWD/../build/bin/omc" index.mos )
| | |
| isUnix - (12 ms in self) | | | |
| sh - (0.31 sec in self) | uname | | |
| sh - (0.34 sec in self) | lscpu -p | egrep -v "^#" | wc -l | | |
| sh (Extract the reference files) - (0.31 sec in self) | make -j24 --output-sync=recurse -C testsuite/ReferenceFiles | | |
| sh - (0.52 sec in self) | #!/bin/bash -xe
# ffi-test-lib
make -C testsuite/flattening/modelica/ffi/FFITest/Resources/BuildProjects/gcc
| | |
| sh - (3 min 2 sec in self) |
# omc invoked while building the docs needs a writable HOME holding the
# libraries, otherwise it tries to write to //.openmodelica and fails to
# load Modelica (same as the compliance stage).
export HOME=$PWD/libraries
test ! -d $PWD/build/lib/omlibrary
cp -a libraries/.openmodelica/libraries $PWD/build/lib/omlibrary
# The guide is generated by running the OpenModelica unstashed above, so it is
# configured against that install tree instead of being built as part of it.
# Everything is written below build_usersguide/, never into the checkout.
cmake -S doc/UsersGuide -B build_usersguide -DOM_USERSGUIDE_OMHOME=$PWD/build
for target in usersguide usersguide-pdf usersguide-epub; do
if ! cmake --build build_usersguide --target $target; then
killall omc || true
exit 1
fi
done
| | |
| sh - (2.2 sec in self) | tar --transform 's/^html/OpenModelicaUsersGuide/' -cJf OpenModelicaUsersGuide-latest.html.tar.xz -C build_usersguide/build html | | |
| sh - (0.33 sec in self) | mv build_usersguide/build/latex/OpenModelicaUsersGuide.pdf OpenModelicaUsersGuide-latest.pdf | | |
| sh - (0.36 sec in self) | mv build_usersguide/build/epub/OpenModelicaUsersGuide.epub OpenModelicaUsersGuide-latest.epub | | |
| archiveArtifacts - (0.76 sec in self) | OpenModelicaUsersGuide-latest*.* | | |
| stash - (0.72 sec in self) | usersguide | | |
| parallel block (Branch: 17 build-gui-clang + omedit-testsuite) - (4 ms in block) | | | |
| stage - (7 min 36 sec in block) | 17 build-gui-clang + omedit-testsuite | | |
| stage block (17 build-gui-clang + omedit-testsuite) - (7 min 36 sec in block) | | | |
| retry - (7 min 36 sec in block) | | | |
| retry block - (7 min 36 sec in block) | | | |
| node - (7 min 35 sec in block) | linux | | |
| node block - (5 min 58 sec in block) | | | |
| ws - (5 min 58 sec in block) | ws/OpenModelica | | |
| ws block - (5 min 58 sec in block) | | | |
| checkout - (5.6 sec in self) | | | |
| withEnv - (5 min 52 sec in block) | GIT_AUTHOR_EMAIL, GIT_AUTHOR_NAME, GIT_BRANCH, GIT_COMMIT, GIT_COMMITTER_EMAIL, GIT_COMMITTER_NAME, GIT_LOCAL_BRANCH, GIT_PREVIOUS_COMMIT, GIT_URL | | |
| withEnv block - (5 min 51 sec in block) | | | |
| isUnix - (14 ms in self) | | | |
| withEnv - (0.55 sec in block) | JD_TO_PULL | | |
| withEnv block - (0.39 sec in block) | | | |
| sh - (0.32 sec in self) | docker pull "$JD_TO_PULL" | | |
| isUnix - (17 ms in self) | | | |
| withEnv - (0.56 sec in block) | JD_ID, JD_TO_RUN | | |
| withEnv block - (0.4 sec in block) | | | |
| sh - (0.31 sec in self) | docker inspect -f . "$JD_TO_RUN" | | |
| withDockerContainer - (5 min 49 sec in block) | | | |
| withDockerContainer block - (5 min 46 sec in block) | | | |
| withEnv - (5 min 46 sec in block) | LIBRARIES, RUNTESTDB | | |
| withEnv block - (5 min 45 sec in block) | | | |
| script - (5 min 45 sec in block) | | | |
| script block - (5 min 45 sec in block) | | | |
| withCredentials - (5 min 1 sec in block) | | | |
| withCredentials block - (5 min 0 sec in block) | | | |
| sh - (0.33 sec in self) | pwd | | |
| withEnv - (5 min 0 sec in block) | RUSTC_WRAPPER, SCCACHE_BUCKET, SCCACHE_ENDPOINT, SCCACHE_REGION, SCCACHE_S3_USE_SSL, AWS_ACCESS_KEY_ID, CARGO_INCREMENTAL, SCCACHE_BASEDIRS | | |
| withEnv block - (5 min 0 sec in block) | | | |
| sh - (0.31 sec in self) |
set -e
log="$(mktemp)"
sccache --stop-server >/dev/null 2>&1 || true
SCCACHE_ERROR_LOG="$log" SCCACHE_LOG=warn sccache --start-server
sccache --show-stats
if grep -qiE "storage (write )?check failed|read-only storage|cache storage failed" "$log"; then
echo "ERROR: sccache S3 cache backend is not usable; failing build:" >&2
cat "$log" >&2
rm -f "$log"
exit 1
fi
rm -f "$log"
| | |
| echo - (45 ms in self) | Running on: ripper2-2 | | |
| echo - (36 ms in self) | ripper2-2 | | |
| isUnix - (19 ms in self) | | | |
| sh - (0.59 sec in self) | git clean -ffdx && git submodule foreach --recursive git clean -ffdx | | |
| isUnix - (41 ms in self) | | | |
| isUnix - (14 ms in self) | | | |
| sh - (0.31 sec in self) | uname | | |
| sh - (0.32 sec in self) | mkdir ./build_cmake | | |
| sh - (0.31 sec in self) | cmake --version | | |
| sh - (1 min 15 sec in self) | cmake -S ./ -B ./build_cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DOM_COMPILER_CACHE=sccache -DCMAKE_INSTALL_PREFIX=build -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DOM_OMEDIT_ENABLE_TESTS=ON | | |
| sh - (2 min 58 sec in self) | cmake --build ./build_cmake --parallel 12 --target install | | |
| sh - (0.34 sec in self) | build/bin/omc --version | | |
| isUnix - (11 ms in self) | | | |
| sh (Sanity check - C) - (27 sec in self) | bash testsuite/sanity-check/runSanity.sh --omc=build/bin/omc | | |
| sh (Sanity check - Cpp) - (15 sec in self) | bash testsuite/sanity-check/runSanity.sh --omc=build/bin/omc --simCodeTarget=Cpp | | |
| sh - (0.5 sec in self) | sccache --show-stats || true | | |
| sh - (0.42 sec in self) | cp -f /cache/runtest//master/runtest.db.* testsuite/ || cp -f /cache/runtest//master/runtest.db.* testsuite/ || true | | |
| lock - (12 sec in block) | ripper2 | | |
| lock block - (11 sec in block) | | | |
| sh (Install the testsuite libraries) - (9.5 sec in self) | #!/bin/bash -xe
test ! -z '/cache/omlibrary'
mkdir -p '/cache/omlibrary/om-pkg-cache'
# Removes the symbolic link, or if it's a directory there... the entire thing
rm -rf libraries/.openmodelica/cache libraries/.openmodelica/libraries
mkdir -p libraries/.openmodelica/libraries
ln -s '/cache/omlibrary/om-pkg-cache' libraries/.openmodelica/cache
ls -lh libraries/.openmodelica/cache/
cp libraries/index.json libraries/.openmodelica/libraries/
( cd libraries && "$PWD/../build/bin/omc" index.mos )
| | |
| sh (Extract the reference files) - (1.2 sec in self) | make -j24 --output-sync=recurse -C testsuite/ReferenceFiles | | |
| sh - (0.9 sec in self) | #!/bin/bash -xe
# ffi-test-lib
make -C testsuite/flattening/modelica/ffi/FFITest/Resources/BuildProjects/gcc
| | |
| sh (RunOMEditTestsuite) - (31 sec in self) |
# The test binaries live in the build tree, not in build/bin, so they cannot
# deduce the installation dir from their own path; and omc needs a writable
# HOME holding the test libraries.
export OPENMODELICAHOME="$PWD/build"
export HOME="$PWD/libraries"
xvfb-run ctest --test-dir build_cmake/OMEdit/Testsuite --repeat until-pass:5 --output-on-failure --output-junit "$PWD/omedit-testsuite.xml"
| | |
| junit - (82 ms in self) | | | |
| parallel block (Branch: 18 testsuite-misc) - (3 ms in block) | | | |
| stage - (14 min in block) | 18 testsuite-misc | | |
| stage block (18 testsuite-misc) - (14 min in block) | | | |
| retry - (14 min in block) | | | |
| retry block - (14 min in block) | | | |
| node - (14 min in block) | linux-intel-x64 | | |
| node block - (4 min 10 sec in block) | | | |
| ws - (4 min 10 sec in block) | ws/OpenModelica | | |
| ws block - (4 min 9 sec in block) | | | |
| checkout - (6.5 sec in self) | | | |
| withEnv - (4 min 3 sec in block) | GIT_AUTHOR_EMAIL, GIT_AUTHOR_NAME, GIT_BRANCH, GIT_COMMIT, GIT_COMMITTER_EMAIL, GIT_COMMITTER_NAME, GIT_LOCAL_BRANCH, GIT_PREVIOUS_COMMIT, GIT_URL | | |
| withEnv block - (4 min 3 sec in block) | | | |
| withEnv - (4 min 2 sec in block) | LIBRARIES, RUNTESTDB | | |
| withEnv block - (4 min 2 sec in block) | | | |
| script - (4 min 0 sec in block) | | | |
| script block - (4 min 0 sec in block) | | | |
| isUnix - (26 ms in self) | | | |
| withEnv - (1.3 sec in block) | JD_TO_PULL | | |
| withEnv block - (0.82 sec in block) | | | |
| sh - (0.74 sec in self) | docker pull "$JD_TO_PULL" | | |
| sh - (0.51 sec in self) | awk -v jobs=12 -v per_job="${OM_PARTEST_MEM_PER_JOB_GB:-6}" -v percent="${OM_PARTEST_MEM_PERCENT:-80}" '/^MemTotal:/ { cap = int($2/1024*percent/100); want = per_job*1024*jobs; print (want < cap ? want : cap) }' /proc/meminfo | | |
| echo - (0.1 sec in self) | Test container memory limit: 38469 MB, no swap | | |
| isUnix - (14 ms in self) | | | |
| withEnv - (0.8 sec in block) | JD_ID, JD_TO_RUN | | |
| withEnv block - (0.55 sec in block) | | | |
| sh - (0.43 sec in self) | docker inspect -f . "$JD_TO_RUN" | | |
| withDockerContainer - (3 min 56 sec in block) | | | |
| withDockerContainer block - (3 min 54 sec in block) | | | |
| echo - (14 ms in self) | Running on: intel-5820k-1 | | |
| echo - (15 ms in self) | intel-5820k-1 | | |
| isUnix - (12 ms in self) | | | |
| sh - (1.7 sec in self) | git clean -ffdx && git submodule foreach --recursive git clean -ffdx | | |
| withCredentials - (3 min 12 sec in block) | | | |
| withCredentials block - (3 min 12 sec in block) | | | |
| sh - (0.51 sec in self) | pwd | | |
| withEnv - (3 min 11 sec in block) | RUSTC_WRAPPER, SCCACHE_BUCKET, SCCACHE_ENDPOINT, SCCACHE_REGION, SCCACHE_S3_USE_SSL, AWS_ACCESS_KEY_ID, CARGO_INCREMENTAL, SCCACHE_BASEDIRS | | |
| withEnv block - (3 min 11 sec in block) | | | |
| sh - (0.61 sec in self) |
set -e
log="$(mktemp)"
sccache --stop-server >/dev/null 2>&1 || true
SCCACHE_ERROR_LOG="$log" SCCACHE_LOG=warn sccache --start-server
sccache --show-stats
if grep -qiE "storage (write )?check failed|read-only storage|cache storage failed" "$log"; then
echo "ERROR: sccache S3 cache backend is not usable; failing build:" >&2
cat "$log" >&2
rm -f "$log"
exit 1
fi
rm -f "$log"
| | |
| sh (cmake version) - (0.33 sec in self) | cmake --version | | |
| sh (Configure the C unit tests) - (52 sec in self) | cmake -S ./ -B ./build_cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DOM_COMPILER_CACHE=sccache | | |
| sh (Build the C unit tests) - (2 min 15 sec in self) | cmake --build ./build_cmake --parallel 12 --target ctestsuite-depends | | |
| sh (Run the C unit tests) - (2 sec in self) | cmake --build ./build_cmake --parallel 12 --target test | | |
| sh - (0.32 sec in self) | sccache --show-stats || true | | |
| sh (Check that the C unit tests wrote junit.xml) - (0.33 sec in self) | test -f ./build_cmake/junit.xml | | |
| unstash - (4.7 sec in self) | omc-clang | | |
| isUnix - (12 ms in self) | | | |
| sh (Check the omc-diff version) - (0.33 sec in self) | build/bin/omc-diff -v1.4 | | |
| sh - (0.34 sec in self) | pwd | | |
| withEnv - (13 sec in block) | OMCOMPILERGENERATEDSOURCES | | |
| withEnv block - (13 sec in block) | | | |
| sh (Run the testsuite (partition 1/1, -j1 -parmodexp)) - (13 sec in self) | #!/bin/bash -x
ulimit -t 1500
# On top of the cgroup limit, to catch a single runaway process early
ulimit -v 6291456 # Max 6GB per process
.CI/scripts/cgroup-memory.sh check
cd testsuite/partest
./runtests.pl -j12 -partition=1/1 -nocolour -with-xml -j1 -parmodexp
CODE=$?
../../.CI/scripts/cgroup-memory.sh report
test $CODE = 0 -o $CODE = 7 || exit 1
| | |
| junit - (0.35 sec in self) | testsuite/partest/result.xml | | |
| sh - (0.34 sec in self) | cp -f /cache/runtest//master/runtest.db.* testsuite/ || cp -f /cache/runtest//master/runtest.db.* testsuite/ || true | | |
| sh (Install the testsuite libraries) - (5.6 sec in self) | #!/bin/bash -xe
test ! -z '/cache/omlibrary'
mkdir -p '/cache/omlibrary/om-pkg-cache'
# Removes the symbolic link, or if it's a directory there... the entire thing
rm -rf libraries/.openmodelica/cache libraries/.openmodelica/libraries
mkdir -p libraries/.openmodelica/libraries
ln -s '/cache/omlibrary/om-pkg-cache' libraries/.openmodelica/cache
ls -lh libraries/.openmodelica/cache/
cp libraries/index.json libraries/.openmodelica/libraries/
( cd libraries && "$PWD/../build/bin/omc" index.mos )
| | |
| sh (Extract the reference files) - (0.86 sec in self) | make -j24 --output-sync=recurse -C testsuite/ReferenceFiles | | |
| sh - (0.58 sec in self) | #!/bin/bash -xe
# ffi-test-lib
make -C testsuite/flattening/modelica/ffi/FFITest/Resources/BuildProjects/gcc
| | |
| sh - (0.32 sec in self) | pwd | | |
| withEnv - (8.2 sec in block) | OMCOMPILERGENERATEDSOURCES | | |
| withEnv block - (8.1 sec in block) | | | |
| sh (Matlab translator) - (8 sec in self) | make -C testsuite/special/MatlabTranslator/ test | | |
| sh (Icon generator) - (4.5 sec in self) | make -C testsuite/openmodelica/icon-generator test | | |
| junit - (0.53 sec in self) | | | |
| parallel block (Branch: 19 testsuite-wasm-jit) - (3 ms in block) | | | |
| stage - (14 min in block) | 19 testsuite-wasm-jit | | |
| stage block (19 testsuite-wasm-jit) - (14 min in block) | | | |
| retry - (14 min in block) | | | |
| retry block - (14 min in block) | | | |
| node - (14 min in block) | linux && !slow | | |
| node block - (5 min 16 sec in block) | | | |
| ws - (5 min 16 sec in block) | ws/OpenModelica | | |
| ws block - (5 min 15 sec in block) | | | |
| checkout - (4.6 sec in self) | | | |
| withEnv - (5 min 11 sec in block) | GIT_AUTHOR_EMAIL, GIT_AUTHOR_NAME, GIT_BRANCH, GIT_COMMIT, GIT_COMMITTER_EMAIL, GIT_COMMITTER_NAME, GIT_LOCAL_BRANCH, GIT_PREVIOUS_COMMIT, GIT_URL | | |
| withEnv block - (5 min 11 sec in block) | | | |
| withEnv - (5 min 10 sec in block) | LIBRARIES, RUNTESTDB | | |
| withEnv block - (5 min 10 sec in block) | | | |
| script - (5 min 10 sec in block) | | | |
| script block - (5 min 10 sec in block) | | | |
| isUnix - (13 ms in self) | | | |
| withEnv - (0.81 sec in block) | JD_TO_PULL | | |
| withEnv block - (0.54 sec in block) | | | |
| sh - (0.41 sec in self) | docker pull "$JD_TO_PULL" | | |
| sh - (0.36 sec in self) | awk -v jobs=12 -v per_job="${OM_PARTEST_MEM_PER_JOB_GB:-6}" -v percent="${OM_PARTEST_MEM_PERCENT:-80}" '/^MemTotal:/ { cap = int($2/1024*percent/100); want = per_job*1024*jobs; print (want < cap ? want : cap) }' /proc/meminfo | | |
| echo - (84 ms in self) | Test container memory limit: 51364 MB, no swap | | |
| isUnix - (14 ms in self) | | | |
| withEnv - (0.72 sec in block) | JD_ID, JD_TO_RUN | | |
| withEnv block - (0.51 sec in block) | | | |
| sh - (0.37 sec in self) | docker inspect -f . "$JD_TO_RUN" | | |
| withDockerContainer - (5 min 8 sec in block) | | | |
| withDockerContainer block - (5 min 6 sec in block) | | | |
| echo - (36 ms in self) | ryzen-5950x-1 | | |
| isUnix - (11 ms in self) | | | |
| sh - (0.37 sec in self) | git clean -ffdx && git submodule foreach --recursive git clean -ffdx | | |
| unstash - (5.3 sec in self) | omc-rust | | |
| unstash - (0.24 sec in self) | omsimulator | | |
| unstash - (0.11 sec in self) | omcruntime | | |
| sh (Install the testsuite libraries) - (3.3 sec in self) | #!/bin/bash -xe
test ! -z '/cache/omlibrary'
mkdir -p '/cache/omlibrary/om-pkg-cache'
# Removes the symbolic link, or if it's a directory there... the entire thing
rm -rf libraries/.openmodelica/cache libraries/.openmodelica/libraries
mkdir -p libraries/.openmodelica/libraries
ln -s '/cache/omlibrary/om-pkg-cache' libraries/.openmodelica/cache
ls -lh libraries/.openmodelica/cache/
cp libraries/index.json libraries/.openmodelica/libraries/
( cd libraries && "$PWD/../build/bin/omc" index.mos )
| | |
| sh (Extract the reference files) - (0.7 sec in self) | make -j24 --output-sync=recurse -C testsuite/ReferenceFiles | | |
| sh - (0.39 sec in self) | build/bin/omc-diff -v1.4 | | |
| sh - (4 min 54 sec in self) | #!/bin/bash
set -o pipefail
ulimit -t 1500
# wasm: address space is not limited, only the cgroup is
.CI/scripts/cgroup-memory.sh check
cd testsuite/partest
set -x
./runtests.pl -j12 -partition=1/1 -nocolour -with-xml -suites=-cpp,-hpcom,-metamodelica,-63bit,-antlr,-stackoverflow,+wasm,+hdf5,-cSources,-fmuCSources -simCodeTarget=wasm-jit 2>&1 | tee runtests-1.log
CODE=${PIPESTATUS[0]}
set +x
../../.CI/scripts/cgroup-memory.sh report
# 0/7 == the run completed (7 means some tests failed); only fail the step on
# anything else, so the results below are still published.
test $CODE = 0 -o $CODE = 7 || exit 1
| | |
| junit - (0.5 sec in self) | | | |
| parallel block (Branch: 20 testsuite-windows) - (3 ms in block) | | | |
| stage - (0.75 sec in block) | 20 testsuite-windows | | |
| stage block (20 testsuite-windows) - (0.66 sec in block) | | | |
| retry - (0.44 sec in block) | | | |
| retry block - (0.11 sec in block) | | | |
| getContext - (13 ms in self) | | | |
| parallel block (Branch: 21 cross-build-omc-msvc) - (10 min in block) | | | |
| stage - (10 min in block) | 21 cross-build-omc-msvc | | |
| stage block (21 cross-build-omc-msvc) - (10 min in block) | | | |
| node - (10 min in block) | linux | | |
| node block - (5 min 0 sec in block) | | | |
| ws - (4 min 58 sec in block) | ws/OpenModelica | | |
| ws block - (4 min 58 sec in block) | | | |
| checkout - (5.3 sec in self) | | | |
| withEnv - (4 min 52 sec in block) | GIT_AUTHOR_EMAIL, GIT_AUTHOR_NAME, GIT_BRANCH, GIT_COMMIT, GIT_COMMITTER_EMAIL, GIT_COMMITTER_NAME, GIT_LOCAL_BRANCH, GIT_PREVIOUS_COMMIT, GIT_URL | | |
| withEnv block - (4 min 52 sec in block) | | | |
| isUnix - (14 ms in self) | | | |
| withEnv - (1.2 sec in block) | JD_TO_PULL | | |
| withEnv block - (0.93 sec in block) | | | |
| sh - (0.82 sec in self) | docker pull "$JD_TO_PULL" | | |
| isUnix - (14 ms in self) | | | |
| withEnv - (0.62 sec in block) | JD_ID, JD_TO_RUN | | |
| withEnv block - (0.46 sec in block) | | | |
| sh - (0.38 sec in self) | docker inspect -f . "$JD_TO_RUN" | | |
| withDockerContainer - (4 min 50 sec in block) | | | |
| withDockerContainer block - (4 min 48 sec in block) | | | |
| script - (4 min 48 sec in block) | | | |
| script block - (4 min 48 sec in block) | | | |
| echo - (36 ms in self) | intel-5820k-1 | | |
| isUnix - (10 ms in self) | | | |
| sh - (0.62 sec in self) | git clean -ffdx && git submodule foreach --recursive git clean -ffdx | | |
| unstash - (0.66 sec in self) | omc-msvc-c-sources | | |
| sh - (0.35 sec in self) | mv build_cmake/OMCompiler/Compiler/msvc-c-sources omc-c-sources && rm -rf build_cmake | | |
| sh - (1 min 18 sec in self) | cmake -S . -B build_cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=OMCompiler/Compiler/OpenModelica.rs/.cmake/xwin-toolchain.cmake -DRUST_OMC_TARGET=x86_64-pc-windows-msvc -DOM_OMC_PREBUILT_C_SOURCES=/var/lib/jenkins/ws/OpenModelica/omc-c-sources -DOM_ENABLE_GUI_CLIENTS=ON -DOM_OMC_ENABLE_CPP_RUNTIME=ON -DOM_USE_CCACHE=OFF -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache -DOM_DOWNLOADS_DIR=/cache/thirdparty -DCMAKE_INSTALL_PREFIX=/var/lib/jenkins/ws/OpenModelica/install/win64 -DOM_OMC_ENABLE_FORTRAN=OFF -DOM_OMC_ENABLE_MOO=OFF -DOM_OMC_ENABLE_OPTIMIZATION=OFF -DENABLE_CPACK=OFF -DZMQ_BUILD_TESTS=OFF -DCMAKE_PREFIX_PATH=/opt/Qt/6.11.2/msvc2022_64 -DQT_HOST_PATH=/opt/Qt/6.11.2/gcc_64 | | |
| withCredentials - (2 min 24 sec in block) | | | |
| withCredentials block - (2 min 23 sec in block) | | | |
| sh - (0.34 sec in self) | pwd | | |
| withEnv - (2 min 23 sec in block) | RUSTC_WRAPPER, SCCACHE_BUCKET, SCCACHE_ENDPOINT, SCCACHE_REGION, SCCACHE_S3_USE_SSL, AWS_ACCESS_KEY_ID, CARGO_INCREMENTAL, SCCACHE_BASEDIRS | | |
| withEnv block - (2 min 23 sec in block) | | | |
| sh - (0.59 sec in self) |
set -e
log="$(mktemp)"
sccache --stop-server >/dev/null 2>&1 || true
SCCACHE_ERROR_LOG="$log" SCCACHE_LOG=warn sccache --start-server
sccache --show-stats
if grep -qiE "storage (write )?check failed|read-only storage|cache storage failed" "$log"; then
echo "ERROR: sccache S3 cache backend is not usable; failing build:" >&2
cat "$log" >&2
rm -f "$log"
exit 1
fi
rm -f "$log"
| | |
| sh - (2 min 22 sec in self) | cmake --build build_cmake --parallel 12 --target install | | |
| sh - (0.41 sec in self) | sccache --show-stats || true | | |
| sh - (0.39 sec in self) | #!/bin/bash
set -eu
bin=install/win64/bin/omc.exe
test -f "$bin"
magic=$(od -An -tx1 -N4 "$bin" | tr -d ' \n')
echo "$bin: $magic"
case 'x86_64-pc-windows-msvc' in
*windows*) test "${magic:0:4}" = 4d5a ;; # MZ
*darwin*) test "$magic" = cffaedfe ;; # 64-bit Mach-O, little endian
# ELF says nothing here (a host binary is one), so: e_machine, at 18.
*aarch64-unknown-linux-gnu)
test "$magic" = 7f454c46
test "$(od -An -tx1 -j18 -N2 "$bin" | tr -d ' \n')" = b700 ;;
esac
| | |
| unstash - (5.1 sec in self) | omc-rust | | |
| sh (Install Modelica for the Windows smoke set) - (1.3 sec in self) | cd libraries && ../build/bin/omc install-windows-smoke.mos | | |
| sh (Put the MSVC omc where rtest looks) - (0.34 sec in self) | mv build/bin/omc-diff install/win64/bin/ && rm -rf build && ln -s install/win64 build | | |
| sh (Windows testsuite under wine) - (56 sec in self) | bash testsuite/runWindowsTests.sh --wine -j12 | | |
| stage - (5 min 38 sec in block) | check-and-upload | | |
| stage block (check-and-upload) - (5 min 38 sec in block) | | | |
| parallel - (5 min 37 sec in block) | | | |
| parallel block (Branch: linux-FMPy) - (3 ms in block) | | | |
| stage - (5 min 37 sec in block) | linux-FMPy | | |
| stage block (linux-FMPy) - (5 min 37 sec in block) | | | |
| node - (5 min 36 sec in block) | linux | | |
| node block - (42 sec in block) | | | |
| ws - (42 sec in block) | ws/OpenModelica | | |
| ws block - (42 sec in block) | | | |
| isUnix - (22 ms in self) | | | |
| withEnv - (0.78 sec in block) | JD_TO_PULL | | |
| withEnv block - (0.65 sec in block) | | | |
| sh - (0.56 sec in self) | docker pull "$JD_TO_PULL" | | |
| isUnix - (24 ms in self) | | | |
| withEnv - (0.52 sec in block) | JD_ID, JD_TO_RUN | | |
| withEnv block - (0.37 sec in block) | | | |
| sh - (0.31 sec in self) | docker inspect -f . "$JD_TO_RUN" | | |
| withDockerContainer - (40 sec in block) | | | |
| withDockerContainer block - (36 sec in block) | | | |
| script - (36 sec in block) | | | |
| script block - (36 sec in block) | | | |
| echo - (11 ms in self) | dev.openmodelica.org | | |
| unstash - (2.3 sec in self) | cross-fmu | | |
| unstash - (71 ms in self) | fmpy-fmu | | |
| sh - (33 sec in self) |
export HOME="$PWD"
cd testsuite/special/FMPy/
make test
| | |
| parallel block (Branch: coverage-report) - (4 ms in block) | | | |
| stage - (5 min 20 sec in block) | coverage-report | | |
| stage block (coverage-report) - (5 min 20 sec in block) | | | |
| node - (5 min 20 sec in block) | linux | | |
| node block - (1 min 37 sec in block) | | | |
| ws - (1 min 37 sec in block) | ws/OpenModelica | | |
| ws block - (1 min 37 sec in block) | | | |
| checkout - (4.2 sec in self) | | | |
| withEnv - (1 min 32 sec in block) | GIT_AUTHOR_EMAIL, GIT_AUTHOR_NAME, GIT_BRANCH, GIT_COMMIT, GIT_COMMITTER_EMAIL, GIT_COMMITTER_NAME, GIT_LOCAL_BRANCH, GIT_PREVIOUS_COMMIT, GIT_URL | | |
| withEnv block - (1 min 32 sec in block) | | | |
| script - (1 min 32 sec in block) | | | |
| script block - (1 min 32 sec in block) | | | |
| echo - (36 ms in self) | ryzen-5950x-1 | | |
| isUnix - (22 ms in self) | | | |
| sh - (0.32 sec in self) | git clean -ffdx && git submodule foreach --recursive git clean -ffdx | | |
| unstash - (66 ms in self) | omc-gcc-coverage-root | | |
| readFile - (74 ms in self) | coverage-build-root.txt | | |
| unstash - (0.59 sec in self) | omc-gcc-gcno | | |
| unstash - (73 ms in self) | omc-gcc-coverage-sources | | |
| dir - (0.28 sec in block) | shard-1 | | |
| dir block - (0.14 sec in block) | | | |
| unstash - (85 ms in self) | gcda-1 | | |
| isUnix - (14 ms in self) | | | |
| withEnv - (0.54 sec in block) | JD_TO_PULL | | |
| withEnv block - (0.42 sec in block) | | | |
| sh - (0.36 sec in self) | docker pull "$JD_TO_PULL" | | |
| sh - (0.31 sec in self) | awk -v jobs=12 -v per_job="${OM_PARTEST_MEM_PER_JOB_GB:-6}" -v percent="${OM_PARTEST_MEM_PERCENT:-80}" '/^MemTotal:/ { cap = int($2/1024*percent/100); want = per_job*1024*jobs; print (want < cap ? want : cap) }' /proc/meminfo | | |
| echo - (44 ms in self) | Test container memory limit: 51364 MB, no swap | | |
| isUnix - (15 ms in self) | | | |
| withEnv - (0.51 sec in block) | JD_ID, JD_TO_RUN | | |
| withEnv block - (0.38 sec in block) | | | |
| sh - (0.3 sec in self) | docker inspect -f . "$JD_TO_RUN" | | |
| withDockerContainer - (1 min 22 sec in block) | | | |
| withDockerContainer block - (1 min 20 sec in block) | | | |
| sh - (0.31 sec in self) | #!/bin/bash -xe
# Fails the stage right here if the mount above did not take effect,
# rather than further down with an empty report.
test -e "/var/lib/jenkins/ws/OpenModelica/OMCompiler/Compiler/CMakeLists.txt"
cd "/var/lib/jenkins/ws/OpenModelica"
merged=shard-1/gcda-out/var/lib/jenkins/ws/OpenModelica/build_cmake
for src in ; do
gcov-tool merge "$merged" "$src" -o merged-next
rm -rf merged-tmp
mv merged-next merged-tmp
merged=merged-tmp
done
# Overlay the merged counters onto the *.gcno tree unstashed above.
cp -a "$merged/." build_cmake/
| | |
| sh - (1 min 20 sec in self) | #!/bin/bash -xe
cd "/var/lib/jenkins/ws/OpenModelica"
cmake -S . -B build_cmake -DCMAKE_BUILD_TYPE=Release -DOM_USE_CCACHE=OFF \
-DCMAKE_INSTALL_PREFIX=build -DOM_ENABLE_COVERAGE=ON
cmake --build build_cmake --target coverage-report
| | |
| archiveArtifacts - (2 sec in self) | | | |
| discoverGitReferenceBuild - (81 ms in self) | 500 | | |
| recordCoverage - (4.6 sec in self) | {name=C/C++ runtime and compiler, id=omc-coverage, tools=[{parser=COBERTURA, pattern=build_cmake/coverage/coverage.xml}], sourceCodeRetention=LAST_BUILD} | | |
| parallel block (Branch: upload-compliance) - (3 ms in block) | | | |
| stage - (0.64 sec in block) | upload-compliance | | |
| stage block (upload-compliance) - (0.5 sec in block) | | | |
| retry - (0.38 sec in block) | | | |
| retry block - (0.12 sec in block) | | | |
| getContext - (13 ms in self) | | | |
| parallel block (Branch: upload-doc) - (3 ms in block) | | | |
| stage - (0.68 sec in block) | upload-doc | | |
| stage block (upload-doc) - (0.52 sec in block) | | | |
| retry - (0.39 sec in block) | | | |
| retry block - (0.11 sec in block) | | | |
| getContext - (24 ms in self) | | | |
| parallel block (Branch: upload-web) - (0.46 sec in block) | | | |
| stage - (0.3 sec in block) | upload-web | | |
| stage block (upload-web) - (0.18 sec in block) | | | |
| getContext - (13 ms in self) | | | |
| stage - (1 sec in block) | publish | | |
| stage block (publish) - (0.99 sec in block) | | | |
| parallel - (0.86 sec in block) | | | |
| parallel block (Branch: push-to-master) - (4 ms in block) | | | |
| stage - (0.49 sec in block) | push-to-master | | |
| stage block (push-to-master) - (0.36 sec in block) | | | |
| retry - (0.27 sec in block) | | | |
| retry block - (70 ms in block) | | | |
| getContext - (16 ms in self) | | | |
| parallel block (Branch: push-bibliography) - (0.65 sec in block) | | | |
| stage - (0.54 sec in block) | push-bibliography | | |
| stage block (push-bibliography) - (0.38 sec in block) | | | |
| retry - (0.28 sec in block) | | | |
| retry block - (60 ms in block) | | | |
| getContext - (23 ms in self) | | | |