./Ultimate.py --spec ../../sv-benchmarks/c/properties/unreach-call.prp --file ../../sv-benchmarks/c/seq-pthread/cs_read_write_lock-2.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for ERROR reachability Using default analysis Version 0e0057cc Calling Ultimate with: /usr/lib/jvm/java-11-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_599bb423-e8d2-4547-9739-ae0d0cb34704/bin/ukojak-verify-afCqCEvfdi/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_599bb423-e8d2-4547-9739-ae0d0cb34704/bin/ukojak-verify-afCqCEvfdi/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_599bb423-e8d2-4547-9739-ae0d0cb34704/bin/ukojak-verify-afCqCEvfdi/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_599bb423-e8d2-4547-9739-ae0d0cb34704/bin/ukojak-verify-afCqCEvfdi/config/KojakReach.xml -i ../../sv-benchmarks/c/seq-pthread/cs_read_write_lock-2.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_599bb423-e8d2-4547-9739-ae0d0cb34704/bin/ukojak-verify-afCqCEvfdi/config/svcomp-Reach-32bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_599bb423-e8d2-4547-9739-ae0d0cb34704/bin/ukojak-verify-afCqCEvfdi --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G ! call(reach_error())) ) --witnessprinter.graph.data.producer Kojak --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 1458378674bd140ace04512980940eeb05aa22f50528a181d147a292aa3349d2 --- Real Ultimate output --- This is Ultimate 0.2.4-dev-0e0057c [2023-11-24 22:17:46,237 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-24 22:17:46,334 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_599bb423-e8d2-4547-9739-ae0d0cb34704/bin/ukojak-verify-afCqCEvfdi/config/svcomp-Reach-32bit-Kojak_Default.epf [2023-11-24 22:17:46,340 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-24 22:17:46,341 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2023-11-24 22:17:46,371 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-24 22:17:46,372 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-24 22:17:46,372 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2023-11-24 22:17:46,373 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-24 22:17:46,374 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-24 22:17:46,374 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-24 22:17:46,375 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-24 22:17:46,375 INFO L153 SettingsManager]: * sizeof long=4 [2023-11-24 22:17:46,376 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-24 22:17:46,377 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-11-24 22:17:46,377 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-24 22:17:46,378 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-24 22:17:46,378 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-24 22:17:46,379 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-24 22:17:46,379 INFO L153 SettingsManager]: * sizeof long double=12 [2023-11-24 22:17:46,380 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-24 22:17:46,381 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-24 22:17:46,381 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2023-11-24 22:17:46,382 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2023-11-24 22:17:46,382 INFO L153 SettingsManager]: * Theory for external solver=ALL [2023-11-24 22:17:46,383 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-24 22:17:46,384 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-24 22:17:46,384 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-24 22:17:46,385 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-24 22:17:46,385 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-11-24 22:17:46,386 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2023-11-24 22:17:46,386 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-11-24 22:17:46,387 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-11-24 22:17:46,387 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_599bb423-e8d2-4547-9739-ae0d0cb34704/bin/ukojak-verify-afCqCEvfdi/plugins/com.sun.xml.bind_2.2.0.v201505121915.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_599bb423-e8d2-4547-9739-ae0d0cb34704/bin/ukojak-verify-afCqCEvfdi Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(G ! call(reach_error())) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Kojak Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> 1458378674bd140ace04512980940eeb05aa22f50528a181d147a292aa3349d2 [2023-11-24 22:17:46,630 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-24 22:17:46,652 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-24 22:17:46,655 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-24 22:17:46,656 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-24 22:17:46,657 INFO L274 PluginConnector]: CDTParser initialized [2023-11-24 22:17:46,658 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_599bb423-e8d2-4547-9739-ae0d0cb34704/bin/ukojak-verify-afCqCEvfdi/../../sv-benchmarks/c/seq-pthread/cs_read_write_lock-2.i [2023-11-24 22:17:49,777 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-24 22:17:50,181 INFO L384 CDTParser]: Found 1 translation units. [2023-11-24 22:17:50,188 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_599bb423-e8d2-4547-9739-ae0d0cb34704/sv-benchmarks/c/seq-pthread/cs_read_write_lock-2.i [2023-11-24 22:17:50,209 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_599bb423-e8d2-4547-9739-ae0d0cb34704/bin/ukojak-verify-afCqCEvfdi/data/4e2760efc/f388021415f44ac3935226e17d05b1d2/FLAGb35a95dd8 [2023-11-24 22:17:50,222 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_599bb423-e8d2-4547-9739-ae0d0cb34704/bin/ukojak-verify-afCqCEvfdi/data/4e2760efc/f388021415f44ac3935226e17d05b1d2 [2023-11-24 22:17:50,224 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-24 22:17:50,226 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-24 22:17:50,228 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-24 22:17:50,228 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-24 22:17:50,237 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-24 22:17:50,238 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 24.11 10:17:50" (1/1) ... [2023-11-24 22:17:50,239 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@526e8c17 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:17:50, skipping insertion in model container [2023-11-24 22:17:50,239 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 24.11 10:17:50" (1/1) ... [2023-11-24 22:17:50,308 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-24 22:17:50,712 WARN L240 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_599bb423-e8d2-4547-9739-ae0d0cb34704/sv-benchmarks/c/seq-pthread/cs_read_write_lock-2.i[23469,23482] [2023-11-24 22:17:50,874 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-24 22:17:50,895 INFO L202 MainTranslator]: Completed pre-run [2023-11-24 22:17:50,946 WARN L240 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_599bb423-e8d2-4547-9739-ae0d0cb34704/sv-benchmarks/c/seq-pthread/cs_read_write_lock-2.i[23469,23482] [2023-11-24 22:17:51,037 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-24 22:17:51,096 INFO L206 MainTranslator]: Completed translation [2023-11-24 22:17:51,096 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:17:51 WrapperNode [2023-11-24 22:17:51,097 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-24 22:17:51,098 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-24 22:17:51,099 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-24 22:17:51,099 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-24 22:17:51,107 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:17:51" (1/1) ... [2023-11-24 22:17:51,154 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:17:51" (1/1) ... [2023-11-24 22:17:51,210 INFO L138 Inliner]: procedures = 145, calls = 279, calls flagged for inlining = 8, calls inlined = 8, statements flattened = 557 [2023-11-24 22:17:51,211 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-24 22:17:51,212 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-24 22:17:51,212 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-24 22:17:51,212 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-24 22:17:51,223 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:17:51" (1/1) ... [2023-11-24 22:17:51,223 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:17:51" (1/1) ... [2023-11-24 22:17:51,233 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:17:51" (1/1) ... [2023-11-24 22:17:51,234 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:17:51" (1/1) ... [2023-11-24 22:17:51,285 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:17:51" (1/1) ... [2023-11-24 22:17:51,317 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:17:51" (1/1) ... [2023-11-24 22:17:51,333 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:17:51" (1/1) ... [2023-11-24 22:17:51,340 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:17:51" (1/1) ... [2023-11-24 22:17:51,360 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-24 22:17:51,365 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-24 22:17:51,365 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-24 22:17:51,366 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-24 22:17:51,367 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:17:51" (1/1) ... [2023-11-24 22:17:51,375 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-24 22:17:51,402 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_599bb423-e8d2-4547-9739-ae0d0cb34704/bin/ukojak-verify-afCqCEvfdi/z3 [2023-11-24 22:17:51,418 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_599bb423-e8d2-4547-9739-ae0d0cb34704/bin/ukojak-verify-afCqCEvfdi/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2023-11-24 22:17:51,472 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_599bb423-e8d2-4547-9739-ae0d0cb34704/bin/ukojak-verify-afCqCEvfdi/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2023-11-24 22:17:51,500 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2023-11-24 22:17:51,500 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2023-11-24 22:17:51,500 INFO L130 BoogieDeclarations]: Found specification of procedure assume_abort_if_not [2023-11-24 22:17:51,500 INFO L138 BoogieDeclarations]: Found implementation of procedure assume_abort_if_not [2023-11-24 22:17:51,501 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-24 22:17:51,501 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-24 22:17:51,501 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$ [2023-11-24 22:17:51,501 INFO L130 BoogieDeclarations]: Found specification of procedure __CS_pthread_create [2023-11-24 22:17:51,501 INFO L138 BoogieDeclarations]: Found implementation of procedure __CS_pthread_create [2023-11-24 22:17:51,501 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$ [2023-11-24 22:17:51,502 INFO L130 BoogieDeclarations]: Found specification of procedure __CS_pthread_join [2023-11-24 22:17:51,502 INFO L138 BoogieDeclarations]: Found implementation of procedure __CS_pthread_join [2023-11-24 22:17:51,502 INFO L130 BoogieDeclarations]: Found specification of procedure ##fun~$Pointer$~TO~$Pointer$ [2023-11-24 22:17:51,502 INFO L138 BoogieDeclarations]: Found implementation of procedure ##fun~$Pointer$~TO~$Pointer$ [2023-11-24 22:17:51,502 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-24 22:17:51,502 INFO L130 BoogieDeclarations]: Found specification of procedure __CS_cs [2023-11-24 22:17:51,503 INFO L138 BoogieDeclarations]: Found implementation of procedure __CS_cs [2023-11-24 22:17:51,503 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2023-11-24 22:17:51,503 INFO L130 BoogieDeclarations]: Found specification of procedure __CS_assume [2023-11-24 22:17:51,505 INFO L138 BoogieDeclarations]: Found implementation of procedure __CS_assume [2023-11-24 22:17:51,505 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-24 22:17:51,505 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-24 22:17:51,714 INFO L241 CfgBuilder]: Building ICFG [2023-11-24 22:17:51,716 INFO L267 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-24 22:17:52,248 INFO L775 $ProcedureCfgBuilder]: dead code at ProgramPoint $Ultimate##42: assume !(0 != (if ~__CS_ret~0 % 256 % 4294967296 <= 2147483647 then ~__CS_ret~0 % 256 % 4294967296 else ~__CS_ret~0 % 256 % 4294967296 - 4294967296)); [2023-11-24 22:17:52,249 INFO L775 $ProcedureCfgBuilder]: dead code at ProgramPoint $Ultimate##41: assume 0 != (if ~__CS_ret~0 % 256 % 4294967296 <= 2147483647 then ~__CS_ret~0 % 256 % 4294967296 else ~__CS_ret~0 % 256 % 4294967296 - 4294967296);reader_#res#1.base, reader_#res#1.offset := 0, 0; [2023-11-24 22:18:02,595 INFO L282 CfgBuilder]: Performing block encoding [2023-11-24 22:18:02,775 FATAL L? ?]: The Plugin de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder has thrown an exception: java.lang.UnsupportedOperationException: Incomplete atomic composition (dangling end of atomic block: havoc __VERIFIER_atomic_take_write_lock_#t~mem21#1;havoc __VERIFIER_atomic_take_write_lock_#t~mem22#1;havoc __VERIFIER_atomic_take_write_lock_#t~short23#1;call write~int(1, ~#w~0.base, ~#w~0.offset + 4 * (if ~__CS_round~0 % 256 % 4294967296 <= 2147483647 then ~__CS_round~0 % 256 % 4294967296 else ~__CS_round~0 % 256 % 4294967296 - 4294967296), 4);havoc __VERIFIER_atomic_take_write_lock_#t~mem21#1, __VERIFIER_atomic_take_write_lock_#t~mem22#1, __VERIFIER_atomic_take_write_lock_#t~short23#1;assume { :end_inline___VERIFIER_atomic_take_write_lock } true;). Is there illegal control flow (e.g. loops) within an atomic block? at de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder.cfg.CfgBuilder.ensureAtomicCompositionComplete(CfgBuilder.java:333) at de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder.cfg.CfgBuilder.ensureAtomicCompositionComplete(CfgBuilder.java:325) at de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder.cfg.CfgBuilder.createIcfg(CfgBuilder.java:296) at de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder.RCFGBuilderObserver.process(RCFGBuilderObserver.java:88) at de.uni_freiburg.informatik.ultimate.core.coreplugin.modelwalker.DFSTreeWalker.runObserver(DFSTreeWalker.java:65) at de.uni_freiburg.informatik.ultimate.core.coreplugin.modelwalker.BaseWalker.runObserver(BaseWalker.java:93) at de.uni_freiburg.informatik.ultimate.core.coreplugin.modelwalker.BaseWalker.run(BaseWalker.java:86) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.runObserver(PluginConnector.java:166) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.runTool(PluginConnector.java:150) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.run(PluginConnector.java:127) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.executePluginConnector(ToolchainWalker.java:233) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.processPlugin(ToolchainWalker.java:227) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.walkUnprotected(ToolchainWalker.java:144) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.walk(ToolchainWalker.java:106) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainManager$Toolchain.processToolchain(ToolchainManager.java:319) at de.uni_freiburg.informatik.ultimate.core.coreplugin.toolchain.DefaultToolchainJob.run(DefaultToolchainJob.java:145) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63) [2023-11-24 22:18:02,780 INFO L158 Benchmark]: Toolchain (without parser) took 12552.99ms. Allocated memory was 140.5MB in the beginning and 188.7MB in the end (delta: 48.2MB). Free memory was 93.3MB in the beginning and 151.5MB in the end (delta: -58.3MB). Peak memory consumption was 65.0MB. Max. memory is 16.1GB. [2023-11-24 22:18:02,780 INFO L158 Benchmark]: CDTParser took 0.32ms. Allocated memory is still 140.5MB. Free memory is still 87.6MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-24 22:18:02,781 INFO L158 Benchmark]: CACSL2BoogieTranslator took 869.60ms. Allocated memory is still 140.5MB. Free memory was 93.3MB in the beginning and 66.3MB in the end (delta: 26.9MB). Peak memory consumption was 27.3MB. Max. memory is 16.1GB. [2023-11-24 22:18:02,782 INFO L158 Benchmark]: Boogie Procedure Inliner took 112.65ms. Allocated memory is still 140.5MB. Free memory was 66.3MB in the beginning and 61.1MB in the end (delta: 5.2MB). Peak memory consumption was 6.3MB. Max. memory is 16.1GB. [2023-11-24 22:18:02,783 INFO L158 Benchmark]: Boogie Preprocessor took 152.42ms. Allocated memory was 140.5MB in the beginning and 188.7MB in the end (delta: 48.2MB). Free memory was 61.1MB in the beginning and 155.8MB in the end (delta: -94.7MB). Peak memory consumption was 12.1MB. Max. memory is 16.1GB. [2023-11-24 22:18:02,783 INFO L158 Benchmark]: RCFGBuilder took 11412.81ms. Allocated memory is still 188.7MB. Free memory was 155.7MB in the beginning and 151.5MB in the end (delta: 4.2MB). Peak memory consumption was 76.0MB. Max. memory is 16.1GB. [2023-11-24 22:18:02,799 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.32ms. Allocated memory is still 140.5MB. Free memory is still 87.6MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 869.60ms. Allocated memory is still 140.5MB. Free memory was 93.3MB in the beginning and 66.3MB in the end (delta: 26.9MB). Peak memory consumption was 27.3MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 112.65ms. Allocated memory is still 140.5MB. Free memory was 66.3MB in the beginning and 61.1MB in the end (delta: 5.2MB). Peak memory consumption was 6.3MB. Max. memory is 16.1GB. * Boogie Preprocessor took 152.42ms. Allocated memory was 140.5MB in the beginning and 188.7MB in the end (delta: 48.2MB). Free memory was 61.1MB in the beginning and 155.8MB in the end (delta: -94.7MB). Peak memory consumption was 12.1MB. Max. memory is 16.1GB. * RCFGBuilder took 11412.81ms. Allocated memory is still 188.7MB. Free memory was 155.7MB in the beginning and 151.5MB in the end (delta: 4.2MB). Peak memory consumption was 76.0MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder: - ExceptionOrErrorResult: UnsupportedOperationException: Incomplete atomic composition (dangling end of atomic block: havoc __VERIFIER_atomic_take_write_lock_#t~mem21#1;havoc __VERIFIER_atomic_take_write_lock_#t~mem22#1;havoc __VERIFIER_atomic_take_write_lock_#t~short23#1;call write~int(1, ~#w~0.base, ~#w~0.offset + 4 * (if ~__CS_round~0 % 256 % 4294967296 <= 2147483647 then ~__CS_round~0 % 256 % 4294967296 else ~__CS_round~0 % 256 % 4294967296 - 4294967296), 4);havoc __VERIFIER_atomic_take_write_lock_#t~mem21#1, __VERIFIER_atomic_take_write_lock_#t~mem22#1, __VERIFIER_atomic_take_write_lock_#t~short23#1;assume { :end_inline___VERIFIER_atomic_take_write_lock } true;). Is there illegal control flow (e.g. loops) within an atomic block? de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder: UnsupportedOperationException: Incomplete atomic composition (dangling end of atomic block: havoc __VERIFIER_atomic_take_write_lock_#t~mem21#1;havoc __VERIFIER_atomic_take_write_lock_#t~mem22#1;havoc __VERIFIER_atomic_take_write_lock_#t~short23#1;call write~int(1, ~#w~0.base, ~#w~0.offset + 4 * (if ~__CS_round~0 % 256 % 4294967296 <= 2147483647 then ~__CS_round~0 % 256 % 4294967296 else ~__CS_round~0 % 256 % 4294967296 - 4294967296), 4);havoc __VERIFIER_atomic_take_write_lock_#t~mem21#1, __VERIFIER_atomic_take_write_lock_#t~mem22#1, __VERIFIER_atomic_take_write_lock_#t~short23#1;assume { :end_inline___VERIFIER_atomic_take_write_lock } true;). Is there illegal control flow (e.g. loops) within an atomic block?: de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder.cfg.CfgBuilder.ensureAtomicCompositionComplete(CfgBuilder.java:333) RESULT: Ultimate could not prove your program: Toolchain returned no result. [2023-11-24 22:18:02,849 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_599bb423-e8d2-4547-9739-ae0d0cb34704/bin/ukojak-verify-afCqCEvfdi/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Ended with exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Using bit-precise analysis Retrying with bit-precise analysis ### Bit-precise run ### Calling Ultimate with: /usr/lib/jvm/java-11-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_599bb423-e8d2-4547-9739-ae0d0cb34704/bin/ukojak-verify-afCqCEvfdi/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_599bb423-e8d2-4547-9739-ae0d0cb34704/bin/ukojak-verify-afCqCEvfdi/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_599bb423-e8d2-4547-9739-ae0d0cb34704/bin/ukojak-verify-afCqCEvfdi/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_599bb423-e8d2-4547-9739-ae0d0cb34704/bin/ukojak-verify-afCqCEvfdi/config/KojakReach.xml -i ../../sv-benchmarks/c/seq-pthread/cs_read_write_lock-2.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_599bb423-e8d2-4547-9739-ae0d0cb34704/bin/ukojak-verify-afCqCEvfdi/config/svcomp-Reach-32bit-Kojak_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_599bb423-e8d2-4547-9739-ae0d0cb34704/bin/ukojak-verify-afCqCEvfdi --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G ! call(reach_error())) ) --witnessprinter.graph.data.producer Kojak --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 1458378674bd140ace04512980940eeb05aa22f50528a181d147a292aa3349d2 --- Real Ultimate output --- This is Ultimate 0.2.4-dev-0e0057c [2023-11-24 22:18:05,670 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-24 22:18:05,817 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_599bb423-e8d2-4547-9739-ae0d0cb34704/bin/ukojak-verify-afCqCEvfdi/config/svcomp-Reach-32bit-Kojak_Bitvector.epf [2023-11-24 22:18:05,874 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-24 22:18:05,876 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-24 22:18:05,876 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2023-11-24 22:18:05,877 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-24 22:18:05,878 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-24 22:18:05,879 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-24 22:18:05,884 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-24 22:18:05,885 INFO L153 SettingsManager]: * sizeof long=4 [2023-11-24 22:18:05,885 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-11-24 22:18:05,886 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-24 22:18:05,888 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-24 22:18:05,888 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-24 22:18:05,889 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-24 22:18:05,889 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2023-11-24 22:18:05,890 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2023-11-24 22:18:05,890 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2023-11-24 22:18:05,891 INFO L153 SettingsManager]: * sizeof long double=12 [2023-11-24 22:18:05,892 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-24 22:18:05,892 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-24 22:18:05,893 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2023-11-24 22:18:05,893 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2023-11-24 22:18:05,894 INFO L153 SettingsManager]: * Theory for external solver=ALL [2023-11-24 22:18:05,894 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2023-11-24 22:18:05,895 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2023-11-24 22:18:05,895 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-24 22:18:05,895 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-24 22:18:05,896 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-24 22:18:05,897 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-24 22:18:05,898 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-11-24 22:18:05,898 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2023-11-24 22:18:05,899 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2023-11-24 22:18:05,899 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-11-24 22:18:05,899 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2023-11-24 22:18:05,900 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-11-24 22:18:05,900 INFO L153 SettingsManager]: * Logic for external solver=AUFBV WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_599bb423-e8d2-4547-9739-ae0d0cb34704/bin/ukojak-verify-afCqCEvfdi/plugins/com.sun.xml.bind_2.2.0.v201505121915.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_599bb423-e8d2-4547-9739-ae0d0cb34704/bin/ukojak-verify-afCqCEvfdi Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(G ! call(reach_error())) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Kojak Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> 1458378674bd140ace04512980940eeb05aa22f50528a181d147a292aa3349d2 [2023-11-24 22:18:06,316 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-24 22:18:06,350 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-24 22:18:06,353 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-24 22:18:06,355 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-24 22:18:06,355 INFO L274 PluginConnector]: CDTParser initialized [2023-11-24 22:18:06,357 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_599bb423-e8d2-4547-9739-ae0d0cb34704/bin/ukojak-verify-afCqCEvfdi/../../sv-benchmarks/c/seq-pthread/cs_read_write_lock-2.i [2023-11-24 22:18:09,542 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-24 22:18:09,922 INFO L384 CDTParser]: Found 1 translation units. [2023-11-24 22:18:09,923 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_599bb423-e8d2-4547-9739-ae0d0cb34704/sv-benchmarks/c/seq-pthread/cs_read_write_lock-2.i [2023-11-24 22:18:09,942 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_599bb423-e8d2-4547-9739-ae0d0cb34704/bin/ukojak-verify-afCqCEvfdi/data/01156b697/ede1157db1e8498d8e67d544ed001bfe/FLAG49a6c80db [2023-11-24 22:18:09,958 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_599bb423-e8d2-4547-9739-ae0d0cb34704/bin/ukojak-verify-afCqCEvfdi/data/01156b697/ede1157db1e8498d8e67d544ed001bfe [2023-11-24 22:18:09,960 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-24 22:18:09,962 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-24 22:18:09,964 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-24 22:18:09,967 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-24 22:18:09,971 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-24 22:18:09,972 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 24.11 10:18:09" (1/1) ... [2023-11-24 22:18:09,973 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@49a5e1f8 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:18:09, skipping insertion in model container [2023-11-24 22:18:09,973 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 24.11 10:18:09" (1/1) ... [2023-11-24 22:18:10,028 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-24 22:18:10,423 WARN L240 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_599bb423-e8d2-4547-9739-ae0d0cb34704/sv-benchmarks/c/seq-pthread/cs_read_write_lock-2.i[23469,23482] [2023-11-24 22:18:10,627 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-24 22:18:10,667 INFO L202 MainTranslator]: Completed pre-run [2023-11-24 22:18:10,722 WARN L240 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_599bb423-e8d2-4547-9739-ae0d0cb34704/sv-benchmarks/c/seq-pthread/cs_read_write_lock-2.i[23469,23482] [2023-11-24 22:18:10,837 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-24 22:18:10,953 INFO L206 MainTranslator]: Completed translation [2023-11-24 22:18:10,954 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:18:10 WrapperNode [2023-11-24 22:18:10,954 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-24 22:18:10,956 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-24 22:18:10,956 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-24 22:18:10,956 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-24 22:18:10,965 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:18:10" (1/1) ... [2023-11-24 22:18:11,033 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:18:10" (1/1) ... [2023-11-24 22:18:11,106 INFO L138 Inliner]: procedures = 149, calls = 279, calls flagged for inlining = 8, calls inlined = 8, statements flattened = 550 [2023-11-24 22:18:11,107 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-24 22:18:11,109 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-24 22:18:11,109 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-24 22:18:11,110 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-24 22:18:11,121 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:18:10" (1/1) ... [2023-11-24 22:18:11,121 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:18:10" (1/1) ... [2023-11-24 22:18:11,142 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:18:10" (1/1) ... [2023-11-24 22:18:11,156 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:18:10" (1/1) ... [2023-11-24 22:18:11,202 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:18:10" (1/1) ... [2023-11-24 22:18:11,218 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:18:10" (1/1) ... [2023-11-24 22:18:11,223 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:18:10" (1/1) ... [2023-11-24 22:18:11,228 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:18:10" (1/1) ... [2023-11-24 22:18:11,248 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-24 22:18:11,248 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-24 22:18:11,249 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-24 22:18:11,249 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-24 22:18:11,250 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:18:10" (1/1) ... [2023-11-24 22:18:11,257 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-24 22:18:11,270 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_599bb423-e8d2-4547-9739-ae0d0cb34704/bin/ukojak-verify-afCqCEvfdi/z3 [2023-11-24 22:18:11,298 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_599bb423-e8d2-4547-9739-ae0d0cb34704/bin/ukojak-verify-afCqCEvfdi/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2023-11-24 22:18:11,317 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_599bb423-e8d2-4547-9739-ae0d0cb34704/bin/ukojak-verify-afCqCEvfdi/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2023-11-24 22:18:11,342 INFO L130 BoogieDeclarations]: Found specification of procedure read~intINTTYPE1 [2023-11-24 22:18:11,342 INFO L130 BoogieDeclarations]: Found specification of procedure read~intINTTYPE4 [2023-11-24 22:18:11,342 INFO L130 BoogieDeclarations]: Found specification of procedure assume_abort_if_not [2023-11-24 22:18:11,343 INFO L138 BoogieDeclarations]: Found implementation of procedure assume_abort_if_not [2023-11-24 22:18:11,343 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-24 22:18:11,343 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-24 22:18:11,343 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$ [2023-11-24 22:18:11,343 INFO L130 BoogieDeclarations]: Found specification of procedure __CS_pthread_create [2023-11-24 22:18:11,344 INFO L138 BoogieDeclarations]: Found implementation of procedure __CS_pthread_create [2023-11-24 22:18:11,344 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$ [2023-11-24 22:18:11,344 INFO L130 BoogieDeclarations]: Found specification of procedure __CS_pthread_join [2023-11-24 22:18:11,344 INFO L138 BoogieDeclarations]: Found implementation of procedure __CS_pthread_join [2023-11-24 22:18:11,344 INFO L130 BoogieDeclarations]: Found specification of procedure ##fun~$Pointer$~TO~$Pointer$ [2023-11-24 22:18:11,345 INFO L138 BoogieDeclarations]: Found implementation of procedure ##fun~$Pointer$~TO~$Pointer$ [2023-11-24 22:18:11,345 INFO L130 BoogieDeclarations]: Found specification of procedure write~intINTTYPE1 [2023-11-24 22:18:11,345 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-24 22:18:11,345 INFO L130 BoogieDeclarations]: Found specification of procedure write~intINTTYPE4 [2023-11-24 22:18:11,346 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1 [2023-11-24 22:18:11,346 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE4 [2023-11-24 22:18:11,346 INFO L130 BoogieDeclarations]: Found specification of procedure __CS_cs [2023-11-24 22:18:11,346 INFO L138 BoogieDeclarations]: Found implementation of procedure __CS_cs [2023-11-24 22:18:11,346 INFO L130 BoogieDeclarations]: Found specification of procedure __CS_assume [2023-11-24 22:18:11,347 INFO L138 BoogieDeclarations]: Found implementation of procedure __CS_assume [2023-11-24 22:18:11,347 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-24 22:18:11,347 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-24 22:18:11,544 INFO L241 CfgBuilder]: Building ICFG [2023-11-24 22:18:11,547 INFO L267 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-24 22:18:12,208 INFO L775 $ProcedureCfgBuilder]: dead code at ProgramPoint $Ultimate##42: assume !(0bv32 != ~zero_extend~32~8(~__CS_ret~0)); [2023-11-24 22:18:12,208 INFO L775 $ProcedureCfgBuilder]: dead code at ProgramPoint $Ultimate##41: assume 0bv32 != ~zero_extend~32~8(~__CS_ret~0);reader_#res#1.base, reader_#res#1.offset := 0bv32, 0bv32; [2023-11-24 22:18:23,705 INFO L282 CfgBuilder]: Performing block encoding [2023-11-24 22:18:23,882 FATAL L? ?]: The Plugin de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder has thrown an exception: java.lang.UnsupportedOperationException: Incomplete atomic composition (dangling end of atomic block: havoc __VERIFIER_atomic_take_write_lock_#t~mem21#1;havoc __VERIFIER_atomic_take_write_lock_#t~mem22#1;havoc __VERIFIER_atomic_take_write_lock_#t~short23#1;call write~intINTTYPE4(1bv32, ~#w~0.base, ~bvadd~32(~#w~0.offset, ~bvmul~32(4bv32, ~zero_extend~32~8(~__CS_round~0))), 4bv32);havoc __VERIFIER_atomic_take_write_lock_#t~mem21#1, __VERIFIER_atomic_take_write_lock_#t~mem22#1, __VERIFIER_atomic_take_write_lock_#t~short23#1;assume { :end_inline___VERIFIER_atomic_take_write_lock } true;). Is there illegal control flow (e.g. loops) within an atomic block? at de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder.cfg.CfgBuilder.ensureAtomicCompositionComplete(CfgBuilder.java:333) at de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder.cfg.CfgBuilder.ensureAtomicCompositionComplete(CfgBuilder.java:325) at de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder.cfg.CfgBuilder.createIcfg(CfgBuilder.java:296) at de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder.RCFGBuilderObserver.process(RCFGBuilderObserver.java:88) at de.uni_freiburg.informatik.ultimate.core.coreplugin.modelwalker.DFSTreeWalker.runObserver(DFSTreeWalker.java:65) at de.uni_freiburg.informatik.ultimate.core.coreplugin.modelwalker.BaseWalker.runObserver(BaseWalker.java:93) at de.uni_freiburg.informatik.ultimate.core.coreplugin.modelwalker.BaseWalker.run(BaseWalker.java:86) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.runObserver(PluginConnector.java:166) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.runTool(PluginConnector.java:150) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.run(PluginConnector.java:127) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.executePluginConnector(ToolchainWalker.java:233) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.processPlugin(ToolchainWalker.java:227) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.walkUnprotected(ToolchainWalker.java:144) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.walk(ToolchainWalker.java:106) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainManager$Toolchain.processToolchain(ToolchainManager.java:319) at de.uni_freiburg.informatik.ultimate.core.coreplugin.toolchain.DefaultToolchainJob.run(DefaultToolchainJob.java:145) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63) [2023-11-24 22:18:23,886 INFO L158 Benchmark]: Toolchain (without parser) took 13923.80ms. Allocated memory is still 109.1MB. Free memory was 84.1MB in the beginning and 50.7MB in the end (delta: 33.4MB). Peak memory consumption was 42.4MB. Max. memory is 16.1GB. [2023-11-24 22:18:23,887 INFO L158 Benchmark]: CDTParser took 0.22ms. Allocated memory is still 75.5MB. Free memory is still 51.6MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-24 22:18:23,888 INFO L158 Benchmark]: CACSL2BoogieTranslator took 991.17ms. Allocated memory is still 109.1MB. Free memory was 83.8MB in the beginning and 82.1MB in the end (delta: 1.8MB). Peak memory consumption was 29.8MB. Max. memory is 16.1GB. [2023-11-24 22:18:23,889 INFO L158 Benchmark]: Boogie Procedure Inliner took 152.11ms. Allocated memory is still 109.1MB. Free memory was 82.1MB in the beginning and 77.6MB in the end (delta: 4.4MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-24 22:18:23,889 INFO L158 Benchmark]: Boogie Preprocessor took 138.67ms. Allocated memory is still 109.1MB. Free memory was 77.6MB in the beginning and 73.0MB in the end (delta: 4.6MB). Peak memory consumption was 6.3MB. Max. memory is 16.1GB. [2023-11-24 22:18:23,890 INFO L158 Benchmark]: RCFGBuilder took 12636.28ms. Allocated memory is still 109.1MB. Free memory was 73.0MB in the beginning and 50.7MB in the end (delta: 22.3MB). Peak memory consumption was 31.4MB. Max. memory is 16.1GB. [2023-11-24 22:18:23,893 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.22ms. Allocated memory is still 75.5MB. Free memory is still 51.6MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 991.17ms. Allocated memory is still 109.1MB. Free memory was 83.8MB in the beginning and 82.1MB in the end (delta: 1.8MB). Peak memory consumption was 29.8MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 152.11ms. Allocated memory is still 109.1MB. Free memory was 82.1MB in the beginning and 77.6MB in the end (delta: 4.4MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 138.67ms. Allocated memory is still 109.1MB. Free memory was 77.6MB in the beginning and 73.0MB in the end (delta: 4.6MB). Peak memory consumption was 6.3MB. Max. memory is 16.1GB. * RCFGBuilder took 12636.28ms. Allocated memory is still 109.1MB. Free memory was 73.0MB in the beginning and 50.7MB in the end (delta: 22.3MB). Peak memory consumption was 31.4MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder: - ExceptionOrErrorResult: UnsupportedOperationException: Incomplete atomic composition (dangling end of atomic block: havoc __VERIFIER_atomic_take_write_lock_#t~mem21#1;havoc __VERIFIER_atomic_take_write_lock_#t~mem22#1;havoc __VERIFIER_atomic_take_write_lock_#t~short23#1;call write~intINTTYPE4(1bv32, ~#w~0.base, ~bvadd~32(~#w~0.offset, ~bvmul~32(4bv32, ~zero_extend~32~8(~__CS_round~0))), 4bv32);havoc __VERIFIER_atomic_take_write_lock_#t~mem21#1, __VERIFIER_atomic_take_write_lock_#t~mem22#1, __VERIFIER_atomic_take_write_lock_#t~short23#1;assume { :end_inline___VERIFIER_atomic_take_write_lock } true;). Is there illegal control flow (e.g. loops) within an atomic block? de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder: UnsupportedOperationException: Incomplete atomic composition (dangling end of atomic block: havoc __VERIFIER_atomic_take_write_lock_#t~mem21#1;havoc __VERIFIER_atomic_take_write_lock_#t~mem22#1;havoc __VERIFIER_atomic_take_write_lock_#t~short23#1;call write~intINTTYPE4(1bv32, ~#w~0.base, ~bvadd~32(~#w~0.offset, ~bvmul~32(4bv32, ~zero_extend~32~8(~__CS_round~0))), 4bv32);havoc __VERIFIER_atomic_take_write_lock_#t~mem21#1, __VERIFIER_atomic_take_write_lock_#t~mem22#1, __VERIFIER_atomic_take_write_lock_#t~short23#1;assume { :end_inline___VERIFIER_atomic_take_write_lock } true;). Is there illegal control flow (e.g. loops) within an atomic block?: de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder.cfg.CfgBuilder.ensureAtomicCompositionComplete(CfgBuilder.java:333) RESULT: Ultimate could not prove your program: Toolchain returned no result. [2023-11-24 22:18:23,938 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_599bb423-e8d2-4547-9739-ae0d0cb34704/bin/ukojak-verify-afCqCEvfdi/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Forceful destruction successful, exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Result: ERROR: ExceptionOrErrorResult: UnsupportedOperationException: Incomplete atomic composition (dangling end of atomic block: havoc __VERIFIER_atomic_take_write_lock_#t~mem21#1;havoc __VERIFIER_atomic_take_write_lock_#t~mem22#1;havoc __VERIFIER_atomic_take_write_lock_#t~short23#1;call write~intINTTYPE4(1bv32, ~#w~0.base, ~bvadd~32(~#w~0.offset, ~bvmul~32(4bv32, ~zero_extend~32~8(~__CS_round~0))), 4bv32);havoc __VERIFIER_atomic_take_write_lock_#t~mem21#1, __VERIFIER_atomic_take_write_lock_#t~mem22#1, __VERIFIER_atomic_take_write_lock_#t~short23#1;assume { :end_inline___VERIFIER_atomic_take_write_lock } true;). Is there illegal control flow (e.g. loops) within an atomic block?