./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 d790fecc Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_616f35ce-d652-46af-8689-bd19052ceec9/bin/ukojak-verify-ENZ3QT5qd3/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_616f35ce-d652-46af-8689-bd19052ceec9/bin/ukojak-verify-ENZ3QT5qd3/plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_616f35ce-d652-46af-8689-bd19052ceec9/bin/ukojak-verify-ENZ3QT5qd3/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_616f35ce-d652-46af-8689-bd19052ceec9/bin/ukojak-verify-ENZ3QT5qd3/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_616f35ce-d652-46af-8689-bd19052ceec9/bin/ukojak-verify-ENZ3QT5qd3/config/svcomp-Reach-32bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_616f35ce-d652-46af-8689-bd19052ceec9/bin/ukojak-verify-ENZ3QT5qd3 --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.3.0-dev-d790fec [2024-11-24 18:18:27,412 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-24 18:18:27,538 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_616f35ce-d652-46af-8689-bd19052ceec9/bin/ukojak-verify-ENZ3QT5qd3/config/svcomp-Reach-32bit-Kojak_Default.epf [2024-11-24 18:18:27,547 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-24 18:18:27,548 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-11-24 18:18:27,583 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-24 18:18:27,585 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-24 18:18:27,586 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-24 18:18:27,587 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-24 18:18:27,587 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-24 18:18:27,588 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-24 18:18:27,588 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-24 18:18:27,589 INFO L153 SettingsManager]: * sizeof long=4 [2024-11-24 18:18:27,589 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-24 18:18:27,589 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-11-24 18:18:27,589 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-24 18:18:27,589 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-24 18:18:27,589 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-24 18:18:27,590 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-24 18:18:27,590 INFO L153 SettingsManager]: * sizeof long double=12 [2024-11-24 18:18:27,590 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-24 18:18:27,590 INFO L153 SettingsManager]: * Behaviour of calls to undefined functions=OVERAPPROXIMATE_BEHAVIOUR [2024-11-24 18:18:27,592 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-24 18:18:27,592 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-24 18:18:27,592 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-24 18:18:27,592 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-24 18:18:27,593 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-24 18:18:27,593 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-24 18:18:27,593 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-24 18:18:27,593 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-24 18:18:27,593 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-24 18:18:27,593 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-11-24 18:18:27,593 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-24 18:18:27,593 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode 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_616f35ce-d652-46af-8689-bd19052ceec9/bin/ukojak-verify-ENZ3QT5qd3 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 [2024-11-24 18:18:27,990 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-24 18:18:28,008 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-24 18:18:28,014 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-24 18:18:28,016 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-24 18:18:28,017 INFO L274 PluginConnector]: CDTParser initialized [2024-11-24 18:18:28,019 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_616f35ce-d652-46af-8689-bd19052ceec9/bin/ukojak-verify-ENZ3QT5qd3/../../sv-benchmarks/c/seq-pthread/cs_read_write_lock-2.i [2024-11-24 18:18:31,497 INFO L533 CDTParser]: Created temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_616f35ce-d652-46af-8689-bd19052ceec9/bin/ukojak-verify-ENZ3QT5qd3/data/0e3e7ef8d/708ee96222f04f1db917ee628e904594/FLAG55195152c [2024-11-24 18:18:32,005 INFO L384 CDTParser]: Found 1 translation units. [2024-11-24 18:18:32,006 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_616f35ce-d652-46af-8689-bd19052ceec9/sv-benchmarks/c/seq-pthread/cs_read_write_lock-2.i [2024-11-24 18:18:32,033 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_616f35ce-d652-46af-8689-bd19052ceec9/bin/ukojak-verify-ENZ3QT5qd3/data/0e3e7ef8d/708ee96222f04f1db917ee628e904594/FLAG55195152c [2024-11-24 18:18:32,063 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_616f35ce-d652-46af-8689-bd19052ceec9/bin/ukojak-verify-ENZ3QT5qd3/data/0e3e7ef8d/708ee96222f04f1db917ee628e904594 [2024-11-24 18:18:32,066 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-24 18:18:32,068 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-24 18:18:32,072 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-24 18:18:32,072 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-24 18:18:32,078 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-24 18:18:32,079 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 24.11 06:18:32" (1/1) ... [2024-11-24 18:18:32,080 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@6e53978a and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:18:32, skipping insertion in model container [2024-11-24 18:18:32,080 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 24.11 06:18:32" (1/1) ... [2024-11-24 18:18:32,124 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-24 18:18:32,582 WARN L250 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_616f35ce-d652-46af-8689-bd19052ceec9/sv-benchmarks/c/seq-pthread/cs_read_write_lock-2.i[23469,23482] [2024-11-24 18:18:32,788 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-24 18:18:32,811 INFO L200 MainTranslator]: Completed pre-run [2024-11-24 18:18:32,875 WARN L250 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_616f35ce-d652-46af-8689-bd19052ceec9/sv-benchmarks/c/seq-pthread/cs_read_write_lock-2.i[23469,23482] [2024-11-24 18:18:32,994 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-24 18:18:33,055 INFO L204 MainTranslator]: Completed translation [2024-11-24 18:18:33,056 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:18:33 WrapperNode [2024-11-24 18:18:33,056 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-24 18:18:33,057 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-24 18:18:33,057 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-24 18:18:33,058 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-24 18:18:33,066 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:18:33" (1/1) ... [2024-11-24 18:18:33,106 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:18:33" (1/1) ... [2024-11-24 18:18:33,163 INFO L138 Inliner]: procedures = 146, calls = 312, calls flagged for inlining = 8, calls inlined = 8, statements flattened = 584 [2024-11-24 18:18:33,164 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-24 18:18:33,165 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-24 18:18:33,165 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-24 18:18:33,165 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-24 18:18:33,175 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:18:33" (1/1) ... [2024-11-24 18:18:33,175 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:18:33" (1/1) ... [2024-11-24 18:18:33,183 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:18:33" (1/1) ... [2024-11-24 18:18:33,184 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:18:33" (1/1) ... [2024-11-24 18:18:33,233 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:18:33" (1/1) ... [2024-11-24 18:18:33,235 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:18:33" (1/1) ... [2024-11-24 18:18:33,247 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:18:33" (1/1) ... [2024-11-24 18:18:33,255 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:18:33" (1/1) ... [2024-11-24 18:18:33,261 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:18:33" (1/1) ... [2024-11-24 18:18:33,276 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-24 18:18:33,277 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-24 18:18:33,281 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-24 18:18:33,281 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-24 18:18:33,282 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:18:33" (1/1) ... [2024-11-24 18:18:33,300 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-24 18:18:33,324 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_616f35ce-d652-46af-8689-bd19052ceec9/bin/ukojak-verify-ENZ3QT5qd3/z3 [2024-11-24 18:18:33,344 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_616f35ce-d652-46af-8689-bd19052ceec9/bin/ukojak-verify-ENZ3QT5qd3/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-24 18:18:33,348 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_616f35ce-d652-46af-8689-bd19052ceec9/bin/ukojak-verify-ENZ3QT5qd3/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-24 18:18:33,380 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2024-11-24 18:18:33,381 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2024-11-24 18:18:33,381 INFO L130 BoogieDeclarations]: Found specification of procedure assume_abort_if_not [2024-11-24 18:18:33,381 INFO L138 BoogieDeclarations]: Found implementation of procedure assume_abort_if_not [2024-11-24 18:18:33,381 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-24 18:18:33,381 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2024-11-24 18:18:33,381 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$ [2024-11-24 18:18:33,381 INFO L130 BoogieDeclarations]: Found specification of procedure __CS_pthread_create [2024-11-24 18:18:33,382 INFO L138 BoogieDeclarations]: Found implementation of procedure __CS_pthread_create [2024-11-24 18:18:33,382 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$ [2024-11-24 18:18:33,382 INFO L130 BoogieDeclarations]: Found specification of procedure __CS_pthread_join [2024-11-24 18:18:33,382 INFO L138 BoogieDeclarations]: Found implementation of procedure __CS_pthread_join [2024-11-24 18:18:33,382 INFO L130 BoogieDeclarations]: Found specification of procedure ##fun~$Pointer$~TO~$Pointer$ [2024-11-24 18:18:33,382 INFO L138 BoogieDeclarations]: Found implementation of procedure ##fun~$Pointer$~TO~$Pointer$ [2024-11-24 18:18:33,382 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2024-11-24 18:18:33,383 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~$Pointer$ [2024-11-24 18:18:33,383 INFO L130 BoogieDeclarations]: Found specification of procedure __CS_cs [2024-11-24 18:18:33,383 INFO L138 BoogieDeclarations]: Found implementation of procedure __CS_cs [2024-11-24 18:18:33,383 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2024-11-24 18:18:33,383 INFO L130 BoogieDeclarations]: Found specification of procedure __CS_assume [2024-11-24 18:18:33,383 INFO L138 BoogieDeclarations]: Found implementation of procedure __CS_assume [2024-11-24 18:18:33,383 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-24 18:18:33,384 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-24 18:18:33,651 INFO L234 CfgBuilder]: Building ICFG [2024-11-24 18:18:33,653 INFO L260 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-24 18:18:34,236 INFO L727 $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)); [2024-11-24 18:18:34,236 INFO L727 $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; [2024-11-24 18:18:38,640 INFO L? ?]: Removed 81 outVars from TransFormulas that were not future-live. [2024-11-24 18:18:38,640 INFO L283 CfgBuilder]: Performing block encoding [2024-11-24 18:18:38,921 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.AtomicBlockAnalyzer.ensureAtomicCompositionComplete(AtomicBlockAnalyzer.java:123) at de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder.cfg.AtomicBlockAnalyzer.ensureAtomicCompositionIsComplete(AtomicBlockAnalyzer.java:115) at de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder.cfg.CfgBuilder.createIcfg(CfgBuilder.java:299) 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) [2024-11-24 18:18:38,932 INFO L158 Benchmark]: Toolchain (without parser) took 6862.69ms. Allocated memory is still 167.8MB. Free memory was 128.2MB in the beginning and 82.0MB in the end (delta: 46.2MB). Peak memory consumption was 84.0MB. Max. memory is 16.1GB. [2024-11-24 18:18:38,932 INFO L158 Benchmark]: CDTParser took 0.59ms. Allocated memory is still 167.8MB. Free memory is still 103.3MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-24 18:18:38,935 INFO L158 Benchmark]: CACSL2BoogieTranslator took 984.95ms. Allocated memory is still 167.8MB. Free memory was 128.2MB in the beginning and 101.7MB in the end (delta: 26.5MB). Peak memory consumption was 25.2MB. Max. memory is 16.1GB. [2024-11-24 18:18:38,935 INFO L158 Benchmark]: Boogie Procedure Inliner took 106.69ms. Allocated memory is still 167.8MB. Free memory was 101.7MB in the beginning and 96.6MB in the end (delta: 5.1MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-11-24 18:18:38,936 INFO L158 Benchmark]: Boogie Preprocessor took 111.69ms. Allocated memory is still 167.8MB. Free memory was 96.6MB in the beginning and 92.7MB in the end (delta: 3.9MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-24 18:18:38,936 INFO L158 Benchmark]: RCFGBuilder took 5652.42ms. Allocated memory is still 167.8MB. Free memory was 92.3MB in the beginning and 82.0MB in the end (delta: 10.4MB). Peak memory consumption was 50.5MB. Max. memory is 16.1GB. [2024-11-24 18:18:38,942 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.59ms. Allocated memory is still 167.8MB. Free memory is still 103.3MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 984.95ms. Allocated memory is still 167.8MB. Free memory was 128.2MB in the beginning and 101.7MB in the end (delta: 26.5MB). Peak memory consumption was 25.2MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 106.69ms. Allocated memory is still 167.8MB. Free memory was 101.7MB in the beginning and 96.6MB in the end (delta: 5.1MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Boogie Preprocessor took 111.69ms. Allocated memory is still 167.8MB. Free memory was 96.6MB in the beginning and 92.7MB in the end (delta: 3.9MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 5652.42ms. Allocated memory is still 167.8MB. Free memory was 92.3MB in the beginning and 82.0MB in the end (delta: 10.4MB). Peak memory consumption was 50.5MB. 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.AtomicBlockAnalyzer.ensureAtomicCompositionComplete(AtomicBlockAnalyzer.java:123) RESULT: Ultimate could not prove your program: Toolchain returned no result. [2024-11-24 18:18:38,984 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_616f35ce-d652-46af-8689-bd19052ceec9/bin/ukojak-verify-ENZ3QT5qd3/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/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_616f35ce-d652-46af-8689-bd19052ceec9/bin/ukojak-verify-ENZ3QT5qd3/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_616f35ce-d652-46af-8689-bd19052ceec9/bin/ukojak-verify-ENZ3QT5qd3/plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_616f35ce-d652-46af-8689-bd19052ceec9/bin/ukojak-verify-ENZ3QT5qd3/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_616f35ce-d652-46af-8689-bd19052ceec9/bin/ukojak-verify-ENZ3QT5qd3/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_616f35ce-d652-46af-8689-bd19052ceec9/bin/ukojak-verify-ENZ3QT5qd3/config/svcomp-Reach-32bit-Kojak_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_616f35ce-d652-46af-8689-bd19052ceec9/bin/ukojak-verify-ENZ3QT5qd3 --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.3.0-dev-d790fec [2024-11-24 18:18:42,528 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-24 18:18:42,702 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_616f35ce-d652-46af-8689-bd19052ceec9/bin/ukojak-verify-ENZ3QT5qd3/config/svcomp-Reach-32bit-Kojak_Bitvector.epf [2024-11-24 18:18:42,766 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-24 18:18:42,769 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-24 18:18:42,769 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-24 18:18:42,770 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-24 18:18:42,770 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-24 18:18:42,771 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-24 18:18:42,771 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-24 18:18:42,772 INFO L153 SettingsManager]: * sizeof long=4 [2024-11-24 18:18:42,773 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-11-24 18:18:42,773 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-24 18:18:42,773 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-24 18:18:42,773 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-24 18:18:42,773 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-24 18:18:42,773 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-24 18:18:42,773 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-11-24 18:18:42,774 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-11-24 18:18:42,774 INFO L153 SettingsManager]: * sizeof long double=12 [2024-11-24 18:18:42,775 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-24 18:18:42,775 INFO L153 SettingsManager]: * Behaviour of calls to undefined functions=OVERAPPROXIMATE_BEHAVIOUR [2024-11-24 18:18:42,775 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-24 18:18:42,775 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-24 18:18:42,775 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-24 18:18:42,775 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-24 18:18:42,775 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2024-11-24 18:18:42,775 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2024-11-24 18:18:42,776 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-24 18:18:42,776 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-24 18:18:42,776 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-24 18:18:42,776 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-24 18:18:42,776 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-24 18:18:42,776 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2024-11-24 18:18:42,776 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-11-24 18:18:42,776 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2024-11-24 18:18:42,776 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode 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_616f35ce-d652-46af-8689-bd19052ceec9/bin/ukojak-verify-ENZ3QT5qd3 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 [2024-11-24 18:18:43,194 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-24 18:18:43,205 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-24 18:18:43,208 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-24 18:18:43,210 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-24 18:18:43,210 INFO L274 PluginConnector]: CDTParser initialized [2024-11-24 18:18:43,212 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_616f35ce-d652-46af-8689-bd19052ceec9/bin/ukojak-verify-ENZ3QT5qd3/../../sv-benchmarks/c/seq-pthread/cs_read_write_lock-2.i [2024-11-24 18:18:47,066 INFO L533 CDTParser]: Created temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_616f35ce-d652-46af-8689-bd19052ceec9/bin/ukojak-verify-ENZ3QT5qd3/data/f78ff2193/2ecb3e9a9c144e69bc0729f961d6a082/FLAG5872b58fd [2024-11-24 18:18:47,389 INFO L384 CDTParser]: Found 1 translation units. [2024-11-24 18:18:47,390 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_616f35ce-d652-46af-8689-bd19052ceec9/sv-benchmarks/c/seq-pthread/cs_read_write_lock-2.i [2024-11-24 18:18:47,427 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_616f35ce-d652-46af-8689-bd19052ceec9/bin/ukojak-verify-ENZ3QT5qd3/data/f78ff2193/2ecb3e9a9c144e69bc0729f961d6a082/FLAG5872b58fd [2024-11-24 18:18:47,461 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_616f35ce-d652-46af-8689-bd19052ceec9/bin/ukojak-verify-ENZ3QT5qd3/data/f78ff2193/2ecb3e9a9c144e69bc0729f961d6a082 [2024-11-24 18:18:47,467 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-24 18:18:47,471 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-24 18:18:47,473 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-24 18:18:47,474 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-24 18:18:47,482 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-24 18:18:47,483 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 24.11 06:18:47" (1/1) ... [2024-11-24 18:18:47,484 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@4bda1302 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:18:47, skipping insertion in model container [2024-11-24 18:18:47,485 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 24.11 06:18:47" (1/1) ... [2024-11-24 18:18:47,549 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-24 18:18:47,986 WARN L250 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_616f35ce-d652-46af-8689-bd19052ceec9/sv-benchmarks/c/seq-pthread/cs_read_write_lock-2.i[23469,23482] [2024-11-24 18:18:48,146 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-24 18:18:48,172 INFO L200 MainTranslator]: Completed pre-run [2024-11-24 18:18:48,217 WARN L250 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_616f35ce-d652-46af-8689-bd19052ceec9/sv-benchmarks/c/seq-pthread/cs_read_write_lock-2.i[23469,23482] [2024-11-24 18:18:48,337 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-24 18:18:48,400 INFO L204 MainTranslator]: Completed translation [2024-11-24 18:18:48,401 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:18:48 WrapperNode [2024-11-24 18:18:48,401 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-24 18:18:48,402 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-24 18:18:48,403 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-24 18:18:48,403 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-24 18:18:48,412 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:18:48" (1/1) ... [2024-11-24 18:18:48,445 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:18:48" (1/1) ... [2024-11-24 18:18:48,493 INFO L138 Inliner]: procedures = 150, calls = 312, calls flagged for inlining = 8, calls inlined = 8, statements flattened = 577 [2024-11-24 18:18:48,494 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-24 18:18:48,495 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-24 18:18:48,495 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-24 18:18:48,495 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-24 18:18:48,510 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:18:48" (1/1) ... [2024-11-24 18:18:48,510 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:18:48" (1/1) ... [2024-11-24 18:18:48,520 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:18:48" (1/1) ... [2024-11-24 18:18:48,521 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:18:48" (1/1) ... [2024-11-24 18:18:48,557 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:18:48" (1/1) ... [2024-11-24 18:18:48,559 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:18:48" (1/1) ... [2024-11-24 18:18:48,565 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:18:48" (1/1) ... [2024-11-24 18:18:48,570 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:18:48" (1/1) ... [2024-11-24 18:18:48,573 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:18:48" (1/1) ... [2024-11-24 18:18:48,586 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-24 18:18:48,591 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-24 18:18:48,591 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-24 18:18:48,591 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-24 18:18:48,593 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:18:48" (1/1) ... [2024-11-24 18:18:48,608 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-24 18:18:48,657 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_616f35ce-d652-46af-8689-bd19052ceec9/bin/ukojak-verify-ENZ3QT5qd3/z3 [2024-11-24 18:18:48,677 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_616f35ce-d652-46af-8689-bd19052ceec9/bin/ukojak-verify-ENZ3QT5qd3/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-24 18:18:48,681 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_616f35ce-d652-46af-8689-bd19052ceec9/bin/ukojak-verify-ENZ3QT5qd3/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-24 18:18:48,719 INFO L130 BoogieDeclarations]: Found specification of procedure read~intINTTYPE1 [2024-11-24 18:18:48,719 INFO L130 BoogieDeclarations]: Found specification of procedure read~intINTTYPE4 [2024-11-24 18:18:48,719 INFO L130 BoogieDeclarations]: Found specification of procedure assume_abort_if_not [2024-11-24 18:18:48,720 INFO L138 BoogieDeclarations]: Found implementation of procedure assume_abort_if_not [2024-11-24 18:18:48,720 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-24 18:18:48,720 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2024-11-24 18:18:48,721 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$ [2024-11-24 18:18:48,721 INFO L130 BoogieDeclarations]: Found specification of procedure __CS_pthread_create [2024-11-24 18:18:48,721 INFO L138 BoogieDeclarations]: Found implementation of procedure __CS_pthread_create [2024-11-24 18:18:48,721 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$ [2024-11-24 18:18:48,721 INFO L130 BoogieDeclarations]: Found specification of procedure __CS_pthread_join [2024-11-24 18:18:48,721 INFO L138 BoogieDeclarations]: Found implementation of procedure __CS_pthread_join [2024-11-24 18:18:48,721 INFO L130 BoogieDeclarations]: Found specification of procedure ##fun~$Pointer$~TO~$Pointer$ [2024-11-24 18:18:48,721 INFO L138 BoogieDeclarations]: Found implementation of procedure ##fun~$Pointer$~TO~$Pointer$ [2024-11-24 18:18:48,721 INFO L130 BoogieDeclarations]: Found specification of procedure write~intINTTYPE1 [2024-11-24 18:18:48,721 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2024-11-24 18:18:48,722 INFO L130 BoogieDeclarations]: Found specification of procedure write~intINTTYPE4 [2024-11-24 18:18:48,722 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~$Pointer$ [2024-11-24 18:18:48,722 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1 [2024-11-24 18:18:48,723 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE4 [2024-11-24 18:18:48,723 INFO L130 BoogieDeclarations]: Found specification of procedure __CS_cs [2024-11-24 18:18:48,723 INFO L138 BoogieDeclarations]: Found implementation of procedure __CS_cs [2024-11-24 18:18:48,723 INFO L130 BoogieDeclarations]: Found specification of procedure __CS_assume [2024-11-24 18:18:48,723 INFO L138 BoogieDeclarations]: Found implementation of procedure __CS_assume [2024-11-24 18:18:48,723 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-24 18:18:48,723 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-24 18:18:49,054 INFO L234 CfgBuilder]: Building ICFG [2024-11-24 18:18:49,058 INFO L260 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-24 18:18:49,921 INFO L727 $ProcedureCfgBuilder]: dead code at ProgramPoint $Ultimate##42: assume !(0bv32 != ~zero_extend~32~8(~__CS_ret~0)); [2024-11-24 18:18:49,921 INFO L727 $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; [2024-11-24 18:19:04,024 INFO L? ?]: Removed 89 outVars from TransFormulas that were not future-live. [2024-11-24 18:19:04,024 INFO L283 CfgBuilder]: Performing block encoding [2024-11-24 18:19:04,301 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.AtomicBlockAnalyzer.ensureAtomicCompositionComplete(AtomicBlockAnalyzer.java:123) at de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder.cfg.AtomicBlockAnalyzer.ensureAtomicCompositionIsComplete(AtomicBlockAnalyzer.java:115) at de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder.cfg.CfgBuilder.createIcfg(CfgBuilder.java:299) 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) [2024-11-24 18:19:04,311 INFO L158 Benchmark]: Toolchain (without parser) took 16839.76ms. Allocated memory is still 83.9MB. Free memory was 59.3MB in the beginning and 45.7MB in the end (delta: 13.5MB). Peak memory consumption was 56.2MB. Max. memory is 16.1GB. [2024-11-24 18:19:04,312 INFO L158 Benchmark]: CDTParser took 0.59ms. Allocated memory is still 83.9MB. Free memory is still 65.0MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-24 18:19:04,314 INFO L158 Benchmark]: CACSL2BoogieTranslator took 928.41ms. Allocated memory is still 83.9MB. Free memory was 59.0MB in the beginning and 31.4MB in the end (delta: 27.5MB). Peak memory consumption was 25.2MB. Max. memory is 16.1GB. [2024-11-24 18:19:04,315 INFO L158 Benchmark]: Boogie Procedure Inliner took 91.66ms. Allocated memory is still 83.9MB. Free memory was 31.4MB in the beginning and 27.1MB in the end (delta: 4.3MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-11-24 18:19:04,317 INFO L158 Benchmark]: Boogie Preprocessor took 95.15ms. Allocated memory is still 83.9MB. Free memory was 27.1MB in the beginning and 22.8MB in the end (delta: 4.4MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-24 18:19:04,317 INFO L158 Benchmark]: RCFGBuilder took 15717.42ms. Allocated memory is still 83.9MB. Free memory was 22.5MB in the beginning and 45.7MB in the end (delta: -23.3MB). Peak memory consumption was 22.6MB. Max. memory is 16.1GB. [2024-11-24 18:19:04,322 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.59ms. Allocated memory is still 83.9MB. Free memory is still 65.0MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 928.41ms. Allocated memory is still 83.9MB. Free memory was 59.0MB in the beginning and 31.4MB in the end (delta: 27.5MB). Peak memory consumption was 25.2MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 91.66ms. Allocated memory is still 83.9MB. Free memory was 31.4MB in the beginning and 27.1MB in the end (delta: 4.3MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Boogie Preprocessor took 95.15ms. Allocated memory is still 83.9MB. Free memory was 27.1MB in the beginning and 22.8MB in the end (delta: 4.4MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 15717.42ms. Allocated memory is still 83.9MB. Free memory was 22.5MB in the beginning and 45.7MB in the end (delta: -23.3MB). Peak memory consumption was 22.6MB. 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.AtomicBlockAnalyzer.ensureAtomicCompositionComplete(AtomicBlockAnalyzer.java:123) RESULT: Ultimate could not prove your program: Toolchain returned no result. [2024-11-24 18:19:04,391 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_616f35ce-d652-46af-8689-bd19052ceec9/bin/ukojak-verify-ENZ3QT5qd3/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?