./Ultimate.py --spec ../../sv-benchmarks/c/properties/unreach-call.prp --file ../../sv-benchmarks/c/ldv-sets/test_mutex_double_lock.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for ERROR reachability Using default analysis Version 53f42b1a Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84e9c382-3fef-4c46-beb4-c7e9b46d322d/bin/ukojak-vF6T2TMglN/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84e9c382-3fef-4c46-beb4-c7e9b46d322d/bin/ukojak-vF6T2TMglN/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84e9c382-3fef-4c46-beb4-c7e9b46d322d/bin/ukojak-vF6T2TMglN/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84e9c382-3fef-4c46-beb4-c7e9b46d322d/bin/ukojak-vF6T2TMglN/config/KojakReach.xml -i ../../sv-benchmarks/c/ldv-sets/test_mutex_double_lock.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84e9c382-3fef-4c46-beb4-c7e9b46d322d/bin/ukojak-vF6T2TMglN/config/svcomp-Reach-32bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84e9c382-3fef-4c46-beb4-c7e9b46d322d/bin/ukojak-vF6T2TMglN --witnessprinter.witness.filename witness.graphml --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 869ef2ac3e655b6efbdfa5c05d637a0f622008da83d6042d15962fe695aee939 --- Real Ultimate output --- This is Ultimate 0.2.1-dev-53f42b1 [2021-11-21 05:46:56,100 INFO L177 SettingsManager]: Resetting all preferences to default values... [2021-11-21 05:46:56,103 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2021-11-21 05:46:56,143 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2021-11-21 05:46:56,144 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2021-11-21 05:46:56,148 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2021-11-21 05:46:56,150 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2021-11-21 05:46:56,154 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2021-11-21 05:46:56,157 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2021-11-21 05:46:56,163 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2021-11-21 05:46:56,164 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2021-11-21 05:46:56,166 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2021-11-21 05:46:56,167 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2021-11-21 05:46:56,171 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2021-11-21 05:46:56,174 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2021-11-21 05:46:56,180 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2021-11-21 05:46:56,182 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2021-11-21 05:46:56,183 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2021-11-21 05:46:56,187 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2021-11-21 05:46:56,197 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2021-11-21 05:46:56,200 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2021-11-21 05:46:56,201 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2021-11-21 05:46:56,205 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2021-11-21 05:46:56,206 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2021-11-21 05:46:56,215 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2021-11-21 05:46:56,216 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2021-11-21 05:46:56,216 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2021-11-21 05:46:56,219 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2021-11-21 05:46:56,219 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2021-11-21 05:46:56,221 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2021-11-21 05:46:56,222 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2021-11-21 05:46:56,223 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2021-11-21 05:46:56,225 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2021-11-21 05:46:56,227 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2021-11-21 05:46:56,228 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2021-11-21 05:46:56,229 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2021-11-21 05:46:56,230 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2021-11-21 05:46:56,230 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2021-11-21 05:46:56,230 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2021-11-21 05:46:56,231 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2021-11-21 05:46:56,232 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2021-11-21 05:46:56,233 INFO L101 SettingsManager]: Beginning loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84e9c382-3fef-4c46-beb4-c7e9b46d322d/bin/ukojak-vF6T2TMglN/config/svcomp-Reach-32bit-Kojak_Default.epf [2021-11-21 05:46:56,280 INFO L113 SettingsManager]: Loading preferences was successful [2021-11-21 05:46:56,280 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2021-11-21 05:46:56,282 INFO L136 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2021-11-21 05:46:56,282 INFO L138 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2021-11-21 05:46:56,283 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2021-11-21 05:46:56,283 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2021-11-21 05:46:56,283 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2021-11-21 05:46:56,283 INFO L138 SettingsManager]: * sizeof long=4 [2021-11-21 05:46:56,290 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2021-11-21 05:46:56,290 INFO L138 SettingsManager]: * sizeof POINTER=4 [2021-11-21 05:46:56,291 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2021-11-21 05:46:56,292 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2021-11-21 05:46:56,292 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2021-11-21 05:46:56,292 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2021-11-21 05:46:56,293 INFO L138 SettingsManager]: * sizeof long double=12 [2021-11-21 05:46:56,293 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2021-11-21 05:46:56,293 INFO L138 SettingsManager]: * Use constant arrays=true [2021-11-21 05:46:56,293 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2021-11-21 05:46:56,294 INFO L136 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2021-11-21 05:46:56,294 INFO L138 SettingsManager]: * Timeout in seconds=1000000 [2021-11-21 05:46:56,294 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2021-11-21 05:46:56,294 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2021-11-21 05:46:56,295 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2021-11-21 05:46:56,295 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2021-11-21 05:46:56,295 INFO L138 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2021-11-21 05:46:56,295 INFO L138 SettingsManager]: * Trace refinement strategy=PENGUIN [2021-11-21 05:46:56,296 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2021-11-21 05:46:56,296 INFO L138 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2021-11-21 05:46:56,296 INFO L138 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84e9c382-3fef-4c46-beb4-c7e9b46d322d/bin/ukojak-vF6T2TMglN/plugins/com.sun.xml.bind_2.2.0.v201505121915.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84e9c382-3fef-4c46-beb4-c7e9b46d322d/bin/ukojak-vF6T2TMglN Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness.graphml 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 -> 869ef2ac3e655b6efbdfa5c05d637a0f622008da83d6042d15962fe695aee939 [2021-11-21 05:46:56,619 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2021-11-21 05:46:56,643 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2021-11-21 05:46:56,647 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2021-11-21 05:46:56,649 INFO L271 PluginConnector]: Initializing CDTParser... [2021-11-21 05:46:56,650 INFO L275 PluginConnector]: CDTParser initialized [2021-11-21 05:46:56,651 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84e9c382-3fef-4c46-beb4-c7e9b46d322d/bin/ukojak-vF6T2TMglN/../../sv-benchmarks/c/ldv-sets/test_mutex_double_lock.i [2021-11-21 05:46:56,717 INFO L220 CDTParser]: Created temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84e9c382-3fef-4c46-beb4-c7e9b46d322d/bin/ukojak-vF6T2TMglN/data/7358af59c/5fc99bc19f61477c9e12efba75f4443e/FLAG905bd5608 [2021-11-21 05:46:57,283 INFO L306 CDTParser]: Found 1 translation units. [2021-11-21 05:46:57,284 INFO L160 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84e9c382-3fef-4c46-beb4-c7e9b46d322d/sv-benchmarks/c/ldv-sets/test_mutex_double_lock.i [2021-11-21 05:46:57,298 INFO L349 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84e9c382-3fef-4c46-beb4-c7e9b46d322d/bin/ukojak-vF6T2TMglN/data/7358af59c/5fc99bc19f61477c9e12efba75f4443e/FLAG905bd5608 [2021-11-21 05:46:57,568 INFO L357 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84e9c382-3fef-4c46-beb4-c7e9b46d322d/bin/ukojak-vF6T2TMglN/data/7358af59c/5fc99bc19f61477c9e12efba75f4443e [2021-11-21 05:46:57,571 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2021-11-21 05:46:57,572 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2021-11-21 05:46:57,574 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2021-11-21 05:46:57,574 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2021-11-21 05:46:57,578 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2021-11-21 05:46:57,578 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 21.11 05:46:57" (1/1) ... [2021-11-21 05:46:57,580 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@76d633f1 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 05:46:57, skipping insertion in model container [2021-11-21 05:46:57,580 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 21.11 05:46:57" (1/1) ... [2021-11-21 05:46:57,587 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2021-11-21 05:46:57,641 INFO L178 MainTranslator]: Built tables and reachable declarations [2021-11-21 05:46:57,979 WARN L230 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_84e9c382-3fef-4c46-beb4-c7e9b46d322d/sv-benchmarks/c/ldv-sets/test_mutex_double_lock.i[25842,25855] [2021-11-21 05:46:57,984 WARN L230 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_84e9c382-3fef-4c46-beb4-c7e9b46d322d/sv-benchmarks/c/ldv-sets/test_mutex_double_lock.i[25967,25980] [2021-11-21 05:46:57,986 WARN L230 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_84e9c382-3fef-4c46-beb4-c7e9b46d322d/sv-benchmarks/c/ldv-sets/test_mutex_double_lock.i[26082,26095] [2021-11-21 05:46:57,989 INFO L209 PostProcessor]: Analyzing one entry point: main [2021-11-21 05:46:57,998 INFO L203 MainTranslator]: Completed pre-run [2021-11-21 05:46:58,048 WARN L230 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_84e9c382-3fef-4c46-beb4-c7e9b46d322d/sv-benchmarks/c/ldv-sets/test_mutex_double_lock.i[25842,25855] [2021-11-21 05:46:58,049 WARN L230 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_84e9c382-3fef-4c46-beb4-c7e9b46d322d/sv-benchmarks/c/ldv-sets/test_mutex_double_lock.i[25967,25980] [2021-11-21 05:46:58,050 WARN L230 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_84e9c382-3fef-4c46-beb4-c7e9b46d322d/sv-benchmarks/c/ldv-sets/test_mutex_double_lock.i[26082,26095] [2021-11-21 05:46:58,052 INFO L209 PostProcessor]: Analyzing one entry point: main [2021-11-21 05:46:58,088 INFO L208 MainTranslator]: Completed translation [2021-11-21 05:46:58,088 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 05:46:58 WrapperNode [2021-11-21 05:46:58,089 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2021-11-21 05:46:58,090 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2021-11-21 05:46:58,090 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2021-11-21 05:46:58,090 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2021-11-21 05:46:58,098 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 05:46:58" (1/1) ... [2021-11-21 05:46:58,114 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 05:46:58" (1/1) ... [2021-11-21 05:46:58,143 INFO L137 Inliner]: procedures = 139, calls = 57, calls flagged for inlining = 14, calls inlined = 13, statements flattened = 129 [2021-11-21 05:46:58,144 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2021-11-21 05:46:58,145 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2021-11-21 05:46:58,145 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2021-11-21 05:46:58,145 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2021-11-21 05:46:58,153 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 05:46:58" (1/1) ... [2021-11-21 05:46:58,154 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 05:46:58" (1/1) ... [2021-11-21 05:46:58,158 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 05:46:58" (1/1) ... [2021-11-21 05:46:58,159 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 05:46:58" (1/1) ... [2021-11-21 05:46:58,170 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 05:46:58" (1/1) ... [2021-11-21 05:46:58,174 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 05:46:58" (1/1) ... [2021-11-21 05:46:58,177 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 05:46:58" (1/1) ... [2021-11-21 05:46:58,182 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2021-11-21 05:46:58,183 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2021-11-21 05:46:58,183 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2021-11-21 05:46:58,183 INFO L275 PluginConnector]: RCFGBuilder initialized [2021-11-21 05:46:58,188 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 05:46:58" (1/1) ... [2021-11-21 05:46:58,196 INFO L168 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2021-11-21 05:46:58,209 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84e9c382-3fef-4c46-beb4-c7e9b46d322d/bin/ukojak-vF6T2TMglN/z3 [2021-11-21 05:46:58,222 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84e9c382-3fef-4c46-beb4-c7e9b46d322d/bin/ukojak-vF6T2TMglN/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2021-11-21 05:46:58,230 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84e9c382-3fef-4c46-beb4-c7e9b46d322d/bin/ukojak-vF6T2TMglN/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2021-11-21 05:46:58,265 INFO L130 BoogieDeclarations]: Found specification of procedure __ldv_list_add [2021-11-21 05:46:58,265 INFO L138 BoogieDeclarations]: Found implementation of procedure __ldv_list_add [2021-11-21 05:46:58,265 INFO L130 BoogieDeclarations]: Found specification of procedure mutex_unlock [2021-11-21 05:46:58,268 INFO L138 BoogieDeclarations]: Found implementation of procedure mutex_unlock [2021-11-21 05:46:58,269 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2021-11-21 05:46:58,269 INFO L130 BoogieDeclarations]: Found specification of procedure mutex_lock [2021-11-21 05:46:58,269 INFO L138 BoogieDeclarations]: Found implementation of procedure mutex_lock [2021-11-21 05:46:58,277 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2021-11-21 05:46:58,277 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$ [2021-11-21 05:46:58,277 INFO L130 BoogieDeclarations]: Found specification of procedure ldv_is_in_set [2021-11-21 05:46:58,278 INFO L138 BoogieDeclarations]: Found implementation of procedure ldv_is_in_set [2021-11-21 05:46:58,278 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$ [2021-11-21 05:46:58,278 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2021-11-21 05:46:58,278 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~$Pointer$ [2021-11-21 05:46:58,278 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2021-11-21 05:46:58,278 INFO L130 BoogieDeclarations]: Found specification of procedure ldv_successful_malloc [2021-11-21 05:46:58,278 INFO L138 BoogieDeclarations]: Found implementation of procedure ldv_successful_malloc [2021-11-21 05:46:58,279 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2021-11-21 05:46:58,279 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2021-11-21 05:46:58,396 INFO L236 CfgBuilder]: Building ICFG [2021-11-21 05:46:58,398 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2021-11-21 05:46:58,715 INFO L277 CfgBuilder]: Performing block encoding [2021-11-21 05:46:58,854 INFO L296 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2021-11-21 05:46:58,855 INFO L301 CfgBuilder]: Removed 2 assume(true) statements. [2021-11-21 05:46:58,857 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 21.11 05:46:58 BoogieIcfgContainer [2021-11-21 05:46:58,858 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2021-11-21 05:46:58,859 INFO L113 PluginConnector]: ------------------------CodeCheck---------------------------- [2021-11-21 05:46:58,859 INFO L271 PluginConnector]: Initializing CodeCheck... [2021-11-21 05:46:58,869 INFO L275 PluginConnector]: CodeCheck initialized [2021-11-21 05:46:58,869 INFO L185 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 21.11 05:46:58" (1/1) ... [2021-11-21 05:46:58,883 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-11-21 05:46:58,966 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2021-11-21 05:46:58,976 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 61 states to 49 states and 61 transitions. [2021-11-21 05:46:58,977 INFO L276 IsEmpty]: Start isEmpty. Operand 49 states and 61 transitions. [2021-11-21 05:46:58,982 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 20 [2021-11-21 05:46:58,982 INFO L422 CodeCheckObserver]: Error Path is FOUND. [2021-11-21 05:46:58,984 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-11-21 05:46:59,146 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-11-21 05:46:59,327 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2021-11-21 05:46:59,405 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2021-11-21 05:46:59,408 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 65 states to 53 states and 65 transitions. [2021-11-21 05:46:59,408 INFO L276 IsEmpty]: Start isEmpty. Operand 53 states and 65 transitions. [2021-11-21 05:46:59,409 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 21 [2021-11-21 05:46:59,409 INFO L422 CodeCheckObserver]: Error Path is FOUND. [2021-11-21 05:46:59,410 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-11-21 05:46:59,465 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-11-21 05:46:59,776 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2021-11-21 05:47:00,099 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2021-11-21 05:47:00,107 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 87 states to 59 states and 80 transitions. [2021-11-21 05:47:00,107 INFO L276 IsEmpty]: Start isEmpty. Operand 59 states and 80 transitions. [2021-11-21 05:47:00,108 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 23 [2021-11-21 05:47:00,108 INFO L422 CodeCheckObserver]: Error Path is FOUND. [2021-11-21 05:47:00,109 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-11-21 05:47:00,137 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-11-21 05:47:00,528 INFO L134 CoverageAnalysis]: Checked inductivity of 4 backedges. 0 proven. 2 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2021-11-21 05:47:01,340 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2021-11-21 05:47:01,343 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 98 states to 62 states and 91 transitions. [2021-11-21 05:47:01,344 INFO L276 IsEmpty]: Start isEmpty. Operand 62 states and 91 transitions. [2021-11-21 05:47:01,345 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 25 [2021-11-21 05:47:01,345 INFO L422 CodeCheckObserver]: Error Path is FOUND. [2021-11-21 05:47:01,346 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-11-21 05:47:01,365 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-11-21 05:47:01,514 INFO L134 CoverageAnalysis]: Checked inductivity of 8 backedges. 0 proven. 5 refuted. 0 times theorem prover too weak. 3 trivial. 0 not checked. [2021-11-21 05:47:01,819 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2021-11-21 05:47:01,820 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 87 states to 58 states and 80 transitions. [2021-11-21 05:47:01,821 INFO L276 IsEmpty]: Start isEmpty. Operand 58 states and 80 transitions. [2021-11-21 05:47:01,823 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 40 [2021-11-21 05:47:01,823 INFO L422 CodeCheckObserver]: Error Path is FOUND. [2021-11-21 05:47:01,823 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-11-21 05:47:01,854 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-11-21 05:47:01,910 INFO L134 CoverageAnalysis]: Checked inductivity of 18 backedges. 6 proven. 2 refuted. 0 times theorem prover too weak. 10 trivial. 0 not checked. [2021-11-21 05:47:01,976 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2021-11-21 05:47:01,980 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 88 states to 60 states and 81 transitions. [2021-11-21 05:47:01,980 INFO L276 IsEmpty]: Start isEmpty. Operand 60 states and 81 transitions. [2021-11-21 05:47:01,985 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 41 [2021-11-21 05:47:01,986 INFO L422 CodeCheckObserver]: Error Path is FOUND. [2021-11-21 05:47:01,987 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-11-21 05:47:02,018 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-11-21 05:47:02,397 INFO L134 CoverageAnalysis]: Checked inductivity of 19 backedges. 7 proven. 4 refuted. 0 times theorem prover too weak. 8 trivial. 0 not checked. [2021-11-21 05:47:03,160 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2021-11-21 05:47:03,162 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 103 states to 68 states and 94 transitions. [2021-11-21 05:47:03,162 INFO L276 IsEmpty]: Start isEmpty. Operand 68 states and 94 transitions. [2021-11-21 05:47:03,164 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 48 [2021-11-21 05:47:03,164 INFO L422 CodeCheckObserver]: Error Path is FOUND. [2021-11-21 05:47:03,164 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-11-21 05:47:03,202 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-11-21 05:47:03,202 INFO L355 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-11-21 05:47:03,234 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-11-21 05:47:03,394 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-11-21 05:47:03,394 INFO L355 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-11-21 05:47:03,432 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-11-21 05:47:03,534 WARN L475 CodeCheckObserver]: This program is UNSAFE, Check terminated with 7 iterations. [2021-11-21 05:47:03,645 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 21.11 05:47:03 ImpRootNode [2021-11-21 05:47:03,645 INFO L132 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2021-11-21 05:47:03,646 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2021-11-21 05:47:03,646 INFO L271 PluginConnector]: Initializing Witness Printer... [2021-11-21 05:47:03,646 INFO L275 PluginConnector]: Witness Printer initialized [2021-11-21 05:47:03,647 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 21.11 05:46:58" (3/4) ... [2021-11-21 05:47:03,648 INFO L131 WitnessPrinter]: Generating witness for reachability counterexample [2021-11-21 05:47:03,777 INFO L141 WitnessManager]: Wrote witness to /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84e9c382-3fef-4c46-beb4-c7e9b46d322d/bin/ukojak-vF6T2TMglN/witness.graphml [2021-11-21 05:47:03,777 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2021-11-21 05:47:03,778 INFO L158 Benchmark]: Toolchain (without parser) took 6205.68ms. Allocated memory was 90.2MB in the beginning and 138.4MB in the end (delta: 48.2MB). Free memory was 52.7MB in the beginning and 61.7MB in the end (delta: -9.0MB). Peak memory consumption was 38.9MB. Max. memory is 16.1GB. [2021-11-21 05:47:03,779 INFO L158 Benchmark]: CDTParser took 0.28ms. Allocated memory is still 90.2MB. Free memory was 70.9MB in the beginning and 70.8MB in the end (delta: 92.4kB). There was no memory consumed. Max. memory is 16.1GB. [2021-11-21 05:47:03,780 INFO L158 Benchmark]: CACSL2BoogieTranslator took 515.08ms. Allocated memory was 90.2MB in the beginning and 113.2MB in the end (delta: 23.1MB). Free memory was 52.5MB in the beginning and 79.9MB in the end (delta: -27.4MB). Peak memory consumption was 6.3MB. Max. memory is 16.1GB. [2021-11-21 05:47:03,780 INFO L158 Benchmark]: Boogie Procedure Inliner took 54.06ms. Allocated memory is still 113.2MB. Free memory was 79.9MB in the beginning and 77.8MB in the end (delta: 2.1MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2021-11-21 05:47:03,781 INFO L158 Benchmark]: Boogie Preprocessor took 37.39ms. Allocated memory is still 113.2MB. Free memory was 77.8MB in the beginning and 75.7MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2021-11-21 05:47:03,781 INFO L158 Benchmark]: RCFGBuilder took 675.25ms. Allocated memory is still 113.2MB. Free memory was 75.7MB in the beginning and 53.7MB in the end (delta: 22.0MB). Peak memory consumption was 21.0MB. Max. memory is 16.1GB. [2021-11-21 05:47:03,782 INFO L158 Benchmark]: CodeCheck took 4786.77ms. Allocated memory was 113.2MB in the beginning and 138.4MB in the end (delta: 25.2MB). Free memory was 53.7MB in the beginning and 65.9MB in the end (delta: -12.1MB). Peak memory consumption was 15.6MB. Max. memory is 16.1GB. [2021-11-21 05:47:03,783 INFO L158 Benchmark]: Witness Printer took 131.60ms. Allocated memory is still 138.4MB. Free memory was 65.9MB in the beginning and 61.7MB in the end (delta: 4.2MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2021-11-21 05:47:03,786 INFO L339 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, 49 locations, 3 error locations. Started 1 CEGAR loops. OverallTime: 4.6s, OverallIterations: 7, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, PartialOrderReductionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 478 SdHoareTripleChecker+Valid, 1.0s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 132 mSDsluCounter, 348 SdHoareTripleChecker+Invalid, 0.8s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 80 mSDsCounter, 98 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 476 IncrementalHoareTripleChecker+Invalid, 574 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 98 mSolverCounterUnsat, 272 mSDtfsCounter, 476 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 1291 GetRequests, 1207 SyntacticMatches, 28 SemanticMatches, 56 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 888 ImplicationChecksByTransitivity, 2.4s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.1s SsaConstructionTime, 0.3s SatisfiabilityAnalysisTime, 1.5s InterpolantComputationTime, 211 NumberOfCodeBlocks, 211 NumberOfCodeBlocksAsserted, 7 NumberOfCheckSat, 158 ConstructedInterpolants, 0 QuantifiedInterpolants, 1540 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 6 InterpolantComputations, 2 PerfectInterpolantSequences, 40/53 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 - CounterExampleResult [Line: 669]: a call to reach_error is reachable a call to reach_error is reachable We found a FailurePath: [L665] struct ldv_list_head mutexes = { &(mutexes), &(mutexes) }; [L692] CALL foo() [L681] FCALL ldv_initialize() [L682] CALL, EXPR ldv_successful_malloc(sizeof(struct mutex)) VAL [mutexes={3:0}] [L576] void *ptr = malloc(size); [L577] CALL assume_abort_if_not(ptr!=0) [L565] COND FALSE !(!cond) [L577] RET assume_abort_if_not(ptr!=0) [L578] return ptr; [L682] RET, EXPR ldv_successful_malloc(sizeof(struct mutex)) VAL [ldv_successful_malloc(sizeof(struct mutex))={17949:0}, mutexes={3:0}] [L682] struct mutex *m1 = ldv_successful_malloc(sizeof(struct mutex)); [L683] CALL, EXPR ldv_successful_malloc(sizeof(struct mutex)) VAL [mutexes={3:0}] [L576] void *ptr = malloc(size); [L577] CALL assume_abort_if_not(ptr!=0) [L565] COND FALSE !(!cond) [L577] RET assume_abort_if_not(ptr!=0) [L578] return ptr; [L683] RET, EXPR ldv_successful_malloc(sizeof(struct mutex)) VAL [ldv_successful_malloc(sizeof(struct mutex))={17948:0}, m1={17949:0}, mutexes={3:0}] [L683] struct mutex *m2 = ldv_successful_malloc(sizeof(struct mutex)); [L684] CALL mutex_lock(m1) VAL [mutexes={3:0}] [L669] CALL ldv_is_in_set(m, &mutexes) VAL [e={17949:0}, mutexes={3:0}, s={3:0}] [L654] struct ldv_list_element *m; [L655] EXPR (s)->next [L655] const typeof( ((typeof(*m) *)0)->list ) *__mptr = ((s)->next); [L655] m = ({ const typeof( ((typeof(*m) *)0)->list ) *__mptr = ((s)->next); (typeof(*m) *)( (char *)__mptr - ((size_t) &((typeof(*m) *)0)->list) );}) VAL [__mptr={3:0}, e={17949:0}, e={17949:0}, m={3:-4}, mutexes={3:0}, s={3:0}, s={3:0}] [L655] COND FALSE !(&m->list != (s)) [L660] return 0; VAL [\result=0, __mptr={3:0}, e={17949:0}, e={17949:0}, m={3:-4}, mutexes={3:0}, s={3:0}, s={3:0}] [L669] RET ldv_is_in_set(m, &mutexes) VAL [ldv_is_in_set(m, &mutexes)=0, m={17949:0}, m={17949:0}, mutexes={3:0}] [L669] COND FALSE !(ldv_is_in_set(m, &mutexes)) [L670] CALL ldv_set_add(m, &mutexes) [L636] CALL, EXPR ldv_is_in_set(new, s) VAL [e={17949:0}, mutexes={3:0}, s={3:0}] [L654] struct ldv_list_element *m; [L655] EXPR (s)->next [L655] const typeof( ((typeof(*m) *)0)->list ) *__mptr = ((s)->next); [L655] m = ({ const typeof( ((typeof(*m) *)0)->list ) *__mptr = ((s)->next); (typeof(*m) *)( (char *)__mptr - ((size_t) &((typeof(*m) *)0)->list) );}) VAL [__mptr={3:0}, e={17949:0}, e={17949:0}, m={3:-4}, mutexes={3:0}, s={3:0}, s={3:0}] [L655] COND FALSE !(&m->list != (s)) [L660] return 0; VAL [\result=0, __mptr={3:0}, e={17949:0}, e={17949:0}, m={3:-4}, mutexes={3:0}, s={3:0}, s={3:0}] [L636] RET, EXPR ldv_is_in_set(new, s) VAL [ldv_is_in_set(new, s)=0, mutexes={3:0}, new={17949:0}, new={17949:0}, s={3:0}, s={3:0}] [L636] COND TRUE !ldv_is_in_set(new, s) [L637] struct ldv_list_element *le; VAL [mutexes={3:0}, new={17949:0}, new={17949:0}, s={3:0}, s={3:0}] [L638] CALL, EXPR ldv_successful_malloc(sizeof(struct ldv_list_element)) VAL [mutexes={3:0}] [L576] void *ptr = malloc(size); [L577] CALL assume_abort_if_not(ptr!=0) [L565] COND FALSE !(!cond) [L577] RET assume_abort_if_not(ptr!=0) [L578] return ptr; [L638] RET, EXPR ldv_successful_malloc(sizeof(struct ldv_list_element)) VAL [ldv_successful_malloc(sizeof(struct ldv_list_element))={17947:0}, mutexes={3:0}, new={17949:0}, new={17949:0}, s={3:0}, s={3:0}] [L638] le = (struct ldv_list_element*)ldv_successful_malloc(sizeof(struct ldv_list_element)) [L639] le->e = new [L640] CALL ldv_list_add(&le->list, s) [L608] EXPR head->next VAL [head={3:0}, head={3:0}, head->next={3:0}, mutexes={3:0}, new={17947:4}, new={17947:4}] [L608] CALL __ldv_list_add(new, head, head->next) VAL [mutexes={3:0}, new={17947:4}, next={3:0}, prev={3:0}] [L596] next->prev = new [L597] new->next = next [L598] new->prev = prev [L599] prev->next = new [L608] RET __ldv_list_add(new, head, head->next) VAL [head={3:0}, head={3:0}, head->next={3:0}, mutexes={3:0}, new={17947:4}, new={17947:4}] [L640] RET ldv_list_add(&le->list, s) [L670] RET ldv_set_add(m, &mutexes) [L684] RET mutex_lock(m1) VAL [m1={17949:0}, m2={17948:0}, mutexes={3:0}] [L685] CALL mutex_lock(m1) VAL [mutexes={3:0}] [L669] CALL ldv_is_in_set(m, &mutexes) VAL [e={17949:0}, mutexes={3:0}, s={3:0}] [L654] struct ldv_list_element *m; [L655] EXPR (s)->next [L655] const typeof( ((typeof(*m) *)0)->list ) *__mptr = ((s)->next); [L655] m = ({ const typeof( ((typeof(*m) *)0)->list ) *__mptr = ((s)->next); (typeof(*m) *)( (char *)__mptr - ((size_t) &((typeof(*m) *)0)->list) );}) VAL [__mptr={17947:4}, e={17949:0}, e={17949:0}, m={17947:0}, mutexes={3:0}, s={3:0}, s={3:0}] [L655] COND TRUE &m->list != (s) [L656] EXPR m->e VAL [__mptr={17947:4}, e={17949:0}, e={17949:0}, m={17947:0}, m->e={17949:0}, mutexes={3:0}, s={3:0}, s={3:0}] [L656] COND TRUE m->e == e [L657] return 1; VAL [\result=1, __mptr={17947:4}, e={17949:0}, e={17949:0}, m={17947:0}, mutexes={3:0}, s={3:0}, s={3:0}] [L669] RET ldv_is_in_set(m, &mutexes) VAL [ldv_is_in_set(m, &mutexes)=1, m={17949:0}, m={17949:0}, mutexes={3:0}] [L669] COND TRUE ldv_is_in_set(m, &mutexes) [L669] reach_error() VAL [m={17949:0}, m={17949: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 90.2MB. Free memory was 70.9MB in the beginning and 70.8MB in the end (delta: 92.4kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 515.08ms. Allocated memory was 90.2MB in the beginning and 113.2MB in the end (delta: 23.1MB). Free memory was 52.5MB in the beginning and 79.9MB in the end (delta: -27.4MB). Peak memory consumption was 6.3MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 54.06ms. Allocated memory is still 113.2MB. Free memory was 79.9MB in the beginning and 77.8MB in the end (delta: 2.1MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * Boogie Preprocessor took 37.39ms. Allocated memory is still 113.2MB. Free memory was 77.8MB in the beginning and 75.7MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 675.25ms. Allocated memory is still 113.2MB. Free memory was 75.7MB in the beginning and 53.7MB in the end (delta: 22.0MB). Peak memory consumption was 21.0MB. Max. memory is 16.1GB. * CodeCheck took 4786.77ms. Allocated memory was 113.2MB in the beginning and 138.4MB in the end (delta: 25.2MB). Free memory was 53.7MB in the beginning and 65.9MB in the end (delta: -12.1MB). Peak memory consumption was 15.6MB. Max. memory is 16.1GB. * Witness Printer took 131.60ms. Allocated memory is still 138.4MB. Free memory was 65.9MB in the beginning and 61.7MB in the end (delta: 4.2MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. RESULT: Ultimate proved your program to be incorrect! [2021-11-21 05:47:03,839 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84e9c382-3fef-4c46-beb4-c7e9b46d322d/bin/ukojak-vF6T2TMglN/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Forceful destruction successful, exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Writing human readable error path to file UltimateCounterExample.errorpath Result: FALSE