./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 9bd2c7ff 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_1dcca5f5-8e94-4871-9723-5e52566e359e/bin/ukojak-verify-G8NBE6pJGL/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1dcca5f5-8e94-4871-9723-5e52566e359e/bin/ukojak-verify-G8NBE6pJGL/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1dcca5f5-8e94-4871-9723-5e52566e359e/bin/ukojak-verify-G8NBE6pJGL/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1dcca5f5-8e94-4871-9723-5e52566e359e/bin/ukojak-verify-G8NBE6pJGL/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_1dcca5f5-8e94-4871-9723-5e52566e359e/bin/ukojak-verify-G8NBE6pJGL/config/svcomp-Reach-32bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1dcca5f5-8e94-4871-9723-5e52566e359e/bin/ukojak-verify-G8NBE6pJGL --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.3-dev-9bd2c7f [2023-11-19 04:01:15,072 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-19 04:01:15,215 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1dcca5f5-8e94-4871-9723-5e52566e359e/bin/ukojak-verify-G8NBE6pJGL/config/svcomp-Reach-32bit-Kojak_Default.epf [2023-11-19 04:01:15,227 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-19 04:01:15,228 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2023-11-19 04:01:15,278 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-19 04:01:15,279 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-19 04:01:15,280 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2023-11-19 04:01:15,281 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-19 04:01:15,288 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-19 04:01:15,289 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-19 04:01:15,290 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-19 04:01:15,291 INFO L153 SettingsManager]: * sizeof long=4 [2023-11-19 04:01:15,293 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-19 04:01:15,293 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-11-19 04:01:15,294 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-19 04:01:15,294 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-19 04:01:15,295 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-19 04:01:15,296 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-19 04:01:15,296 INFO L153 SettingsManager]: * sizeof long double=12 [2023-11-19 04:01:15,297 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-19 04:01:15,297 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-19 04:01:15,298 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2023-11-19 04:01:15,299 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2023-11-19 04:01:15,299 INFO L153 SettingsManager]: * Theory for external solver=ALL [2023-11-19 04:01:15,300 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-19 04:01:15,301 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-19 04:01:15,302 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-19 04:01:15,302 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-19 04:01:15,303 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-11-19 04:01:15,304 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2023-11-19 04:01:15,305 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-11-19 04:01:15,305 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-11-19 04:01:15,306 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_1dcca5f5-8e94-4871-9723-5e52566e359e/bin/ukojak-verify-G8NBE6pJGL/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_1dcca5f5-8e94-4871-9723-5e52566e359e/bin/ukojak-verify-G8NBE6pJGL 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-19 04:01:15,708 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-19 04:01:15,734 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-19 04:01:15,738 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-19 04:01:15,739 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-19 04:01:15,740 INFO L274 PluginConnector]: CDTParser initialized [2023-11-19 04:01:15,742 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1dcca5f5-8e94-4871-9723-5e52566e359e/bin/ukojak-verify-G8NBE6pJGL/../../sv-benchmarks/c/seq-pthread/cs_read_write_lock-2.i [2023-11-19 04:01:19,364 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-19 04:01:19,749 INFO L384 CDTParser]: Found 1 translation units. [2023-11-19 04:01:19,750 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1dcca5f5-8e94-4871-9723-5e52566e359e/sv-benchmarks/c/seq-pthread/cs_read_write_lock-2.i [2023-11-19 04:01:19,775 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1dcca5f5-8e94-4871-9723-5e52566e359e/bin/ukojak-verify-G8NBE6pJGL/data/a026d0489/2ea16c555da943cbb3493798925ec070/FLAG39fdea13e [2023-11-19 04:01:19,794 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1dcca5f5-8e94-4871-9723-5e52566e359e/bin/ukojak-verify-G8NBE6pJGL/data/a026d0489/2ea16c555da943cbb3493798925ec070 [2023-11-19 04:01:19,797 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-19 04:01:19,799 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-19 04:01:19,801 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-19 04:01:19,802 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-19 04:01:19,809 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-19 04:01:19,812 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.11 04:01:19" (1/1) ... [2023-11-19 04:01:19,815 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@4cf3defd and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 04:01:19, skipping insertion in model container [2023-11-19 04:01:19,815 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.11 04:01:19" (1/1) ... [2023-11-19 04:01:19,883 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-19 04:01:20,270 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_1dcca5f5-8e94-4871-9723-5e52566e359e/sv-benchmarks/c/seq-pthread/cs_read_write_lock-2.i[23469,23482] [2023-11-19 04:01:20,460 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-19 04:01:20,488 INFO L202 MainTranslator]: Completed pre-run [2023-11-19 04:01:20,530 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_1dcca5f5-8e94-4871-9723-5e52566e359e/sv-benchmarks/c/seq-pthread/cs_read_write_lock-2.i[23469,23482] [2023-11-19 04:01:20,618 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-19 04:01:20,668 INFO L206 MainTranslator]: Completed translation [2023-11-19 04:01:20,669 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 04:01:20 WrapperNode [2023-11-19 04:01:20,669 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-19 04:01:20,670 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-19 04:01:20,670 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-19 04:01:20,671 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-19 04:01:20,680 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 04:01:20" (1/1) ... [2023-11-19 04:01:20,716 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 04:01:20" (1/1) ... [2023-11-19 04:01:20,791 INFO L138 Inliner]: procedures = 145, calls = 279, calls flagged for inlining = 8, calls inlined = 8, statements flattened = 557 [2023-11-19 04:01:20,792 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-19 04:01:20,793 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-19 04:01:20,793 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-19 04:01:20,793 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-19 04:01:20,805 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 04:01:20" (1/1) ... [2023-11-19 04:01:20,806 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 04:01:20" (1/1) ... [2023-11-19 04:01:20,820 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 04:01:20" (1/1) ... [2023-11-19 04:01:20,821 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 04:01:20" (1/1) ... [2023-11-19 04:01:20,860 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 04:01:20" (1/1) ... [2023-11-19 04:01:20,866 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 04:01:20" (1/1) ... [2023-11-19 04:01:20,873 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 04:01:20" (1/1) ... [2023-11-19 04:01:20,879 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 04:01:20" (1/1) ... [2023-11-19 04:01:20,891 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-19 04:01:20,892 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-19 04:01:20,893 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-19 04:01:20,893 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-19 04:01:20,894 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 04:01:20" (1/1) ... [2023-11-19 04:01:20,901 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-19 04:01:20,921 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1dcca5f5-8e94-4871-9723-5e52566e359e/bin/ukojak-verify-G8NBE6pJGL/z3 [2023-11-19 04:01:20,942 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1dcca5f5-8e94-4871-9723-5e52566e359e/bin/ukojak-verify-G8NBE6pJGL/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2023-11-19 04:01:20,970 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1dcca5f5-8e94-4871-9723-5e52566e359e/bin/ukojak-verify-G8NBE6pJGL/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2023-11-19 04:01:20,997 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2023-11-19 04:01:20,997 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2023-11-19 04:01:20,997 INFO L130 BoogieDeclarations]: Found specification of procedure assume_abort_if_not [2023-11-19 04:01:20,998 INFO L138 BoogieDeclarations]: Found implementation of procedure assume_abort_if_not [2023-11-19 04:01:20,998 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-19 04:01:20,999 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-19 04:01:21,000 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$ [2023-11-19 04:01:21,000 INFO L130 BoogieDeclarations]: Found specification of procedure __CS_pthread_create [2023-11-19 04:01:21,001 INFO L138 BoogieDeclarations]: Found implementation of procedure __CS_pthread_create [2023-11-19 04:01:21,001 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$ [2023-11-19 04:01:21,002 INFO L130 BoogieDeclarations]: Found specification of procedure __CS_pthread_join [2023-11-19 04:01:21,002 INFO L138 BoogieDeclarations]: Found implementation of procedure __CS_pthread_join [2023-11-19 04:01:21,002 INFO L130 BoogieDeclarations]: Found specification of procedure ##fun~$Pointer$~TO~$Pointer$ [2023-11-19 04:01:21,002 INFO L138 BoogieDeclarations]: Found implementation of procedure ##fun~$Pointer$~TO~$Pointer$ [2023-11-19 04:01:21,002 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-19 04:01:21,003 INFO L130 BoogieDeclarations]: Found specification of procedure __CS_cs [2023-11-19 04:01:21,003 INFO L138 BoogieDeclarations]: Found implementation of procedure __CS_cs [2023-11-19 04:01:21,003 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2023-11-19 04:01:21,003 INFO L130 BoogieDeclarations]: Found specification of procedure __CS_assume [2023-11-19 04:01:21,006 INFO L138 BoogieDeclarations]: Found implementation of procedure __CS_assume [2023-11-19 04:01:21,006 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-19 04:01:21,006 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-19 04:01:21,357 INFO L236 CfgBuilder]: Building ICFG [2023-11-19 04:01:21,360 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-19 04:01:22,026 INFO L767 $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-19 04:01:22,026 INFO L767 $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-19 04:01:24,679 INFO L277 CfgBuilder]: Performing block encoding [2023-11-19 04:01:24,898 INFO L297 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-19 04:01:24,899 INFO L302 CfgBuilder]: Removed 0 assume(true) statements. [2023-11-19 04:01:24,905 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:328) at de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder.cfg.CfgBuilder.ensureAtomicCompositionComplete(CfgBuilder.java:320) at de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder.cfg.CfgBuilder.createIcfg(CfgBuilder.java:304) 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-19 04:01:24,911 INFO L158 Benchmark]: Toolchain (without parser) took 5109.43ms. Allocated memory is still 167.8MB. Free memory was 125.5MB in the beginning and 67.8MB in the end (delta: 57.6MB). Peak memory consumption was 75.4MB. Max. memory is 16.1GB. [2023-11-19 04:01:24,912 INFO L158 Benchmark]: CDTParser took 0.50ms. Allocated memory is still 130.0MB. Free memory is still 76.1MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-19 04:01:24,913 INFO L158 Benchmark]: CACSL2BoogieTranslator took 868.26ms. Allocated memory is still 167.8MB. Free memory was 125.5MB in the beginning and 99.2MB in the end (delta: 26.2MB). Peak memory consumption was 27.3MB. Max. memory is 16.1GB. [2023-11-19 04:01:24,914 INFO L158 Benchmark]: Boogie Procedure Inliner took 121.92ms. Allocated memory is still 167.8MB. Free memory was 99.2MB in the beginning and 94.0MB in the end (delta: 5.2MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2023-11-19 04:01:24,915 INFO L158 Benchmark]: Boogie Preprocessor took 98.52ms. Allocated memory is still 167.8MB. Free memory was 94.0MB in the beginning and 89.8MB in the end (delta: 4.2MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2023-11-19 04:01:24,916 INFO L158 Benchmark]: RCFGBuilder took 4015.51ms. Allocated memory is still 167.8MB. Free memory was 89.8MB in the beginning and 67.8MB in the end (delta: 22.0MB). Peak memory consumption was 39.7MB. Max. memory is 16.1GB. [2023-11-19 04:01:24,929 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.50ms. Allocated memory is still 130.0MB. Free memory is still 76.1MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 868.26ms. Allocated memory is still 167.8MB. Free memory was 125.5MB in the beginning and 99.2MB in the end (delta: 26.2MB). Peak memory consumption was 27.3MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 121.92ms. Allocated memory is still 167.8MB. Free memory was 99.2MB in the beginning and 94.0MB in the end (delta: 5.2MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * Boogie Preprocessor took 98.52ms. Allocated memory is still 167.8MB. Free memory was 94.0MB in the beginning and 89.8MB in the end (delta: 4.2MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * RCFGBuilder took 4015.51ms. Allocated memory is still 167.8MB. Free memory was 89.8MB in the beginning and 67.8MB in the end (delta: 22.0MB). Peak memory consumption was 39.7MB. 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:328) RESULT: Ultimate could not prove your program: Toolchain returned no result. [2023-11-19 04:01:24,986 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1dcca5f5-8e94-4871-9723-5e52566e359e/bin/ukojak-verify-G8NBE6pJGL/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 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_1dcca5f5-8e94-4871-9723-5e52566e359e/bin/ukojak-verify-G8NBE6pJGL/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1dcca5f5-8e94-4871-9723-5e52566e359e/bin/ukojak-verify-G8NBE6pJGL/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1dcca5f5-8e94-4871-9723-5e52566e359e/bin/ukojak-verify-G8NBE6pJGL/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1dcca5f5-8e94-4871-9723-5e52566e359e/bin/ukojak-verify-G8NBE6pJGL/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_1dcca5f5-8e94-4871-9723-5e52566e359e/bin/ukojak-verify-G8NBE6pJGL/config/svcomp-Reach-32bit-Kojak_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1dcca5f5-8e94-4871-9723-5e52566e359e/bin/ukojak-verify-G8NBE6pJGL --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.3-dev-9bd2c7f [2023-11-19 04:01:28,075 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-19 04:01:28,160 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1dcca5f5-8e94-4871-9723-5e52566e359e/bin/ukojak-verify-G8NBE6pJGL/config/svcomp-Reach-32bit-Kojak_Bitvector.epf [2023-11-19 04:01:28,193 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-19 04:01:28,194 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-19 04:01:28,195 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2023-11-19 04:01:28,196 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-19 04:01:28,197 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-19 04:01:28,198 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-19 04:01:28,198 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-19 04:01:28,199 INFO L153 SettingsManager]: * sizeof long=4 [2023-11-19 04:01:28,200 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-11-19 04:01:28,200 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-19 04:01:28,201 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-19 04:01:28,202 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-19 04:01:28,202 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-19 04:01:28,203 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2023-11-19 04:01:28,204 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2023-11-19 04:01:28,204 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2023-11-19 04:01:28,205 INFO L153 SettingsManager]: * sizeof long double=12 [2023-11-19 04:01:28,205 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-19 04:01:28,206 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-19 04:01:28,207 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2023-11-19 04:01:28,207 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2023-11-19 04:01:28,208 INFO L153 SettingsManager]: * Theory for external solver=ALL [2023-11-19 04:01:28,209 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2023-11-19 04:01:28,209 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2023-11-19 04:01:28,210 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-19 04:01:28,210 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-19 04:01:28,211 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-19 04:01:28,212 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-19 04:01:28,212 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-11-19 04:01:28,213 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2023-11-19 04:01:28,214 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2023-11-19 04:01:28,214 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-11-19 04:01:28,215 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2023-11-19 04:01:28,216 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-11-19 04:01:28,216 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_1dcca5f5-8e94-4871-9723-5e52566e359e/bin/ukojak-verify-G8NBE6pJGL/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_1dcca5f5-8e94-4871-9723-5e52566e359e/bin/ukojak-verify-G8NBE6pJGL 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-19 04:01:28,642 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-19 04:01:28,674 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-19 04:01:28,676 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-19 04:01:28,678 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-19 04:01:28,679 INFO L274 PluginConnector]: CDTParser initialized [2023-11-19 04:01:28,681 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1dcca5f5-8e94-4871-9723-5e52566e359e/bin/ukojak-verify-G8NBE6pJGL/../../sv-benchmarks/c/seq-pthread/cs_read_write_lock-2.i [2023-11-19 04:01:31,873 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-19 04:01:32,266 INFO L384 CDTParser]: Found 1 translation units. [2023-11-19 04:01:32,266 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1dcca5f5-8e94-4871-9723-5e52566e359e/sv-benchmarks/c/seq-pthread/cs_read_write_lock-2.i [2023-11-19 04:01:32,286 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1dcca5f5-8e94-4871-9723-5e52566e359e/bin/ukojak-verify-G8NBE6pJGL/data/414f6904d/abfcd33380cd4fcebc83f7169ba76b39/FLAG41ecea45e [2023-11-19 04:01:32,301 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1dcca5f5-8e94-4871-9723-5e52566e359e/bin/ukojak-verify-G8NBE6pJGL/data/414f6904d/abfcd33380cd4fcebc83f7169ba76b39 [2023-11-19 04:01:32,303 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-19 04:01:32,305 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-19 04:01:32,307 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-19 04:01:32,307 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-19 04:01:32,312 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-19 04:01:32,313 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.11 04:01:32" (1/1) ... [2023-11-19 04:01:32,314 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@a49d467 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 04:01:32, skipping insertion in model container [2023-11-19 04:01:32,314 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.11 04:01:32" (1/1) ... [2023-11-19 04:01:32,393 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-19 04:01:32,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_1dcca5f5-8e94-4871-9723-5e52566e359e/sv-benchmarks/c/seq-pthread/cs_read_write_lock-2.i[23469,23482] [2023-11-19 04:01:32,911 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-19 04:01:32,953 INFO L202 MainTranslator]: Completed pre-run [2023-11-19 04:01:33,008 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_1dcca5f5-8e94-4871-9723-5e52566e359e/sv-benchmarks/c/seq-pthread/cs_read_write_lock-2.i[23469,23482] [2023-11-19 04:01:33,071 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-19 04:01:33,156 INFO L206 MainTranslator]: Completed translation [2023-11-19 04:01:33,172 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 04:01:33 WrapperNode [2023-11-19 04:01:33,172 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-19 04:01:33,174 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-19 04:01:33,174 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-19 04:01:33,174 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-19 04:01:33,183 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 04:01:33" (1/1) ... [2023-11-19 04:01:33,241 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 04:01:33" (1/1) ... [2023-11-19 04:01:33,293 INFO L138 Inliner]: procedures = 149, calls = 279, calls flagged for inlining = 8, calls inlined = 8, statements flattened = 550 [2023-11-19 04:01:33,293 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-19 04:01:33,294 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-19 04:01:33,294 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-19 04:01:33,294 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-19 04:01:33,305 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 04:01:33" (1/1) ... [2023-11-19 04:01:33,305 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 04:01:33" (1/1) ... [2023-11-19 04:01:33,315 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 04:01:33" (1/1) ... [2023-11-19 04:01:33,315 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 04:01:33" (1/1) ... [2023-11-19 04:01:33,348 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 04:01:33" (1/1) ... [2023-11-19 04:01:33,352 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 04:01:33" (1/1) ... [2023-11-19 04:01:33,358 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 04:01:33" (1/1) ... [2023-11-19 04:01:33,363 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 04:01:33" (1/1) ... [2023-11-19 04:01:33,372 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-19 04:01:33,373 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-19 04:01:33,373 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-19 04:01:33,373 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-19 04:01:33,374 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 04:01:33" (1/1) ... [2023-11-19 04:01:33,380 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-19 04:01:33,414 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1dcca5f5-8e94-4871-9723-5e52566e359e/bin/ukojak-verify-G8NBE6pJGL/z3 [2023-11-19 04:01:33,432 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1dcca5f5-8e94-4871-9723-5e52566e359e/bin/ukojak-verify-G8NBE6pJGL/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2023-11-19 04:01:33,449 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1dcca5f5-8e94-4871-9723-5e52566e359e/bin/ukojak-verify-G8NBE6pJGL/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2023-11-19 04:01:33,474 INFO L130 BoogieDeclarations]: Found specification of procedure read~intINTTYPE1 [2023-11-19 04:01:33,475 INFO L130 BoogieDeclarations]: Found specification of procedure read~intINTTYPE4 [2023-11-19 04:01:33,475 INFO L130 BoogieDeclarations]: Found specification of procedure assume_abort_if_not [2023-11-19 04:01:33,475 INFO L138 BoogieDeclarations]: Found implementation of procedure assume_abort_if_not [2023-11-19 04:01:33,475 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-19 04:01:33,475 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-19 04:01:33,476 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$ [2023-11-19 04:01:33,476 INFO L130 BoogieDeclarations]: Found specification of procedure __CS_pthread_create [2023-11-19 04:01:33,477 INFO L138 BoogieDeclarations]: Found implementation of procedure __CS_pthread_create [2023-11-19 04:01:33,477 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$ [2023-11-19 04:01:33,477 INFO L130 BoogieDeclarations]: Found specification of procedure __CS_pthread_join [2023-11-19 04:01:33,478 INFO L138 BoogieDeclarations]: Found implementation of procedure __CS_pthread_join [2023-11-19 04:01:33,478 INFO L130 BoogieDeclarations]: Found specification of procedure ##fun~$Pointer$~TO~$Pointer$ [2023-11-19 04:01:33,478 INFO L138 BoogieDeclarations]: Found implementation of procedure ##fun~$Pointer$~TO~$Pointer$ [2023-11-19 04:01:33,480 INFO L130 BoogieDeclarations]: Found specification of procedure write~intINTTYPE1 [2023-11-19 04:01:33,480 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-19 04:01:33,480 INFO L130 BoogieDeclarations]: Found specification of procedure write~intINTTYPE4 [2023-11-19 04:01:33,480 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1 [2023-11-19 04:01:33,481 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE4 [2023-11-19 04:01:33,481 INFO L130 BoogieDeclarations]: Found specification of procedure __CS_cs [2023-11-19 04:01:33,481 INFO L138 BoogieDeclarations]: Found implementation of procedure __CS_cs [2023-11-19 04:01:33,481 INFO L130 BoogieDeclarations]: Found specification of procedure __CS_assume [2023-11-19 04:01:33,481 INFO L138 BoogieDeclarations]: Found implementation of procedure __CS_assume [2023-11-19 04:01:33,482 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-19 04:01:33,482 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-19 04:01:33,688 INFO L236 CfgBuilder]: Building ICFG [2023-11-19 04:01:33,693 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-19 04:01:34,514 INFO L767 $ProcedureCfgBuilder]: dead code at ProgramPoint $Ultimate##42: assume !(0bv32 != ~zero_extend~32~8(~__CS_ret~0)); [2023-11-19 04:01:34,515 INFO L767 $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-19 04:01:46,123 INFO L277 CfgBuilder]: Performing block encoding [2023-11-19 04:01:46,307 INFO L297 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-19 04:01:46,307 INFO L302 CfgBuilder]: Removed 0 assume(true) statements. [2023-11-19 04:01:46,311 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:328) at de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder.cfg.CfgBuilder.ensureAtomicCompositionComplete(CfgBuilder.java:320) at de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder.cfg.CfgBuilder.createIcfg(CfgBuilder.java:304) 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-19 04:01:46,316 INFO L158 Benchmark]: Toolchain (without parser) took 14010.33ms. Allocated memory was 109.1MB in the beginning and 132.1MB in the end (delta: 23.1MB). Free memory was 82.8MB in the beginning and 58.3MB in the end (delta: 24.5MB). Peak memory consumption was 53.5MB. Max. memory is 16.1GB. [2023-11-19 04:01:46,317 INFO L158 Benchmark]: CDTParser took 0.27ms. Allocated memory is still 73.4MB. Free memory is still 49.2MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-19 04:01:46,318 INFO L158 Benchmark]: CACSL2BoogieTranslator took 865.99ms. Allocated memory is still 109.1MB. Free memory was 82.5MB in the beginning and 83.6MB in the end (delta: -1.1MB). Peak memory consumption was 33.8MB. Max. memory is 16.1GB. [2023-11-19 04:01:46,319 INFO L158 Benchmark]: Boogie Procedure Inliner took 119.89ms. Allocated memory is still 109.1MB. Free memory was 83.6MB in the beginning and 79.2MB in the end (delta: 4.5MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2023-11-19 04:01:46,319 INFO L158 Benchmark]: Boogie Preprocessor took 77.87ms. Allocated memory is still 109.1MB. Free memory was 79.2MB in the beginning and 74.4MB in the end (delta: 4.8MB). Peak memory consumption was 6.3MB. Max. memory is 16.1GB. [2023-11-19 04:01:46,320 INFO L158 Benchmark]: RCFGBuilder took 12941.83ms. Allocated memory was 109.1MB in the beginning and 132.1MB in the end (delta: 23.1MB). Free memory was 74.4MB in the beginning and 58.3MB in the end (delta: 16.1MB). Peak memory consumption was 44.9MB. Max. memory is 16.1GB. [2023-11-19 04:01:46,324 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.27ms. Allocated memory is still 73.4MB. Free memory is still 49.2MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 865.99ms. Allocated memory is still 109.1MB. Free memory was 82.5MB in the beginning and 83.6MB in the end (delta: -1.1MB). Peak memory consumption was 33.8MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 119.89ms. Allocated memory is still 109.1MB. Free memory was 83.6MB in the beginning and 79.2MB in the end (delta: 4.5MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * Boogie Preprocessor took 77.87ms. Allocated memory is still 109.1MB. Free memory was 79.2MB in the beginning and 74.4MB in the end (delta: 4.8MB). Peak memory consumption was 6.3MB. Max. memory is 16.1GB. * RCFGBuilder took 12941.83ms. Allocated memory was 109.1MB in the beginning and 132.1MB in the end (delta: 23.1MB). Free memory was 74.4MB in the beginning and 58.3MB in the end (delta: 16.1MB). Peak memory consumption was 44.9MB. 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:328) RESULT: Ultimate could not prove your program: Toolchain returned no result. [2023-11-19 04:01:46,375 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1dcca5f5-8e94-4871-9723-5e52566e359e/bin/ukojak-verify-G8NBE6pJGL/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 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?