./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_55801dfd-461c-4855-8678-9902a0b1307a/bin/ukojak-verify-CZk0znPC7b/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_55801dfd-461c-4855-8678-9902a0b1307a/bin/ukojak-verify-CZk0znPC7b/plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_55801dfd-461c-4855-8678-9902a0b1307a/bin/ukojak-verify-CZk0znPC7b/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_55801dfd-461c-4855-8678-9902a0b1307a/bin/ukojak-verify-CZk0znPC7b/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_55801dfd-461c-4855-8678-9902a0b1307a/bin/ukojak-verify-CZk0znPC7b/config/svcomp-Reach-32bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_55801dfd-461c-4855-8678-9902a0b1307a/bin/ukojak-verify-CZk0znPC7b --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-12-06 04:27:11,507 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-12-06 04:27:11,573 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_55801dfd-461c-4855-8678-9902a0b1307a/bin/ukojak-verify-CZk0znPC7b/config/svcomp-Reach-32bit-Kojak_Default.epf [2024-12-06 04:27:11,578 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-12-06 04:27:11,579 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-12-06 04:27:11,600 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-12-06 04:27:11,601 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-12-06 04:27:11,601 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-12-06 04:27:11,601 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-12-06 04:27:11,601 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-12-06 04:27:11,602 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-12-06 04:27:11,602 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-12-06 04:27:11,602 INFO L153 SettingsManager]: * sizeof long=4 [2024-12-06 04:27:11,602 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-12-06 04:27:11,602 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-12-06 04:27:11,602 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-12-06 04:27:11,602 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-12-06 04:27:11,602 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-12-06 04:27:11,602 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-12-06 04:27:11,602 INFO L153 SettingsManager]: * sizeof long double=12 [2024-12-06 04:27:11,603 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-12-06 04:27:11,603 INFO L153 SettingsManager]: * Behaviour of calls to undefined functions=OVERAPPROXIMATE_BEHAVIOUR [2024-12-06 04:27:11,603 INFO L153 SettingsManager]: * Use constant arrays=true [2024-12-06 04:27:11,603 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-12-06 04:27:11,603 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-12-06 04:27:11,603 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-12-06 04:27:11,603 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-12-06 04:27:11,603 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-12-06 04:27:11,603 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-12-06 04:27:11,604 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-12-06 04:27:11,604 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-12-06 04:27:11,604 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-12-06 04:27:11,604 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-12-06 04:27:11,604 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_55801dfd-461c-4855-8678-9902a0b1307a/bin/ukojak-verify-CZk0znPC7b 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-12-06 04:27:11,845 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-12-06 04:27:11,854 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-12-06 04:27:11,856 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-12-06 04:27:11,857 INFO L270 PluginConnector]: Initializing CDTParser... [2024-12-06 04:27:11,858 INFO L274 PluginConnector]: CDTParser initialized [2024-12-06 04:27:11,859 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_55801dfd-461c-4855-8678-9902a0b1307a/bin/ukojak-verify-CZk0znPC7b/../../sv-benchmarks/c/seq-pthread/cs_read_write_lock-2.i [2024-12-06 04:27:14,543 INFO L533 CDTParser]: Created temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_55801dfd-461c-4855-8678-9902a0b1307a/bin/ukojak-verify-CZk0znPC7b/data/d3081d3af/65d3f5c965dd40fb8a66237af1a31f8f/FLAG886681fbb [2024-12-06 04:27:14,799 INFO L384 CDTParser]: Found 1 translation units. [2024-12-06 04:27:14,799 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_55801dfd-461c-4855-8678-9902a0b1307a/sv-benchmarks/c/seq-pthread/cs_read_write_lock-2.i [2024-12-06 04:27:14,813 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_55801dfd-461c-4855-8678-9902a0b1307a/bin/ukojak-verify-CZk0znPC7b/data/d3081d3af/65d3f5c965dd40fb8a66237af1a31f8f/FLAG886681fbb [2024-12-06 04:27:14,827 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_55801dfd-461c-4855-8678-9902a0b1307a/bin/ukojak-verify-CZk0znPC7b/data/d3081d3af/65d3f5c965dd40fb8a66237af1a31f8f [2024-12-06 04:27:14,829 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-12-06 04:27:14,831 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-12-06 04:27:14,832 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-12-06 04:27:14,832 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-12-06 04:27:14,836 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-12-06 04:27:14,837 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 06.12 04:27:14" (1/1) ... [2024-12-06 04:27:14,837 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@74aba5ee and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 04:27:14, skipping insertion in model container [2024-12-06 04:27:14,838 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 06.12 04:27:14" (1/1) ... [2024-12-06 04:27:14,866 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-12-06 04:27:15,113 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_55801dfd-461c-4855-8678-9902a0b1307a/sv-benchmarks/c/seq-pthread/cs_read_write_lock-2.i[23469,23482] [2024-12-06 04:27:15,189 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-12-06 04:27:15,201 INFO L200 MainTranslator]: Completed pre-run [2024-12-06 04:27:15,228 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_55801dfd-461c-4855-8678-9902a0b1307a/sv-benchmarks/c/seq-pthread/cs_read_write_lock-2.i[23469,23482] [2024-12-06 04:27:15,276 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-12-06 04:27:15,304 INFO L204 MainTranslator]: Completed translation [2024-12-06 04:27:15,304 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 04:27:15 WrapperNode [2024-12-06 04:27:15,305 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-12-06 04:27:15,305 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-12-06 04:27:15,305 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-12-06 04:27:15,305 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-12-06 04:27:15,310 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 04:27:15" (1/1) ... [2024-12-06 04:27:15,325 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 04:27:15" (1/1) ... [2024-12-06 04:27:15,356 INFO L138 Inliner]: procedures = 146, calls = 312, calls flagged for inlining = 8, calls inlined = 8, statements flattened = 584 [2024-12-06 04:27:15,356 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-12-06 04:27:15,356 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-12-06 04:27:15,357 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-12-06 04:27:15,357 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-12-06 04:27:15,364 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 04:27:15" (1/1) ... [2024-12-06 04:27:15,364 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 04:27:15" (1/1) ... [2024-12-06 04:27:15,370 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 04:27:15" (1/1) ... [2024-12-06 04:27:15,370 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 04:27:15" (1/1) ... [2024-12-06 04:27:15,392 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 04:27:15" (1/1) ... [2024-12-06 04:27:15,395 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 04:27:15" (1/1) ... [2024-12-06 04:27:15,398 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 04:27:15" (1/1) ... [2024-12-06 04:27:15,402 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 04:27:15" (1/1) ... [2024-12-06 04:27:15,405 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 04:27:15" (1/1) ... [2024-12-06 04:27:15,411 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-12-06 04:27:15,411 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-12-06 04:27:15,412 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-12-06 04:27:15,412 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-12-06 04:27:15,413 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 04:27:15" (1/1) ... [2024-12-06 04:27:15,418 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-12-06 04:27:15,429 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_55801dfd-461c-4855-8678-9902a0b1307a/bin/ukojak-verify-CZk0znPC7b/z3 [2024-12-06 04:27:15,441 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_55801dfd-461c-4855-8678-9902a0b1307a/bin/ukojak-verify-CZk0znPC7b/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-12-06 04:27:15,444 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_55801dfd-461c-4855-8678-9902a0b1307a/bin/ukojak-verify-CZk0znPC7b/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-12-06 04:27:15,467 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2024-12-06 04:27:15,468 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2024-12-06 04:27:15,468 INFO L130 BoogieDeclarations]: Found specification of procedure assume_abort_if_not [2024-12-06 04:27:15,468 INFO L138 BoogieDeclarations]: Found implementation of procedure assume_abort_if_not [2024-12-06 04:27:15,468 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-12-06 04:27:15,468 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2024-12-06 04:27:15,468 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$ [2024-12-06 04:27:15,468 INFO L130 BoogieDeclarations]: Found specification of procedure __CS_pthread_create [2024-12-06 04:27:15,468 INFO L138 BoogieDeclarations]: Found implementation of procedure __CS_pthread_create [2024-12-06 04:27:15,468 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$ [2024-12-06 04:27:15,468 INFO L130 BoogieDeclarations]: Found specification of procedure __CS_pthread_join [2024-12-06 04:27:15,468 INFO L138 BoogieDeclarations]: Found implementation of procedure __CS_pthread_join [2024-12-06 04:27:15,468 INFO L130 BoogieDeclarations]: Found specification of procedure ##fun~$Pointer$~TO~$Pointer$ [2024-12-06 04:27:15,468 INFO L138 BoogieDeclarations]: Found implementation of procedure ##fun~$Pointer$~TO~$Pointer$ [2024-12-06 04:27:15,469 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2024-12-06 04:27:15,469 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~$Pointer$ [2024-12-06 04:27:15,469 INFO L130 BoogieDeclarations]: Found specification of procedure __CS_cs [2024-12-06 04:27:15,469 INFO L138 BoogieDeclarations]: Found implementation of procedure __CS_cs [2024-12-06 04:27:15,469 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2024-12-06 04:27:15,469 INFO L130 BoogieDeclarations]: Found specification of procedure __CS_assume [2024-12-06 04:27:15,469 INFO L138 BoogieDeclarations]: Found implementation of procedure __CS_assume [2024-12-06 04:27:15,469 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-12-06 04:27:15,469 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-12-06 04:27:15,605 INFO L234 CfgBuilder]: Building ICFG [2024-12-06 04:27:15,607 INFO L260 CfgBuilder]: Building CFG for each procedure with an implementation [2024-12-06 04:27:15,953 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-12-06 04:27:15,954 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-12-06 04:27:19,063 INFO L? ?]: Removed 81 outVars from TransFormulas that were not future-live. [2024-12-06 04:27:19,063 INFO L283 CfgBuilder]: Performing block encoding [2024-12-06 04:27:19,172 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-12-06 04:27:19,178 INFO L158 Benchmark]: Toolchain (without parser) took 4347.05ms. Allocated memory is still 142.6MB. Free memory was 116.5MB in the beginning and 62.4MB in the end (delta: 54.1MB). Peak memory consumption was 75.3MB. Max. memory is 16.1GB. [2024-12-06 04:27:19,178 INFO L158 Benchmark]: CDTParser took 0.31ms. Allocated memory is still 142.6MB. Free memory is still 83.7MB. There was no memory consumed. Max. memory is 16.1GB. [2024-12-06 04:27:19,179 INFO L158 Benchmark]: CACSL2BoogieTranslator took 473.03ms. Allocated memory is still 142.6MB. Free memory was 116.3MB in the beginning and 89.8MB in the end (delta: 26.4MB). Peak memory consumption was 25.2MB. Max. memory is 16.1GB. [2024-12-06 04:27:19,179 INFO L158 Benchmark]: Boogie Procedure Inliner took 50.66ms. Allocated memory is still 142.6MB. Free memory was 89.8MB in the beginning and 84.6MB in the end (delta: 5.2MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-12-06 04:27:19,180 INFO L158 Benchmark]: Boogie Preprocessor took 54.50ms. Allocated memory is still 142.6MB. Free memory was 84.6MB in the beginning and 80.6MB in the end (delta: 4.0MB). There was no memory consumed. Max. memory is 16.1GB. [2024-12-06 04:27:19,180 INFO L158 Benchmark]: RCFGBuilder took 3765.14ms. Allocated memory is still 142.6MB. Free memory was 80.6MB in the beginning and 62.4MB in the end (delta: 18.3MB). Peak memory consumption was 41.7MB. Max. memory is 16.1GB. [2024-12-06 04:27:19,182 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.31ms. Allocated memory is still 142.6MB. Free memory is still 83.7MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 473.03ms. Allocated memory is still 142.6MB. Free memory was 116.3MB in the beginning and 89.8MB in the end (delta: 26.4MB). Peak memory consumption was 25.2MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 50.66ms. Allocated memory is still 142.6MB. Free memory was 89.8MB in the beginning and 84.6MB in the end (delta: 5.2MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Boogie Preprocessor took 54.50ms. Allocated memory is still 142.6MB. Free memory was 84.6MB in the beginning and 80.6MB in the end (delta: 4.0MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 3765.14ms. Allocated memory is still 142.6MB. Free memory was 80.6MB in the beginning and 62.4MB in the end (delta: 18.3MB). Peak memory consumption was 41.7MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder: - ExceptionOrErrorResult: UnsupportedOperationException: Incomplete atomic composition (dangling end of atomic block: havoc __VERIFIER_atomic_take_write_lock_#t~mem21#1;havoc __VERIFIER_atomic_take_write_lock_#t~mem22#1;havoc __VERIFIER_atomic_take_write_lock_#t~short23#1;call write~int(1, ~#w~0.base, ~#w~0.offset + 4 * (if ~__CS_round~0 % 256 % 4294967296 <= 2147483647 then ~__CS_round~0 % 256 % 4294967296 else ~__CS_round~0 % 256 % 4294967296 - 4294967296), 4);havoc __VERIFIER_atomic_take_write_lock_#t~mem21#1, __VERIFIER_atomic_take_write_lock_#t~mem22#1, __VERIFIER_atomic_take_write_lock_#t~short23#1;assume { :end_inline___VERIFIER_atomic_take_write_lock } true;). Is there illegal control flow (e.g. loops) within an atomic block? de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder: UnsupportedOperationException: Incomplete atomic composition (dangling end of atomic block: havoc __VERIFIER_atomic_take_write_lock_#t~mem21#1;havoc __VERIFIER_atomic_take_write_lock_#t~mem22#1;havoc __VERIFIER_atomic_take_write_lock_#t~short23#1;call write~int(1, ~#w~0.base, ~#w~0.offset + 4 * (if ~__CS_round~0 % 256 % 4294967296 <= 2147483647 then ~__CS_round~0 % 256 % 4294967296 else ~__CS_round~0 % 256 % 4294967296 - 4294967296), 4);havoc __VERIFIER_atomic_take_write_lock_#t~mem21#1, __VERIFIER_atomic_take_write_lock_#t~mem22#1, __VERIFIER_atomic_take_write_lock_#t~short23#1;assume { :end_inline___VERIFIER_atomic_take_write_lock } true;). Is there illegal control flow (e.g. loops) within an atomic block?: de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder.cfg.AtomicBlockAnalyzer.ensureAtomicCompositionComplete(AtomicBlockAnalyzer.java:123) RESULT: Ultimate could not prove your program: Toolchain returned no result. [2024-12-06 04:27:19,203 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_55801dfd-461c-4855-8678-9902a0b1307a/bin/ukojak-verify-CZk0znPC7b/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_55801dfd-461c-4855-8678-9902a0b1307a/bin/ukojak-verify-CZk0znPC7b/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_55801dfd-461c-4855-8678-9902a0b1307a/bin/ukojak-verify-CZk0znPC7b/plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_55801dfd-461c-4855-8678-9902a0b1307a/bin/ukojak-verify-CZk0znPC7b/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_55801dfd-461c-4855-8678-9902a0b1307a/bin/ukojak-verify-CZk0znPC7b/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_55801dfd-461c-4855-8678-9902a0b1307a/bin/ukojak-verify-CZk0znPC7b/config/svcomp-Reach-32bit-Kojak_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_55801dfd-461c-4855-8678-9902a0b1307a/bin/ukojak-verify-CZk0znPC7b --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-12-06 04:27:21,063 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-12-06 04:27:21,142 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_55801dfd-461c-4855-8678-9902a0b1307a/bin/ukojak-verify-CZk0znPC7b/config/svcomp-Reach-32bit-Kojak_Bitvector.epf [2024-12-06 04:27:21,168 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-12-06 04:27:21,169 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-12-06 04:27:21,169 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-12-06 04:27:21,169 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-12-06 04:27:21,169 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-12-06 04:27:21,169 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-12-06 04:27:21,169 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-12-06 04:27:21,170 INFO L153 SettingsManager]: * sizeof long=4 [2024-12-06 04:27:21,170 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-12-06 04:27:21,170 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-12-06 04:27:21,170 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-12-06 04:27:21,170 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-12-06 04:27:21,170 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-12-06 04:27:21,170 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-12-06 04:27:21,170 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-12-06 04:27:21,170 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-12-06 04:27:21,170 INFO L153 SettingsManager]: * sizeof long double=12 [2024-12-06 04:27:21,170 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-12-06 04:27:21,170 INFO L153 SettingsManager]: * Behaviour of calls to undefined functions=OVERAPPROXIMATE_BEHAVIOUR [2024-12-06 04:27:21,171 INFO L153 SettingsManager]: * Use constant arrays=true [2024-12-06 04:27:21,171 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-12-06 04:27:21,171 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-12-06 04:27:21,171 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-12-06 04:27:21,171 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2024-12-06 04:27:21,171 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2024-12-06 04:27:21,171 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-12-06 04:27:21,171 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-12-06 04:27:21,171 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-12-06 04:27:21,171 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-12-06 04:27:21,171 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-12-06 04:27:21,171 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2024-12-06 04:27:21,172 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-12-06 04:27:21,172 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2024-12-06 04:27:21,172 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_55801dfd-461c-4855-8678-9902a0b1307a/bin/ukojak-verify-CZk0znPC7b 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-12-06 04:27:21,402 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-12-06 04:27:21,409 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-12-06 04:27:21,410 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-12-06 04:27:21,411 INFO L270 PluginConnector]: Initializing CDTParser... [2024-12-06 04:27:21,411 INFO L274 PluginConnector]: CDTParser initialized [2024-12-06 04:27:21,412 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_55801dfd-461c-4855-8678-9902a0b1307a/bin/ukojak-verify-CZk0znPC7b/../../sv-benchmarks/c/seq-pthread/cs_read_write_lock-2.i [2024-12-06 04:27:24,057 INFO L533 CDTParser]: Created temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_55801dfd-461c-4855-8678-9902a0b1307a/bin/ukojak-verify-CZk0znPC7b/data/0748744f7/5a7c647e2f414cab8bf87a0f9ccd418b/FLAG8eceed218 [2024-12-06 04:27:24,290 INFO L384 CDTParser]: Found 1 translation units. [2024-12-06 04:27:24,291 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_55801dfd-461c-4855-8678-9902a0b1307a/sv-benchmarks/c/seq-pthread/cs_read_write_lock-2.i [2024-12-06 04:27:24,304 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_55801dfd-461c-4855-8678-9902a0b1307a/bin/ukojak-verify-CZk0znPC7b/data/0748744f7/5a7c647e2f414cab8bf87a0f9ccd418b/FLAG8eceed218 [2024-12-06 04:27:24,318 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_55801dfd-461c-4855-8678-9902a0b1307a/bin/ukojak-verify-CZk0znPC7b/data/0748744f7/5a7c647e2f414cab8bf87a0f9ccd418b [2024-12-06 04:27:24,320 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-12-06 04:27:24,322 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-12-06 04:27:24,323 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-12-06 04:27:24,323 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-12-06 04:27:24,328 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-12-06 04:27:24,328 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 06.12 04:27:24" (1/1) ... [2024-12-06 04:27:24,329 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@33d93d19 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 04:27:24, skipping insertion in model container [2024-12-06 04:27:24,330 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 06.12 04:27:24" (1/1) ... [2024-12-06 04:27:24,361 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-12-06 04:27:24,587 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_55801dfd-461c-4855-8678-9902a0b1307a/sv-benchmarks/c/seq-pthread/cs_read_write_lock-2.i[23469,23482] [2024-12-06 04:27:24,669 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-12-06 04:27:24,684 INFO L200 MainTranslator]: Completed pre-run [2024-12-06 04:27:24,711 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_55801dfd-461c-4855-8678-9902a0b1307a/sv-benchmarks/c/seq-pthread/cs_read_write_lock-2.i[23469,23482] [2024-12-06 04:27:24,767 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-12-06 04:27:24,797 INFO L204 MainTranslator]: Completed translation [2024-12-06 04:27:24,798 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 04:27:24 WrapperNode [2024-12-06 04:27:24,798 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-12-06 04:27:24,799 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-12-06 04:27:24,799 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-12-06 04:27:24,799 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-12-06 04:27:24,803 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 04:27:24" (1/1) ... [2024-12-06 04:27:24,818 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 04:27:24" (1/1) ... [2024-12-06 04:27:24,848 INFO L138 Inliner]: procedures = 150, calls = 312, calls flagged for inlining = 8, calls inlined = 8, statements flattened = 577 [2024-12-06 04:27:24,849 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-12-06 04:27:24,849 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-12-06 04:27:24,849 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-12-06 04:27:24,849 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-12-06 04:27:24,856 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 04:27:24" (1/1) ... [2024-12-06 04:27:24,857 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 04:27:24" (1/1) ... [2024-12-06 04:27:24,863 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 04:27:24" (1/1) ... [2024-12-06 04:27:24,864 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 04:27:24" (1/1) ... [2024-12-06 04:27:24,887 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 04:27:24" (1/1) ... [2024-12-06 04:27:24,888 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 04:27:24" (1/1) ... [2024-12-06 04:27:24,891 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 04:27:24" (1/1) ... [2024-12-06 04:27:24,894 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 04:27:24" (1/1) ... [2024-12-06 04:27:24,896 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 04:27:24" (1/1) ... [2024-12-06 04:27:24,901 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-12-06 04:27:24,902 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-12-06 04:27:24,902 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-12-06 04:27:24,902 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-12-06 04:27:24,903 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 04:27:24" (1/1) ... [2024-12-06 04:27:24,908 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-12-06 04:27:24,920 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_55801dfd-461c-4855-8678-9902a0b1307a/bin/ukojak-verify-CZk0znPC7b/z3 [2024-12-06 04:27:24,932 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_55801dfd-461c-4855-8678-9902a0b1307a/bin/ukojak-verify-CZk0znPC7b/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-12-06 04:27:24,934 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_55801dfd-461c-4855-8678-9902a0b1307a/bin/ukojak-verify-CZk0znPC7b/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-12-06 04:27:24,956 INFO L130 BoogieDeclarations]: Found specification of procedure read~intINTTYPE1 [2024-12-06 04:27:24,956 INFO L130 BoogieDeclarations]: Found specification of procedure read~intINTTYPE4 [2024-12-06 04:27:24,957 INFO L130 BoogieDeclarations]: Found specification of procedure assume_abort_if_not [2024-12-06 04:27:24,957 INFO L138 BoogieDeclarations]: Found implementation of procedure assume_abort_if_not [2024-12-06 04:27:24,957 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-12-06 04:27:24,957 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2024-12-06 04:27:24,957 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$ [2024-12-06 04:27:24,957 INFO L130 BoogieDeclarations]: Found specification of procedure __CS_pthread_create [2024-12-06 04:27:24,957 INFO L138 BoogieDeclarations]: Found implementation of procedure __CS_pthread_create [2024-12-06 04:27:24,957 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$ [2024-12-06 04:27:24,957 INFO L130 BoogieDeclarations]: Found specification of procedure __CS_pthread_join [2024-12-06 04:27:24,957 INFO L138 BoogieDeclarations]: Found implementation of procedure __CS_pthread_join [2024-12-06 04:27:24,957 INFO L130 BoogieDeclarations]: Found specification of procedure ##fun~$Pointer$~TO~$Pointer$ [2024-12-06 04:27:24,957 INFO L138 BoogieDeclarations]: Found implementation of procedure ##fun~$Pointer$~TO~$Pointer$ [2024-12-06 04:27:24,957 INFO L130 BoogieDeclarations]: Found specification of procedure write~intINTTYPE1 [2024-12-06 04:27:24,957 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2024-12-06 04:27:24,958 INFO L130 BoogieDeclarations]: Found specification of procedure write~intINTTYPE4 [2024-12-06 04:27:24,958 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~$Pointer$ [2024-12-06 04:27:24,958 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1 [2024-12-06 04:27:24,958 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE4 [2024-12-06 04:27:24,958 INFO L130 BoogieDeclarations]: Found specification of procedure __CS_cs [2024-12-06 04:27:24,958 INFO L138 BoogieDeclarations]: Found implementation of procedure __CS_cs [2024-12-06 04:27:24,958 INFO L130 BoogieDeclarations]: Found specification of procedure __CS_assume [2024-12-06 04:27:24,958 INFO L138 BoogieDeclarations]: Found implementation of procedure __CS_assume [2024-12-06 04:27:24,958 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-12-06 04:27:24,958 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-12-06 04:27:25,102 INFO L234 CfgBuilder]: Building ICFG [2024-12-06 04:27:25,104 INFO L260 CfgBuilder]: Building CFG for each procedure with an implementation [2024-12-06 04:27:25,572 INFO L727 $ProcedureCfgBuilder]: dead code at ProgramPoint $Ultimate##42: assume !(0bv32 != ~zero_extend~32~8(~__CS_ret~0)); [2024-12-06 04:27:25,572 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-12-06 04:27:38,019 INFO L? ?]: Removed 89 outVars from TransFormulas that were not future-live. [2024-12-06 04:27:38,019 INFO L283 CfgBuilder]: Performing block encoding [2024-12-06 04:27:38,155 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-12-06 04:27:38,161 INFO L158 Benchmark]: Toolchain (without parser) took 13838.73ms. Allocated memory is still 92.3MB. Free memory was 68.4MB in the beginning and 31.2MB in the end (delta: 37.2MB). Peak memory consumption was 49.1MB. Max. memory is 16.1GB. [2024-12-06 04:27:38,161 INFO L158 Benchmark]: CDTParser took 0.24ms. Allocated memory is still 83.9MB. Free memory is still 48.2MB. There was no memory consumed. Max. memory is 16.1GB. [2024-12-06 04:27:38,162 INFO L158 Benchmark]: CACSL2BoogieTranslator took 475.11ms. Allocated memory is still 92.3MB. Free memory was 68.2MB in the beginning and 40.6MB in the end (delta: 27.6MB). Peak memory consumption was 25.2MB. Max. memory is 16.1GB. [2024-12-06 04:27:38,162 INFO L158 Benchmark]: Boogie Procedure Inliner took 50.37ms. Allocated memory is still 92.3MB. Free memory was 40.5MB in the beginning and 65.8MB in the end (delta: -25.3MB). Peak memory consumption was 12.4MB. Max. memory is 16.1GB. [2024-12-06 04:27:38,163 INFO L158 Benchmark]: Boogie Preprocessor took 52.27ms. Allocated memory is still 92.3MB. Free memory was 65.8MB in the beginning and 61.0MB in the end (delta: 4.7MB). There was no memory consumed. Max. memory is 16.1GB. [2024-12-06 04:27:38,163 INFO L158 Benchmark]: RCFGBuilder took 13257.27ms. Allocated memory is still 92.3MB. Free memory was 61.0MB in the beginning and 31.2MB in the end (delta: 29.9MB). Peak memory consumption was 45.1MB. Max. memory is 16.1GB. [2024-12-06 04:27:38,165 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.24ms. Allocated memory is still 83.9MB. Free memory is still 48.2MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 475.11ms. Allocated memory is still 92.3MB. Free memory was 68.2MB in the beginning and 40.6MB in the end (delta: 27.6MB). Peak memory consumption was 25.2MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 50.37ms. Allocated memory is still 92.3MB. Free memory was 40.5MB in the beginning and 65.8MB in the end (delta: -25.3MB). Peak memory consumption was 12.4MB. Max. memory is 16.1GB. * Boogie Preprocessor took 52.27ms. Allocated memory is still 92.3MB. Free memory was 65.8MB in the beginning and 61.0MB in the end (delta: 4.7MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 13257.27ms. Allocated memory is still 92.3MB. Free memory was 61.0MB in the beginning and 31.2MB in the end (delta: 29.9MB). Peak memory consumption was 45.1MB. 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-12-06 04:27:38,220 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_55801dfd-461c-4855-8678-9902a0b1307a/bin/ukojak-verify-CZk0znPC7b/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?