./Ultimate.py --spec ../../sv-benchmarks/c/properties/unreach-call.prp --file ../../sv-benchmarks/c/ldv-sets/test_mutex_unbounded-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_28d6e694-121d-4239-bd2a-87d1d5f6496d/bin/ukojak-verify-ENZ3QT5qd3/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_28d6e694-121d-4239-bd2a-87d1d5f6496d/bin/ukojak-verify-ENZ3QT5qd3/plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_28d6e694-121d-4239-bd2a-87d1d5f6496d/bin/ukojak-verify-ENZ3QT5qd3/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_28d6e694-121d-4239-bd2a-87d1d5f6496d/bin/ukojak-verify-ENZ3QT5qd3/config/KojakReach.xml -i ../../sv-benchmarks/c/ldv-sets/test_mutex_unbounded-2.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_28d6e694-121d-4239-bd2a-87d1d5f6496d/bin/ukojak-verify-ENZ3QT5qd3/config/svcomp-Reach-32bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_28d6e694-121d-4239-bd2a-87d1d5f6496d/bin/ukojak-verify-ENZ3QT5qd3 --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G ! call(reach_error())) ) --witnessprinter.graph.data.producer Kojak --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 52ed361cdf08860b8c7c7d564ef95393de2d3a38663ac135cf0da9ded1f39b3f --- Real Ultimate output --- This is Ultimate 0.3.0-dev-d790fec [2024-11-25 02:16:28,711 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-25 02:16:28,815 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_28d6e694-121d-4239-bd2a-87d1d5f6496d/bin/ukojak-verify-ENZ3QT5qd3/config/svcomp-Reach-32bit-Kojak_Default.epf [2024-11-25 02:16:28,824 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-25 02:16:28,824 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-11-25 02:16:28,859 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-25 02:16:28,859 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-25 02:16:28,860 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-25 02:16:28,860 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-25 02:16:28,860 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-25 02:16:28,860 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-25 02:16:28,860 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-25 02:16:28,860 INFO L153 SettingsManager]: * sizeof long=4 [2024-11-25 02:16:28,860 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-25 02:16:28,861 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-11-25 02:16:28,861 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-25 02:16:28,863 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-25 02:16:28,863 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-25 02:16:28,863 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-25 02:16:28,863 INFO L153 SettingsManager]: * sizeof long double=12 [2024-11-25 02:16:28,863 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-25 02:16:28,864 INFO L153 SettingsManager]: * Behaviour of calls to undefined functions=OVERAPPROXIMATE_BEHAVIOUR [2024-11-25 02:16:28,864 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-25 02:16:28,864 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-25 02:16:28,865 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-25 02:16:28,866 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-25 02:16:28,866 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-25 02:16:28,866 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-25 02:16:28,866 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-25 02:16:28,866 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-25 02:16:28,866 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-25 02:16:28,866 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-11-25 02:16:28,866 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-25 02:16:28,866 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_28d6e694-121d-4239-bd2a-87d1d5f6496d/bin/ukojak-verify-ENZ3QT5qd3 Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(G ! call(reach_error())) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Kojak Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> 52ed361cdf08860b8c7c7d564ef95393de2d3a38663ac135cf0da9ded1f39b3f [2024-11-25 02:16:29,165 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-25 02:16:29,178 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-25 02:16:29,184 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-25 02:16:29,185 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-25 02:16:29,186 INFO L274 PluginConnector]: CDTParser initialized [2024-11-25 02:16:29,187 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_28d6e694-121d-4239-bd2a-87d1d5f6496d/bin/ukojak-verify-ENZ3QT5qd3/../../sv-benchmarks/c/ldv-sets/test_mutex_unbounded-2.i [2024-11-25 02:16:32,203 INFO L533 CDTParser]: Created temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_28d6e694-121d-4239-bd2a-87d1d5f6496d/bin/ukojak-verify-ENZ3QT5qd3/data/54ad95bd4/807a4ae7549b4ede95c863c405ff082f/FLAGf6fb88619 [2024-11-25 02:16:32,551 INFO L384 CDTParser]: Found 1 translation units. [2024-11-25 02:16:32,554 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_28d6e694-121d-4239-bd2a-87d1d5f6496d/sv-benchmarks/c/ldv-sets/test_mutex_unbounded-2.i [2024-11-25 02:16:32,575 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_28d6e694-121d-4239-bd2a-87d1d5f6496d/bin/ukojak-verify-ENZ3QT5qd3/data/54ad95bd4/807a4ae7549b4ede95c863c405ff082f/FLAGf6fb88619 [2024-11-25 02:16:32,599 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_28d6e694-121d-4239-bd2a-87d1d5f6496d/bin/ukojak-verify-ENZ3QT5qd3/data/54ad95bd4/807a4ae7549b4ede95c863c405ff082f [2024-11-25 02:16:32,602 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-25 02:16:32,604 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-25 02:16:32,606 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-25 02:16:32,606 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-25 02:16:32,611 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-25 02:16:32,613 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 25.11 02:16:32" (1/1) ... [2024-11-25 02:16:32,614 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@c878ad and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 02:16:32, skipping insertion in model container [2024-11-25 02:16:32,616 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 25.11 02:16:32" (1/1) ... [2024-11-25 02:16:32,660 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-25 02:16:32,986 WARN L250 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_28d6e694-121d-4239-bd2a-87d1d5f6496d/sv-benchmarks/c/ldv-sets/test_mutex_unbounded-2.i[26271,26284] [2024-11-25 02:16:32,990 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_28d6e694-121d-4239-bd2a-87d1d5f6496d/sv-benchmarks/c/ldv-sets/test_mutex_unbounded-2.i[26396,26409] [2024-11-25 02:16:32,992 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_28d6e694-121d-4239-bd2a-87d1d5f6496d/sv-benchmarks/c/ldv-sets/test_mutex_unbounded-2.i[26511,26524] [2024-11-25 02:16:33,004 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-25 02:16:33,014 INFO L200 MainTranslator]: Completed pre-run [2024-11-25 02:16:33,070 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_28d6e694-121d-4239-bd2a-87d1d5f6496d/sv-benchmarks/c/ldv-sets/test_mutex_unbounded-2.i[26271,26284] [2024-11-25 02:16:33,071 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_28d6e694-121d-4239-bd2a-87d1d5f6496d/sv-benchmarks/c/ldv-sets/test_mutex_unbounded-2.i[26396,26409] [2024-11-25 02:16:33,071 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_28d6e694-121d-4239-bd2a-87d1d5f6496d/sv-benchmarks/c/ldv-sets/test_mutex_unbounded-2.i[26511,26524] [2024-11-25 02:16:33,084 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-25 02:16:33,123 INFO L204 MainTranslator]: Completed translation [2024-11-25 02:16:33,124 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 02:16:33 WrapperNode [2024-11-25 02:16:33,124 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-25 02:16:33,125 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-25 02:16:33,125 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-25 02:16:33,125 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-25 02:16:33,137 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 02:16:33" (1/1) ... [2024-11-25 02:16:33,151 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 02:16:33" (1/1) ... [2024-11-25 02:16:33,178 INFO L138 Inliner]: procedures = 142, calls = 63, calls flagged for inlining = 14, calls inlined = 13, statements flattened = 183 [2024-11-25 02:16:33,178 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-25 02:16:33,179 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-25 02:16:33,179 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-25 02:16:33,179 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-25 02:16:33,186 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 02:16:33" (1/1) ... [2024-11-25 02:16:33,187 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 02:16:33" (1/1) ... [2024-11-25 02:16:33,191 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 02:16:33" (1/1) ... [2024-11-25 02:16:33,192 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 02:16:33" (1/1) ... [2024-11-25 02:16:33,203 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 02:16:33" (1/1) ... [2024-11-25 02:16:33,204 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 02:16:33" (1/1) ... [2024-11-25 02:16:33,208 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 02:16:33" (1/1) ... [2024-11-25 02:16:33,210 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 02:16:33" (1/1) ... [2024-11-25 02:16:33,212 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 02:16:33" (1/1) ... [2024-11-25 02:16:33,215 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-25 02:16:33,216 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-25 02:16:33,216 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-25 02:16:33,216 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-25 02:16:33,218 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 02:16:33" (1/1) ... [2024-11-25 02:16:33,223 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-25 02:16:33,237 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_28d6e694-121d-4239-bd2a-87d1d5f6496d/bin/ukojak-verify-ENZ3QT5qd3/z3 [2024-11-25 02:16:33,251 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_28d6e694-121d-4239-bd2a-87d1d5f6496d/bin/ukojak-verify-ENZ3QT5qd3/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-25 02:16:33,254 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_28d6e694-121d-4239-bd2a-87d1d5f6496d/bin/ukojak-verify-ENZ3QT5qd3/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-25 02:16:33,280 INFO L130 BoogieDeclarations]: Found specification of procedure __ldv_list_add [2024-11-25 02:16:33,280 INFO L138 BoogieDeclarations]: Found implementation of procedure __ldv_list_add [2024-11-25 02:16:33,281 INFO L130 BoogieDeclarations]: Found specification of procedure ldv_list_add [2024-11-25 02:16:33,281 INFO L138 BoogieDeclarations]: Found implementation of procedure ldv_list_add [2024-11-25 02:16:33,281 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2024-11-25 02:16:33,281 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-25 02:16:33,281 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$ [2024-11-25 02:16:33,281 INFO L130 BoogieDeclarations]: Found specification of procedure ldv_is_in_set [2024-11-25 02:16:33,281 INFO L138 BoogieDeclarations]: Found implementation of procedure ldv_is_in_set [2024-11-25 02:16:33,281 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$ [2024-11-25 02:16:33,281 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2024-11-25 02:16:33,281 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~$Pointer$ [2024-11-25 02:16:33,281 INFO L130 BoogieDeclarations]: Found specification of procedure ldv_list_del [2024-11-25 02:16:33,281 INFO L138 BoogieDeclarations]: Found implementation of procedure ldv_list_del [2024-11-25 02:16:33,281 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2024-11-25 02:16:33,281 INFO L130 BoogieDeclarations]: Found specification of procedure ldv_successful_malloc [2024-11-25 02:16:33,282 INFO L138 BoogieDeclarations]: Found implementation of procedure ldv_successful_malloc [2024-11-25 02:16:33,282 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-25 02:16:33,282 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-25 02:16:33,429 INFO L234 CfgBuilder]: Building ICFG [2024-11-25 02:16:33,431 INFO L260 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-25 02:16:33,763 INFO L? ?]: Removed 72 outVars from TransFormulas that were not future-live. [2024-11-25 02:16:33,763 INFO L283 CfgBuilder]: Performing block encoding [2024-11-25 02:16:33,880 INFO L307 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-25 02:16:33,881 INFO L312 CfgBuilder]: Removed 5 assume(true) statements. [2024-11-25 02:16:33,881 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 25.11 02:16:33 BoogieIcfgContainer [2024-11-25 02:16:33,881 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-25 02:16:33,882 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-25 02:16:33,882 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-25 02:16:33,893 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-25 02:16:33,893 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 25.11 02:16:33" (1/1) ... [2024-11-25 02:16:33,901 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-25 02:16:33,937 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 02:16:33,947 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 70 states to 55 states and 70 transitions. [2024-11-25 02:16:33,948 INFO L276 IsEmpty]: Start isEmpty. Operand 55 states and 70 transitions. [2024-11-25 02:16:33,952 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 7 [2024-11-25 02:16:33,952 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 02:16:33,953 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-25 02:16:34,058 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 02:16:34,269 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-25 02:16:34,365 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 02:16:34,366 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 79 states to 59 states and 79 transitions. [2024-11-25 02:16:34,366 INFO L276 IsEmpty]: Start isEmpty. Operand 59 states and 79 transitions. [2024-11-25 02:16:34,367 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 12 [2024-11-25 02:16:34,367 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 02:16:34,367 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-25 02:16:34,382 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 02:16:34,593 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-25 02:16:34,913 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 02:16:34,914 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 82 states to 61 states and 82 transitions. [2024-11-25 02:16:34,915 INFO L276 IsEmpty]: Start isEmpty. Operand 61 states and 82 transitions. [2024-11-25 02:16:34,915 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 13 [2024-11-25 02:16:34,916 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 02:16:34,916 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-25 02:16:34,941 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 02:16:35,085 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-25 02:16:35,282 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 02:16:35,283 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 84 states to 63 states and 84 transitions. [2024-11-25 02:16:35,283 INFO L276 IsEmpty]: Start isEmpty. Operand 63 states and 84 transitions. [2024-11-25 02:16:35,284 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 20 [2024-11-25 02:16:35,284 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 02:16:35,284 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-25 02:16:35,321 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 02:16:36,105 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-25 02:16:37,139 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 02:16:37,140 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 110 states to 70 states and 102 transitions. [2024-11-25 02:16:37,140 INFO L276 IsEmpty]: Start isEmpty. Operand 70 states and 102 transitions. [2024-11-25 02:16:37,142 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 25 [2024-11-25 02:16:37,143 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 02:16:37,143 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-25 02:16:37,178 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 02:16:37,336 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2024-11-25 02:16:37,477 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 02:16:37,478 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 115 states to 74 states and 107 transitions. [2024-11-25 02:16:37,478 INFO L276 IsEmpty]: Start isEmpty. Operand 74 states and 107 transitions. [2024-11-25 02:16:37,478 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 26 [2024-11-25 02:16:37,479 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 02:16:37,479 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-25 02:16:37,519 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 02:16:40,542 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-25 02:16:48,254 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 02:16:48,257 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 158 states to 84 states and 133 transitions. [2024-11-25 02:16:48,258 INFO L276 IsEmpty]: Start isEmpty. Operand 84 states and 133 transitions. [2024-11-25 02:16:48,262 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 28 [2024-11-25 02:16:48,262 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 02:16:48,262 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-25 02:16:48,296 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 02:16:49,971 INFO L134 CoverageAnalysis]: Checked inductivity of 3 backedges. 0 proven. 3 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-25 02:16:52,163 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 02:16:52,164 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 156 states to 83 states and 131 transitions. [2024-11-25 02:16:52,164 INFO L276 IsEmpty]: Start isEmpty. Operand 83 states and 131 transitions. [2024-11-25 02:16:52,165 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 33 [2024-11-25 02:16:52,165 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 02:16:52,165 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-25 02:16:52,196 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 02:16:52,479 INFO L134 CoverageAnalysis]: Checked inductivity of 15 backedges. 7 proven. 3 refuted. 0 times theorem prover too weak. 5 trivial. 0 not checked. [2024-11-25 02:16:53,583 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 02:16:53,584 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 162 states to 85 states and 135 transitions. [2024-11-25 02:16:53,584 INFO L276 IsEmpty]: Start isEmpty. Operand 85 states and 135 transitions. [2024-11-25 02:16:53,589 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 39 [2024-11-25 02:16:53,589 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 02:16:53,589 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-25 02:16:53,631 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 02:16:57,617 INFO L134 CoverageAnalysis]: Checked inductivity of 15 backedges. 0 proven. 12 refuted. 0 times theorem prover too weak. 3 trivial. 0 not checked. [2024-11-25 02:17:08,730 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 02:17:08,731 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 213 states to 92 states and 151 transitions. [2024-11-25 02:17:08,731 INFO L276 IsEmpty]: Start isEmpty. Operand 92 states and 151 transitions. [2024-11-25 02:17:08,735 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 41 [2024-11-25 02:17:08,737 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 02:17:08,737 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-25 02:17:08,766 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 02:17:08,984 INFO L134 CoverageAnalysis]: Checked inductivity of 6 backedges. 3 proven. 0 refuted. 0 times theorem prover too weak. 3 trivial. 0 not checked. [2024-11-25 02:17:09,218 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 02:17:09,222 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 214 states to 94 states and 152 transitions. [2024-11-25 02:17:09,222 INFO L276 IsEmpty]: Start isEmpty. Operand 94 states and 152 transitions. [2024-11-25 02:17:09,224 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 42 [2024-11-25 02:17:09,227 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 02:17:09,227 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-25 02:17:09,256 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 02:17:09,803 INFO L134 CoverageAnalysis]: Checked inductivity of 6 backedges. 1 proven. 2 refuted. 0 times theorem prover too weak. 3 trivial. 0 not checked. [2024-11-25 02:17:11,153 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 02:17:11,154 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 221 states to 100 states and 159 transitions. [2024-11-25 02:17:11,154 INFO L276 IsEmpty]: Start isEmpty. Operand 100 states and 159 transitions. [2024-11-25 02:17:11,155 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 52 [2024-11-25 02:17:11,155 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 02:17:11,156 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-25 02:17:11,212 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 02:17:17,067 INFO L134 CoverageAnalysis]: Checked inductivity of 42 backedges. 0 proven. 28 refuted. 0 times theorem prover too weak. 14 trivial. 0 not checked. [2024-11-25 02:17:23,948 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 02:17:23,949 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 263 states to 107 states and 177 transitions. [2024-11-25 02:17:23,949 INFO L276 IsEmpty]: Start isEmpty. Operand 107 states and 177 transitions. [2024-11-25 02:17:23,950 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 53 [2024-11-25 02:17:23,950 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 02:17:23,951 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-25 02:17:24,125 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-25 02:17:24,125 INFO L357 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-25 02:17:24,241 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-25 02:17:24,912 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-25 02:17:24,913 INFO L357 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-25 02:17:25,154 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-25 02:17:25,226 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 13 iterations. [2024-11-25 02:17:25,272 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 25.11 02:17:25 ImpRootNode [2024-11-25 02:17:25,273 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-25 02:17:25,273 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-25 02:17:25,273 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-25 02:17:25,274 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-25 02:17:25,274 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 25.11 02:16:33" (3/4) ... [2024-11-25 02:17:25,275 INFO L140 WitnessPrinter]: Generating witness for reachability counterexample [2024-11-25 02:17:25,355 INFO L129 tionWitnessGenerator]: Generated YAML witness of length 47. [2024-11-25 02:17:25,441 INFO L149 WitnessManager]: Wrote witness to /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_28d6e694-121d-4239-bd2a-87d1d5f6496d/bin/ukojak-verify-ENZ3QT5qd3/witness.graphml [2024-11-25 02:17:25,441 INFO L149 WitnessManager]: Wrote witness to /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_28d6e694-121d-4239-bd2a-87d1d5f6496d/bin/ukojak-verify-ENZ3QT5qd3/witness.yml [2024-11-25 02:17:25,441 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-25 02:17:25,442 INFO L158 Benchmark]: Toolchain (without parser) took 52838.67ms. Allocated memory was 117.4MB in the beginning and 419.4MB in the end (delta: 302.0MB). Free memory was 91.6MB in the beginning and 223.2MB in the end (delta: -131.6MB). Peak memory consumption was 171.4MB. Max. memory is 16.1GB. [2024-11-25 02:17:25,443 INFO L158 Benchmark]: CDTParser took 0.28ms. Allocated memory is still 117.4MB. Free memory is still 74.7MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-25 02:17:25,443 INFO L158 Benchmark]: CACSL2BoogieTranslator took 518.30ms. Allocated memory is still 117.4MB. Free memory was 91.4MB in the beginning and 70.6MB in the end (delta: 20.7MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-11-25 02:17:25,443 INFO L158 Benchmark]: Boogie Procedure Inliner took 53.30ms. Allocated memory is still 117.4MB. Free memory was 70.6MB in the beginning and 68.4MB in the end (delta: 2.2MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-25 02:17:25,443 INFO L158 Benchmark]: Boogie Preprocessor took 36.65ms. Allocated memory is still 117.4MB. Free memory was 68.4MB in the beginning and 66.2MB in the end (delta: 2.2MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-25 02:17:25,444 INFO L158 Benchmark]: RCFGBuilder took 665.33ms. Allocated memory is still 117.4MB. Free memory was 66.2MB in the beginning and 86.7MB in the end (delta: -20.5MB). Peak memory consumption was 39.6MB. Max. memory is 16.1GB. [2024-11-25 02:17:25,444 INFO L158 Benchmark]: CodeCheck took 51390.64ms. Allocated memory was 117.4MB in the beginning and 419.4MB in the end (delta: 302.0MB). Free memory was 86.7MB in the beginning and 230.1MB in the end (delta: -143.3MB). Peak memory consumption was 156.9MB. Max. memory is 16.1GB. [2024-11-25 02:17:25,445 INFO L158 Benchmark]: Witness Printer took 168.12ms. Allocated memory is still 419.4MB. Free memory was 230.1MB in the beginning and 223.2MB in the end (delta: 6.8MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-11-25 02:17:25,446 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck: - StatisticsResult: Ultimate CodeCheck benchmark data CFG has 6 procedures, 55 locations, 3 error locations. Started 1 CEGAR loops. OverallTime: 51.3s, OverallIterations: 13, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 1380 SdHoareTripleChecker+Valid, 9.3s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 439 mSDsluCounter, 1166 SdHoareTripleChecker+Invalid, 8.3s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 543 mSDsCounter, 727 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 3207 IncrementalHoareTripleChecker+Invalid, 3934 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 727 mSolverCounterUnsat, 623 mSDtfsCounter, 3207 mSolverCounterSat, 0.1s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 3814 GetRequests, 3475 SyntacticMatches, 89 SemanticMatches, 250 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 23412 ImplicationChecksByTransitivity, 37.2s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.1s SsaConstructionTime, 0.8s SatisfiabilityAnalysisTime, 17.1s InterpolantComputationTime, 378 NumberOfCodeBlocks, 378 NumberOfCodeBlocksAsserted, 13 NumberOfCheckSat, 314 ConstructedInterpolants, 0 QuantifiedInterpolants, 13433 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 12 InterpolantComputations, 5 PerfectInterpolantSequences, 40/90 InterpolantCoveringCapability, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: No data available, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: No data available, ReuseStatistics: No data available, ConComCheckerStatistics: No data available - CounterExampleResult [Line: 681]: a call to reach_error is reachable a call to reach_error is reachable We found a FailurePath: [L669] struct ldv_list_head mutexes = { &(mutexes), &(mutexes) }; [L687] struct ldv_list_head drvlist = { &(drvlist), &(drvlist) }; [L709] CALL foo() [L690] FCALL ldv_initialize() [L691] int i; [L692] int N = __VERIFIER_nondet_int(); [L693] i=0 VAL [N=1, drvlist={4:0}, i=0, mutexes={3:0}] [L693] COND TRUE ilist, &drvlist) VAL [\old(head)={4:0}, \old(new)={9:8}, drvlist={4:0}, mutexes={3:0}] [L612] EXPR head->next VAL [\old(head)={4:0}, \old(new)={9:8}, drvlist={4:0}, head={4:0}, mutexes={3:0}, new={9:8}] [L612] CALL __ldv_list_add(new, head, head->next) VAL [\old(new)={9:8}, \old(next)={4:0}, \old(prev)={4:0}, drvlist={4:0}, mutexes={3:0}] [L600] next->prev = new [L601] new->next = next [L602] new->prev = prev [L603] prev->next = new [L612] RET __ldv_list_add(new, head, head->next) VAL [\old(head)={4:0}, \old(new)={9:8}, drvlist={4:0}, head={4:0}, mutexes={3:0}, new={9:8}] [L695] RET ldv_list_add(&me->list, &drvlist) VAL [N=1, drvlist={4:0}, i=0, me={9:0}, mutexes={3:0}] [L693] i++ VAL [N=1, drvlist={4:0}, i=1, mutexes={3:0}] [L693] COND FALSE !(inext [L698] const typeof( ((typeof(*me) *)0)->list ) *__mptr = ((&drvlist)->next); [L698] { const typeof( ((typeof(*me) *)0)->list ) *__mptr = ((&drvlist)->next); (typeof(*me) *)( (char *)__mptr - ((size_t) &((typeof(*me) *)0)->list) );} [L698] me = ({ const typeof( ((typeof(*me) *)0)->list ) *__mptr = ((&drvlist)->next); (typeof(*me) *)( (char *)__mptr - ((size_t) &((typeof(*me) *)0)->list) );}) [L698] COND TRUE &me->list != (&drvlist) [L699] CALL mutex_lock(&me->m) [L673] CALL ldv_is_in_set(m, &mutexes) VAL [\old(e)={9:0}, \old(s)={3:0}, drvlist={4:0}, mutexes={3:0}] [L658] struct ldv_list_element *m; [L659] EXPR (s)->next [L659] const typeof( ((typeof(*m) *)0)->list ) *__mptr = ((s)->next); [L659] { const typeof( ((typeof(*m) *)0)->list ) *__mptr = ((s)->next); (typeof(*m) *)( (char *)__mptr - ((size_t) &((typeof(*m) *)0)->list) );} [L659] m = ({ const typeof( ((typeof(*m) *)0)->list ) *__mptr = ((s)->next); (typeof(*m) *)( (char *)__mptr - ((size_t) &((typeof(*m) *)0)->list) );}) [L659] COND FALSE !(&m->list != (s)) [L664] return 0; VAL [\old(e)={9:0}, \old(s)={3:0}, \result=0, drvlist={4:0}, e={9:0}, mutexes={3:0}] [L673] RET ldv_is_in_set(m, &mutexes) VAL [drvlist={4:0}, m={9:0}, mutexes={3:0}] [L673] COND FALSE !(ldv_is_in_set(m, &mutexes)) [L674] CALL ldv_set_add(m, &mutexes) [L640] CALL, EXPR ldv_is_in_set(new, s) VAL [\old(e)={9:0}, \old(s)={3:0}, drvlist={4:0}, mutexes={3:0}] [L658] struct ldv_list_element *m; [L659] EXPR (s)->next [L659] const typeof( ((typeof(*m) *)0)->list ) *__mptr = ((s)->next); [L659] { const typeof( ((typeof(*m) *)0)->list ) *__mptr = ((s)->next); (typeof(*m) *)( (char *)__mptr - ((size_t) &((typeof(*m) *)0)->list) );} [L659] m = ({ const typeof( ((typeof(*m) *)0)->list ) *__mptr = ((s)->next); (typeof(*m) *)( (char *)__mptr - ((size_t) &((typeof(*m) *)0)->list) );}) [L659] COND FALSE !(&m->list != (s)) [L664] return 0; VAL [\old(e)={9:0}, \old(s)={3:0}, \result=0, drvlist={4:0}, e={9:0}, mutexes={3:0}] [L640] RET, EXPR ldv_is_in_set(new, s) VAL [drvlist={4:0}, mutexes={3:0}, new={9:0}, s={3:0}] [L640] COND TRUE !ldv_is_in_set(new, s) [L641] struct ldv_list_element *le; VAL [drvlist={4:0}, mutexes={3:0}, new={9:0}, s={3:0}] [L642] CALL, EXPR ldv_successful_malloc(sizeof(struct ldv_list_element)) VAL [drvlist={4:0}, mutexes={3:0}] [L580] void *ptr = malloc(size); [L581] CALL assume_abort_if_not(ptr!=0) [L569] COND FALSE !(!cond) [L581] RET assume_abort_if_not(ptr!=0) [L582] return ptr; [L642] RET, EXPR ldv_successful_malloc(sizeof(struct ldv_list_element)) VAL [drvlist={4:0}, mutexes={3:0}, new={9:0}, s={3:0}] [L642] le = (struct ldv_list_element*)ldv_successful_malloc(sizeof(struct ldv_list_element)) [L643] le->e = new VAL [drvlist={4:0}, le={-1:0}, mutexes={3:0}, s={3:0}] [L644] CALL ldv_list_add(&le->list, s) VAL [\old(head)={3:0}, \old(new)={-1:4}, drvlist={4:0}, mutexes={3:0}] [L612] EXPR head->next VAL [\old(head)={3:0}, \old(new)={-1:4}, drvlist={4:0}, head={3:0}, mutexes={3:0}, new={-1:4}] [L612] CALL __ldv_list_add(new, head, head->next) VAL [\old(new)={-1:4}, \old(next)={3:0}, \old(prev)={3:0}, drvlist={4:0}, mutexes={3:0}] [L600] next->prev = new [L601] new->next = next [L602] new->prev = prev [L603] prev->next = new [L612] RET __ldv_list_add(new, head, head->next) VAL [\old(head)={3:0}, \old(new)={-1:4}, drvlist={4:0}, head={3:0}, mutexes={3:0}, new={-1:4}] [L644] RET ldv_list_add(&le->list, s) VAL [drvlist={4:0}, le={-1:0}, mutexes={3:0}, s={3:0}] [L674] RET ldv_set_add(m, &mutexes) [L699] RET mutex_lock(&me->m) [L700] CALL ldv_list_del(&me->list) VAL [drvlist={4:0}, mutexes={3:0}] [L620] EXPR entry->prev [L620] EXPR entry->next [L620] CALL __ldv_list_del(entry->prev, entry->next) [L607] next->prev = prev [L608] prev->next = next [L620] RET __ldv_list_del(entry->prev, entry->next) [L700] RET ldv_list_del(&me->list) VAL [drvlist={4:0}, me={9:0}, mutexes={3:0}] [L698] EXPR (me)->list.next [L698] const typeof( ((typeof(*(me)) *)0)->list ) *__mptr = ((me)->list.next); [L698] { const typeof( ((typeof(*(me)) *)0)->list ) *__mptr = ((me)->list.next); (typeof(*(me)) *)( (char *)__mptr - ((size_t) &((typeof(*(me)) *)0)->list) );} [L698] me = ({ const typeof( ((typeof(*(me)) *)0)->list ) *__mptr = ((me)->list.next); (typeof(*(me)) *)( (char *)__mptr - ((size_t) &((typeof(*(me)) *)0)->list) );}) [L698] COND FALSE !(&me->list != (&drvlist)) [L702] EXPR (&drvlist)->next [L702] const typeof( ((typeof(*me) *)0)->list ) *__mptr = ((&drvlist)->next); [L702] { const typeof( ((typeof(*me) *)0)->list ) *__mptr = ((&drvlist)->next); (typeof(*me) *)( (char *)__mptr - ((size_t) &((typeof(*me) *)0)->list) );} [L702] me = ({ const typeof( ((typeof(*me) *)0)->list ) *__mptr = ((&drvlist)->next); (typeof(*me) *)( (char *)__mptr - ((size_t) &((typeof(*me) *)0)->list) );}) [L702] COND FALSE !(&me->list != (&drvlist)) [L705] CALL ldv_check_final_state() [L681] CALL, EXPR ldv_set_empty(&mutexes) [L667] CALL, EXPR ldv_list_empty(s) [L624] EXPR head->next [L624] return head->next == head; [L667] RET, EXPR ldv_list_empty(s) [L667] return ldv_list_empty(s); [L681] RET, EXPR ldv_set_empty(&mutexes) [L681] COND TRUE !ldv_set_empty(&mutexes) [L681] reach_error() VAL [drvlist={4:0}, mutexes={3:0}] * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.28ms. Allocated memory is still 117.4MB. Free memory is still 74.7MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 518.30ms. Allocated memory is still 117.4MB. Free memory was 91.4MB in the beginning and 70.6MB in the end (delta: 20.7MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 53.30ms. Allocated memory is still 117.4MB. Free memory was 70.6MB in the beginning and 68.4MB in the end (delta: 2.2MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 36.65ms. Allocated memory is still 117.4MB. Free memory was 68.4MB in the beginning and 66.2MB in the end (delta: 2.2MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 665.33ms. Allocated memory is still 117.4MB. Free memory was 66.2MB in the beginning and 86.7MB in the end (delta: -20.5MB). Peak memory consumption was 39.6MB. Max. memory is 16.1GB. * CodeCheck took 51390.64ms. Allocated memory was 117.4MB in the beginning and 419.4MB in the end (delta: 302.0MB). Free memory was 86.7MB in the beginning and 230.1MB in the end (delta: -143.3MB). Peak memory consumption was 156.9MB. Max. memory is 16.1GB. * Witness Printer took 168.12ms. Allocated memory is still 419.4MB. Free memory was 230.1MB in the beginning and 223.2MB in the end (delta: 6.8MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. RESULT: Ultimate proved your program to be incorrect! [2024-11-25 02:17:25,470 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_28d6e694-121d-4239-bd2a-87d1d5f6496d/bin/ukojak-verify-ENZ3QT5qd3/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Ended with exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Writing human readable error path to file UltimateCounterExample.errorpath Result: FALSE