Package evaluation of OpenFHE on Julia 1.11.4 (a71dd056e0*) started at 2025-04-08T09:13:07.837 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Set-up completed after 8.87s ################################################################################ # Installation # Installing OpenFHE... Resolving package versions... Updating `~/.julia/environments/v1.11/Project.toml` [77ce9b8e] + OpenFHE v0.1.12 Updating `~/.julia/environments/v1.11/Manifest.toml` [1f15a43c] + CxxWrap v0.16.2 [692b3bcd] + JLLWrappers v1.7.0 [1914dd2f] + MacroTools v0.5.15 [77ce9b8e] + OpenFHE v0.1.12 [21216c6a] + Preferences v1.4.3 [1d63c593] + LLVMOpenMP_jll v18.1.7+0 [a89a0bdd] + OpenFHE_int128_jll v1.2.4+0 [a2687184] + OpenFHE_jll v1.2.4+0 ⌅ [3eaa8342] + libcxxwrap_julia_jll v0.13.4+0 [328aa5c7] + openfhe_julia_int128_jll v0.3.9+0 [e5e97983] + openfhe_julia_jll v0.3.9+0 [56f22d72] + Artifacts v1.11.0 [ade2ca70] + Dates v1.11.0 [8f399da3] + Libdl v1.11.0 [de0858da] + Printf v1.11.0 [9a3f8284] + Random v1.11.0 [ea8e919c] + SHA v0.7.0 [fa267f1f] + TOML v1.0.3 [cf7118a7] + UUIDs v1.11.0 [4ec0a83e] + Unicode v1.11.0 [e66e0078] + CompilerSupportLibraries_jll v1.1.1+0 Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. To see why use `status --outdated -m` Installation completed after 2.28s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... Precompiling package dependencies... Precompilation completed after 33.96s ################################################################################ # Testing # Testing OpenFHE Status `/tmp/jl_lz6Y1u/Project.toml` [77ce9b8e] OpenFHE v0.1.12 [8dfed614] Test v1.11.0 Status `/tmp/jl_lz6Y1u/Manifest.toml` [1f15a43c] CxxWrap v0.16.2 [692b3bcd] JLLWrappers v1.7.0 [1914dd2f] MacroTools v0.5.15 [77ce9b8e] OpenFHE v0.1.12 [21216c6a] Preferences v1.4.3 [1d63c593] LLVMOpenMP_jll v18.1.7+0 [a89a0bdd] OpenFHE_int128_jll v1.2.4+0 [a2687184] OpenFHE_jll v1.2.4+0 ⌅ [3eaa8342] libcxxwrap_julia_jll v0.13.4+0 [328aa5c7] openfhe_julia_int128_jll v0.3.9+0 [e5e97983] openfhe_julia_jll v0.3.9+0 [56f22d72] Artifacts v1.11.0 [2a0f44e3] Base64 v1.11.0 [ade2ca70] Dates v1.11.0 [b77e0a4c] InteractiveUtils v1.11.0 [8f399da3] Libdl v1.11.0 [56ddb016] Logging v1.11.0 [d6f4376e] Markdown v1.11.0 [de0858da] Printf v1.11.0 [9a3f8284] Random v1.11.0 [ea8e919c] SHA v0.7.0 [9e88b42a] Serialization v1.11.0 [fa267f1f] TOML v1.0.3 [8dfed614] Test v1.11.0 [cf7118a7] UUIDs v1.11.0 [4ec0a83e] Unicode v1.11.0 [e66e0078] CompilerSupportLibraries_jll v1.1.1+0 Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. Testing Running tests... Tests for native_int = 64 CCParams{CryptoContextCKKSRNS}() CryptoContextCKKSRNS() CryptoContext{DCRTPoly}() Ciphertext{DCRTPoly}() Plaintext() PublicKey{DCRTPoly}() PrivateKey{DCRTPoly}() DecryptResult() EncodingParams() Plaintext #1: ( 1 2 3 4 5 6 7 8 9 10 11 12 ... ) Plaintext #2: ( 3 2 1 4 5 6 7 8 9 10 11 12 ... ) Plaintext #3: ( 1 2 5 2 5 6 7 8 9 10 11 12 ... ) Results of homomorphic computations #1 + #2 + #3: ( 5 6 9 10 15 18 21 24 27 30 33 36 ... ) #1 * #2 * #3: ( 3 8 15 32 125 216 343 512 729 1000 1331 1728 ... ) Left rotation of #1 by 1: ( 2 3 4 5 6 7 8 9 10 11 12 ... ) Left rotation of #1 by 2: ( 3 4 5 6 7 8 9 10 11 12 ... ) Right rotation of #1 by 1: ( 0 1 2 3 4 5 6 7 8 9 10 11 ... ) Right rotation of #1 by 2: ( 0 0 1 2 3 4 5 6 7 8 9 10 ... ) Plaintext #1: ( 1 2 3 4 5 6 7 8 9 10 11 12 ... ) Plaintext #2: ( 3 2 1 4 5 6 7 8 9 10 11 12 ... ) Plaintext #3: ( 1 2 5 2 5 6 7 8 9 10 11 12 ... ) Results of homomorphic computations #1 + #2 + #3: ( 5 6 9 10 15 18 21 24 27 30 33 36 ... ) #1 * #2 * #3: ( 3 8 15 32 125 216 343 512 729 1000 1331 1728 ... ) Left rotation of #1 by 1: ( 2 3 4 5 6 7 8 9 10 11 12 ... ) Left rotation of #1 by 2: ( 3 4 5 6 7 8 9 10 11 12 ... ) Right rotation of #1 by 1: ( 0 1 2 3 4 5 6 7 8 9 10 11 ... ) Right rotation of #1 by 2: ( 0 0 1 2 3 4 5 6 7 8 9 10 ... ) CKKS scheme is using ring dimension 16384 Input x1: (0.25, 0.5, 0.75, 1, 2, 3, 4, 5, ... ); Estimated precision: 50 bits Input x2: (5, 4, 3, 2, 1, 0.75, 0.5, 0.25, ... ); Estimated precision: 50 bits Results of homomorphic computations: x1 = (0.25, 0.5, 0.75, 1, 2, 3, 4, 5, ... ); Estimated precision: 43 bits Estimated precision in bits: 43.0 x1 + x2 = (5.25, 4.5, 3.75, 3, 3, 3.75, 4.5, 5.25, ... ); Estimated precision: 43 bits Estimated precision in bits: 43.0 x1 - x2 = (-4.75, -3.5, -2.25, -1, 1, 2.25, 3.5, 4.75, ... ); Estimated precision: 43 bits 4 * x1 = (1, 2, 3, 4, 8, 12, 16, 20, ... ); Estimated precision: 41 bits x1 * x2 = (1.25, 2, 2.25, 2, 2, 2.25, 2, 1.25, ... ); Estimated precision: 41 bits In rotations, very small outputs (~10^-10 here) correspond to 0's: x1 rotate by 1 = (0.5, 0.75, 1, 2, 3, 4, 5, 0.25, ... ); Estimated precision: 43 bits x1 rotate by -2 = (4, 5, 0.25, 0.5, 0.75, 1, 2, 3, ... ); Estimated precision: 43 bits CKKS scheme is using ring dimension 4096 Input: (0.25, 0.5, 0.75, 1, 2, 3, 4, 5, ... ); Estimated precision: 59 bits Initial number of levels remaining: 1 Number of levels remaining after bootstrapping: 11 Output after bootstrapping (0.250007, 0.500002, 0.750004, 1, 2, 3, 4, 5, ... ); Estimated precision: 18 bits Test Summary: | Pass Total Time OpenFHE.jl tests | 69 69 38.4s test_auxiliary.jl | 7 7 7.0s library_path | 1 1 0.2s set_library! | 2 2 6.1s set_native_int! | 4 4 0.6s test_bfv.jl | 5 5 1.4s CCParams | 3 3 0.4s MakePackedPlaintext | 2 2 0.3s test_bgv.jl | 3 3 0.2s CCParams | 3 3 0.2s test_ckks.jl | 41 41 9.0s CCParams | 4 4 0.4s get_native_int | 2 2 0.2s CryptoContext | 7 7 0.6s Key generation | 6 6 0.9s MakeCKKSPackedPlaintext | 1 1 0.2s Encrypt | 1 1 0.1s Plaintext | 1 1 0.0s Decrypt | 1 1 0.1s GetRealPackedValue | 1 1 3.2s EvalAdd | 2 2 0.5s EvalSub | 2 2 0.5s EvalMult (cipher * constant) | 2 2 0.3s EvalMult (cipher1 * cipher2) | 2 2 0.5s EvalRotate | 2 2 0.4s EvalSum | 2 2 0.5s GetCryptoContext | 1 1 0.1s GetEncodingParameters | 1 1 0.1s GetFullContextByDeserializedContext | 1 1 0.0s GetAllContexts | 1 1 0.0s GetContextCount | 1 1 0.0s test_convenience.jl | 9 9 1.0s show | 9 9 1.0s test_examples.jl | 4 4 13.7s examples/simple_integers.jl | 1 1 0.8s examples/simple_integers_bgvrns.jl | 1 1 0.7s examples/simple_real_numbers.jl | 1 1 0.8s examples/simple_ckks_bootstrapping.jl | 1 1 11.4s 38.690030 seconds (9.49 M allocations: 486.521 MiB, 0.90% gc time, 55.18% compilation time) Testing OpenFHE tests passed Testing completed after 44.59s PkgEval succeeded after 96.95s