./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 826ab2ba Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ccfa66-3064-48c3-a0ab-4ff0643e74c1/bin/ukojak-verify-EEHR8qb7sm/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ccfa66-3064-48c3-a0ab-4ff0643e74c1/bin/ukojak-verify-EEHR8qb7sm/plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ccfa66-3064-48c3-a0ab-4ff0643e74c1/bin/ukojak-verify-EEHR8qb7sm/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ccfa66-3064-48c3-a0ab-4ff0643e74c1/bin/ukojak-verify-EEHR8qb7sm/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_f7ccfa66-3064-48c3-a0ab-4ff0643e74c1/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Reach-32bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ccfa66-3064-48c3-a0ab-4ff0643e74c1/bin/ukojak-verify-EEHR8qb7sm --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-826ab2b [2024-11-13 21:46:21,228 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-13 21:46:21,292 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ccfa66-3064-48c3-a0ab-4ff0643e74c1/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Reach-32bit-Kojak_Default.epf [2024-11-13 21:46:21,297 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-13 21:46:21,298 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-11-13 21:46:21,334 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-13 21:46:21,337 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-13 21:46:21,337 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-13 21:46:21,337 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-13 21:46:21,337 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-13 21:46:21,338 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-13 21:46:21,338 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-13 21:46:21,338 INFO L153 SettingsManager]: * sizeof long=4 [2024-11-13 21:46:21,338 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-13 21:46:21,338 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-11-13 21:46:21,338 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-13 21:46:21,338 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-13 21:46:21,338 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-13 21:46:21,338 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-13 21:46:21,339 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-13 21:46:21,339 INFO L153 SettingsManager]: * sizeof long double=12 [2024-11-13 21:46:21,339 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-13 21:46:21,339 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-13 21:46:21,339 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-13 21:46:21,339 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-13 21:46:21,339 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-13 21:46:21,339 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-13 21:46:21,342 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 21:46:21,342 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-13 21:46:21,342 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-13 21:46:21,342 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-13 21:46:21,342 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-11-13 21:46:21,342 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-13 21:46:21,342 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_f7ccfa66-3064-48c3-a0ab-4ff0643e74c1/bin/ukojak-verify-EEHR8qb7sm 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-13 21:46:21,674 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-13 21:46:21,687 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-13 21:46:21,689 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-13 21:46:21,691 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-13 21:46:21,692 INFO L274 PluginConnector]: CDTParser initialized [2024-11-13 21:46:21,693 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ccfa66-3064-48c3-a0ab-4ff0643e74c1/bin/ukojak-verify-EEHR8qb7sm/../../sv-benchmarks/c/seq-pthread/cs_read_write_lock-2.i Unable to find full path for "g++" [2024-11-13 21:46:23,615 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-13 21:46:24,046 INFO L384 CDTParser]: Found 1 translation units. [2024-11-13 21:46:24,046 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ccfa66-3064-48c3-a0ab-4ff0643e74c1/sv-benchmarks/c/seq-pthread/cs_read_write_lock-2.i [2024-11-13 21:46:24,065 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ccfa66-3064-48c3-a0ab-4ff0643e74c1/bin/ukojak-verify-EEHR8qb7sm/data/e3f275040/f8ab568d5c264273b85fa0784db29c3d/FLAG4bacc7f6b [2024-11-13 21:46:24,196 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ccfa66-3064-48c3-a0ab-4ff0643e74c1/bin/ukojak-verify-EEHR8qb7sm/data/e3f275040/f8ab568d5c264273b85fa0784db29c3d [2024-11-13 21:46:24,198 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-13 21:46:24,200 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-13 21:46:24,203 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-13 21:46:24,203 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-13 21:46:24,207 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-13 21:46:24,208 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 09:46:24" (1/1) ... [2024-11-13 21:46:24,210 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@7bfc072d and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:46:24, skipping insertion in model container [2024-11-13 21:46:24,210 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 09:46:24" (1/1) ... [2024-11-13 21:46:24,254 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-13 21:46:24,670 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_f7ccfa66-3064-48c3-a0ab-4ff0643e74c1/sv-benchmarks/c/seq-pthread/cs_read_write_lock-2.i[23469,23482] [2024-11-13 21:46:24,848 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 21:46:24,863 INFO L200 MainTranslator]: Completed pre-run [2024-11-13 21:46:24,895 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_f7ccfa66-3064-48c3-a0ab-4ff0643e74c1/sv-benchmarks/c/seq-pthread/cs_read_write_lock-2.i[23469,23482] [2024-11-13 21:46:24,977 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 21:46:25,012 INFO L204 MainTranslator]: Completed translation [2024-11-13 21:46:25,012 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:46:25 WrapperNode [2024-11-13 21:46:25,013 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-13 21:46:25,014 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-13 21:46:25,014 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-13 21:46:25,014 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-13 21:46:25,021 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:46:25" (1/1) ... [2024-11-13 21:46:25,053 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:46:25" (1/1) ... [2024-11-13 21:46:25,118 INFO L138 Inliner]: procedures = 146, calls = 312, calls flagged for inlining = 8, calls inlined = 8, statements flattened = 584 [2024-11-13 21:46:25,122 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-13 21:46:25,122 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-13 21:46:25,123 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-13 21:46:25,123 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-13 21:46:25,133 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:46:25" (1/1) ... [2024-11-13 21:46:25,133 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:46:25" (1/1) ... [2024-11-13 21:46:25,150 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:46:25" (1/1) ... [2024-11-13 21:46:25,150 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:46:25" (1/1) ... [2024-11-13 21:46:25,188 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:46:25" (1/1) ... [2024-11-13 21:46:25,196 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:46:25" (1/1) ... [2024-11-13 21:46:25,204 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:46:25" (1/1) ... [2024-11-13 21:46:25,207 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:46:25" (1/1) ... [2024-11-13 21:46:25,221 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-13 21:46:25,222 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-13 21:46:25,222 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-13 21:46:25,222 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-13 21:46:25,227 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:46:25" (1/1) ... [2024-11-13 21:46:25,237 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 21:46:25,254 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ccfa66-3064-48c3-a0ab-4ff0643e74c1/bin/ukojak-verify-EEHR8qb7sm/z3 [2024-11-13 21:46:25,268 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ccfa66-3064-48c3-a0ab-4ff0643e74c1/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-13 21:46:25,271 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ccfa66-3064-48c3-a0ab-4ff0643e74c1/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-13 21:46:25,298 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2024-11-13 21:46:25,298 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2024-11-13 21:46:25,298 INFO L130 BoogieDeclarations]: Found specification of procedure assume_abort_if_not [2024-11-13 21:46:25,298 INFO L138 BoogieDeclarations]: Found implementation of procedure assume_abort_if_not [2024-11-13 21:46:25,298 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-13 21:46:25,299 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2024-11-13 21:46:25,299 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$ [2024-11-13 21:46:25,299 INFO L130 BoogieDeclarations]: Found specification of procedure __CS_pthread_create [2024-11-13 21:46:25,299 INFO L138 BoogieDeclarations]: Found implementation of procedure __CS_pthread_create [2024-11-13 21:46:25,299 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$ [2024-11-13 21:46:25,299 INFO L130 BoogieDeclarations]: Found specification of procedure __CS_pthread_join [2024-11-13 21:46:25,299 INFO L138 BoogieDeclarations]: Found implementation of procedure __CS_pthread_join [2024-11-13 21:46:25,299 INFO L130 BoogieDeclarations]: Found specification of procedure ##fun~$Pointer$~TO~$Pointer$ [2024-11-13 21:46:25,299 INFO L138 BoogieDeclarations]: Found implementation of procedure ##fun~$Pointer$~TO~$Pointer$ [2024-11-13 21:46:25,299 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2024-11-13 21:46:25,299 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~$Pointer$ [2024-11-13 21:46:25,299 INFO L130 BoogieDeclarations]: Found specification of procedure __CS_cs [2024-11-13 21:46:25,299 INFO L138 BoogieDeclarations]: Found implementation of procedure __CS_cs [2024-11-13 21:46:25,299 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2024-11-13 21:46:25,299 INFO L130 BoogieDeclarations]: Found specification of procedure __CS_assume [2024-11-13 21:46:25,300 INFO L138 BoogieDeclarations]: Found implementation of procedure __CS_assume [2024-11-13 21:46:25,300 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-13 21:46:25,300 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-13 21:46:25,505 INFO L238 CfgBuilder]: Building ICFG [2024-11-13 21:46:25,507 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-13 21:46:25,978 INFO L735 $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-13 21:46:25,978 INFO L735 $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-13 21:46:36,462 INFO L? ?]: Removed 81 outVars from TransFormulas that were not future-live. [2024-11-13 21:46:36,462 INFO L287 CfgBuilder]: Performing block encoding [2024-11-13 21:46:36,666 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:303) 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-13 21:46:36,672 INFO L158 Benchmark]: Toolchain (without parser) took 12471.34ms. Allocated memory is still 142.6MB. Free memory was 117.8MB in the beginning and 71.0MB in the end (delta: 46.8MB). Peak memory consumption was 84.2MB. Max. memory is 16.1GB. [2024-11-13 21:46:36,677 INFO L158 Benchmark]: CDTParser took 0.48ms. Allocated memory is still 167.8MB. Free memory is still 104.9MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:46:36,677 INFO L158 Benchmark]: CACSL2BoogieTranslator took 810.60ms. Allocated memory is still 142.6MB. Free memory was 117.4MB in the beginning and 91.3MB in the end (delta: 26.2MB). Peak memory consumption was 25.2MB. Max. memory is 16.1GB. [2024-11-13 21:46:36,677 INFO L158 Benchmark]: Boogie Procedure Inliner took 108.27ms. Allocated memory is still 142.6MB. Free memory was 91.3MB in the beginning and 85.8MB in the end (delta: 5.5MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-11-13 21:46:36,678 INFO L158 Benchmark]: Boogie Preprocessor took 99.16ms. Allocated memory is still 142.6MB. Free memory was 85.8MB in the beginning and 81.9MB in the end (delta: 3.9MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:46:36,678 INFO L158 Benchmark]: RCFGBuilder took 11448.52ms. Allocated memory is still 142.6MB. Free memory was 81.9MB in the beginning and 71.0MB in the end (delta: 10.8MB). Peak memory consumption was 50.6MB. Max. memory is 16.1GB. [2024-11-13 21:46:36,683 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.48ms. Allocated memory is still 167.8MB. Free memory is still 104.9MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 810.60ms. Allocated memory is still 142.6MB. Free memory was 117.4MB in the beginning and 91.3MB in the end (delta: 26.2MB). Peak memory consumption was 25.2MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 108.27ms. Allocated memory is still 142.6MB. Free memory was 91.3MB in the beginning and 85.8MB in the end (delta: 5.5MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Boogie Preprocessor took 99.16ms. Allocated memory is still 142.6MB. Free memory was 85.8MB in the beginning and 81.9MB in the end (delta: 3.9MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 11448.52ms. Allocated memory is still 142.6MB. Free memory was 81.9MB in the beginning and 71.0MB in the end (delta: 10.8MB). Peak memory consumption was 50.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~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-13 21:46:36,722 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ccfa66-3064-48c3-a0ab-4ff0643e74c1/bin/ukojak-verify-EEHR8qb7sm/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_f7ccfa66-3064-48c3-a0ab-4ff0643e74c1/bin/ukojak-verify-EEHR8qb7sm/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ccfa66-3064-48c3-a0ab-4ff0643e74c1/bin/ukojak-verify-EEHR8qb7sm/plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ccfa66-3064-48c3-a0ab-4ff0643e74c1/bin/ukojak-verify-EEHR8qb7sm/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ccfa66-3064-48c3-a0ab-4ff0643e74c1/bin/ukojak-verify-EEHR8qb7sm/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_f7ccfa66-3064-48c3-a0ab-4ff0643e74c1/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Reach-32bit-Kojak_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ccfa66-3064-48c3-a0ab-4ff0643e74c1/bin/ukojak-verify-EEHR8qb7sm --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-826ab2b [2024-11-13 21:46:39,421 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-13 21:46:39,513 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ccfa66-3064-48c3-a0ab-4ff0643e74c1/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Reach-32bit-Kojak_Bitvector.epf [2024-11-13 21:46:39,583 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-13 21:46:39,584 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-13 21:46:39,584 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-13 21:46:39,584 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-13 21:46:39,584 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-13 21:46:39,590 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-13 21:46:39,595 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-13 21:46:39,595 INFO L153 SettingsManager]: * sizeof long=4 [2024-11-13 21:46:39,595 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-11-13 21:46:39,595 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-13 21:46:39,595 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-13 21:46:39,595 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-13 21:46:39,595 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-13 21:46:39,595 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-13 21:46:39,596 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-11-13 21:46:39,596 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-13 21:46:39,596 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-11-13 21:46:39,596 INFO L153 SettingsManager]: * sizeof long double=12 [2024-11-13 21:46:39,596 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-13 21:46:39,596 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-13 21:46:39,596 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-13 21:46:39,596 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-13 21:46:39,596 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-13 21:46:39,597 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2024-11-13 21:46:39,597 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2024-11-13 21:46:39,597 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-13 21:46:39,597 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 21:46:39,597 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-13 21:46:39,597 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-13 21:46:39,597 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-13 21:46:39,597 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2024-11-13 21:46:39,597 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-11-13 21:46:39,599 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2024-11-13 21:46:39,599 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_f7ccfa66-3064-48c3-a0ab-4ff0643e74c1/bin/ukojak-verify-EEHR8qb7sm 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-13 21:46:39,996 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-13 21:46:40,004 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-13 21:46:40,007 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-13 21:46:40,008 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-13 21:46:40,008 INFO L274 PluginConnector]: CDTParser initialized [2024-11-13 21:46:40,012 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ccfa66-3064-48c3-a0ab-4ff0643e74c1/bin/ukojak-verify-EEHR8qb7sm/../../sv-benchmarks/c/seq-pthread/cs_read_write_lock-2.i Unable to find full path for "g++" [2024-11-13 21:46:42,070 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-13 21:46:42,405 INFO L384 CDTParser]: Found 1 translation units. [2024-11-13 21:46:42,406 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ccfa66-3064-48c3-a0ab-4ff0643e74c1/sv-benchmarks/c/seq-pthread/cs_read_write_lock-2.i [2024-11-13 21:46:42,423 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ccfa66-3064-48c3-a0ab-4ff0643e74c1/bin/ukojak-verify-EEHR8qb7sm/data/b42ae413a/075d438df1b44f8982cef7d5fba0a791/FLAGd5c831643 [2024-11-13 21:46:42,441 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ccfa66-3064-48c3-a0ab-4ff0643e74c1/bin/ukojak-verify-EEHR8qb7sm/data/b42ae413a/075d438df1b44f8982cef7d5fba0a791 [2024-11-13 21:46:42,444 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-13 21:46:42,446 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-13 21:46:42,448 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-13 21:46:42,448 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-13 21:46:42,454 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-13 21:46:42,455 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 09:46:42" (1/1) ... [2024-11-13 21:46:42,456 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@b42cb7e and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:46:42, skipping insertion in model container [2024-11-13 21:46:42,457 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 09:46:42" (1/1) ... [2024-11-13 21:46:42,510 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-13 21:46:42,955 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_f7ccfa66-3064-48c3-a0ab-4ff0643e74c1/sv-benchmarks/c/seq-pthread/cs_read_write_lock-2.i[23469,23482] [2024-11-13 21:46:43,089 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 21:46:43,109 INFO L200 MainTranslator]: Completed pre-run [2024-11-13 21:46:43,139 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_f7ccfa66-3064-48c3-a0ab-4ff0643e74c1/sv-benchmarks/c/seq-pthread/cs_read_write_lock-2.i[23469,23482] [2024-11-13 21:46:43,225 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 21:46:43,281 INFO L204 MainTranslator]: Completed translation [2024-11-13 21:46:43,281 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:46:43 WrapperNode [2024-11-13 21:46:43,282 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-13 21:46:43,283 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-13 21:46:43,283 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-13 21:46:43,283 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-13 21:46:43,290 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:46:43" (1/1) ... [2024-11-13 21:46:43,314 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:46:43" (1/1) ... [2024-11-13 21:46:43,366 INFO L138 Inliner]: procedures = 150, calls = 312, calls flagged for inlining = 8, calls inlined = 8, statements flattened = 577 [2024-11-13 21:46:43,366 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-13 21:46:43,367 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-13 21:46:43,367 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-13 21:46:43,367 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-13 21:46:43,383 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:46:43" (1/1) ... [2024-11-13 21:46:43,383 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:46:43" (1/1) ... [2024-11-13 21:46:43,392 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:46:43" (1/1) ... [2024-11-13 21:46:43,392 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:46:43" (1/1) ... [2024-11-13 21:46:43,426 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:46:43" (1/1) ... [2024-11-13 21:46:43,430 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:46:43" (1/1) ... [2024-11-13 21:46:43,434 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:46:43" (1/1) ... [2024-11-13 21:46:43,437 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:46:43" (1/1) ... [2024-11-13 21:46:43,443 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-13 21:46:43,444 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-13 21:46:43,444 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-13 21:46:43,444 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-13 21:46:43,446 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:46:43" (1/1) ... [2024-11-13 21:46:43,452 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 21:46:43,472 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ccfa66-3064-48c3-a0ab-4ff0643e74c1/bin/ukojak-verify-EEHR8qb7sm/z3 [2024-11-13 21:46:43,505 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ccfa66-3064-48c3-a0ab-4ff0643e74c1/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-13 21:46:43,513 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ccfa66-3064-48c3-a0ab-4ff0643e74c1/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-13 21:46:43,541 INFO L130 BoogieDeclarations]: Found specification of procedure read~intINTTYPE1 [2024-11-13 21:46:43,542 INFO L130 BoogieDeclarations]: Found specification of procedure read~intINTTYPE4 [2024-11-13 21:46:43,543 INFO L130 BoogieDeclarations]: Found specification of procedure assume_abort_if_not [2024-11-13 21:46:43,543 INFO L138 BoogieDeclarations]: Found implementation of procedure assume_abort_if_not [2024-11-13 21:46:43,543 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-13 21:46:43,543 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2024-11-13 21:46:43,543 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$ [2024-11-13 21:46:43,543 INFO L130 BoogieDeclarations]: Found specification of procedure __CS_pthread_create [2024-11-13 21:46:43,543 INFO L138 BoogieDeclarations]: Found implementation of procedure __CS_pthread_create [2024-11-13 21:46:43,543 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$ [2024-11-13 21:46:43,543 INFO L130 BoogieDeclarations]: Found specification of procedure __CS_pthread_join [2024-11-13 21:46:43,544 INFO L138 BoogieDeclarations]: Found implementation of procedure __CS_pthread_join [2024-11-13 21:46:43,544 INFO L130 BoogieDeclarations]: Found specification of procedure ##fun~$Pointer$~TO~$Pointer$ [2024-11-13 21:46:43,544 INFO L138 BoogieDeclarations]: Found implementation of procedure ##fun~$Pointer$~TO~$Pointer$ [2024-11-13 21:46:43,544 INFO L130 BoogieDeclarations]: Found specification of procedure write~intINTTYPE1 [2024-11-13 21:46:43,544 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2024-11-13 21:46:43,544 INFO L130 BoogieDeclarations]: Found specification of procedure write~intINTTYPE4 [2024-11-13 21:46:43,545 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~$Pointer$ [2024-11-13 21:46:43,545 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1 [2024-11-13 21:46:43,545 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE4 [2024-11-13 21:46:43,545 INFO L130 BoogieDeclarations]: Found specification of procedure __CS_cs [2024-11-13 21:46:43,545 INFO L138 BoogieDeclarations]: Found implementation of procedure __CS_cs [2024-11-13 21:46:43,545 INFO L130 BoogieDeclarations]: Found specification of procedure __CS_assume [2024-11-13 21:46:43,545 INFO L138 BoogieDeclarations]: Found implementation of procedure __CS_assume [2024-11-13 21:46:43,545 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-13 21:46:43,545 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-13 21:46:43,824 INFO L238 CfgBuilder]: Building ICFG [2024-11-13 21:46:43,828 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-13 21:46:44,519 INFO L735 $ProcedureCfgBuilder]: dead code at ProgramPoint $Ultimate##42: assume !(0bv32 != ~zero_extend~32~8(~__CS_ret~0)); [2024-11-13 21:46:44,519 INFO L735 $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-13 21:46:56,491 INFO L? ?]: Removed 89 outVars from TransFormulas that were not future-live. [2024-11-13 21:46:56,492 INFO L287 CfgBuilder]: Performing block encoding [2024-11-13 21:46:56,707 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:303) 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-13 21:46:56,713 INFO L158 Benchmark]: Toolchain (without parser) took 14266.49ms. Allocated memory is still 83.9MB. Free memory was 61.0MB in the beginning and 32.0MB in the end (delta: 29.0MB). Peak memory consumption was 55.8MB. Max. memory is 16.1GB. [2024-11-13 21:46:56,718 INFO L158 Benchmark]: CDTParser took 0.43ms. Allocated memory is still 83.9MB. Free memory is still 51.6MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:46:56,719 INFO L158 Benchmark]: CACSL2BoogieTranslator took 834.38ms. Allocated memory is still 83.9MB. Free memory was 60.7MB in the beginning and 33.0MB in the end (delta: 27.8MB). Peak memory consumption was 25.2MB. Max. memory is 16.1GB. [2024-11-13 21:46:56,719 INFO L158 Benchmark]: Boogie Procedure Inliner took 83.41ms. Allocated memory is still 83.9MB. Free memory was 33.0MB in the beginning and 28.7MB in the end (delta: 4.2MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-11-13 21:46:56,720 INFO L158 Benchmark]: Boogie Preprocessor took 75.98ms. Allocated memory is still 83.9MB. Free memory was 28.7MB in the beginning and 24.4MB in the end (delta: 4.4MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:46:56,720 INFO L158 Benchmark]: RCFGBuilder took 13267.74ms. Allocated memory is still 83.9MB. Free memory was 24.4MB in the beginning and 32.0MB in the end (delta: -7.6MB). Peak memory consumption was 22.2MB. Max. memory is 16.1GB. [2024-11-13 21:46:56,724 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.43ms. Allocated memory is still 83.9MB. Free memory is still 51.6MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 834.38ms. Allocated memory is still 83.9MB. Free memory was 60.7MB in the beginning and 33.0MB in the end (delta: 27.8MB). Peak memory consumption was 25.2MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 83.41ms. Allocated memory is still 83.9MB. Free memory was 33.0MB in the beginning and 28.7MB in the end (delta: 4.2MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Boogie Preprocessor took 75.98ms. Allocated memory is still 83.9MB. Free memory was 28.7MB in the beginning and 24.4MB in the end (delta: 4.4MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 13267.74ms. Allocated memory is still 83.9MB. Free memory was 24.4MB in the beginning and 32.0MB in the end (delta: -7.6MB). Peak memory consumption was 22.2MB. 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-13 21:46:56,769 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ccfa66-3064-48c3-a0ab-4ff0643e74c1/bin/ukojak-verify-EEHR8qb7sm/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?