./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 839c364b Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_8938dc14-5e01-48f1-87ac-78f52741b7a4/bin/ukojak-d1pc8ZmBRL/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_8938dc14-5e01-48f1-87ac-78f52741b7a4/bin/ukojak-d1pc8ZmBRL/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_8938dc14-5e01-48f1-87ac-78f52741b7a4/bin/ukojak-d1pc8ZmBRL/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_8938dc14-5e01-48f1-87ac-78f52741b7a4/bin/ukojak-d1pc8ZmBRL/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_8938dc14-5e01-48f1-87ac-78f52741b7a4/bin/ukojak-d1pc8ZmBRL/config/svcomp-Reach-32bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_8938dc14-5e01-48f1-87ac-78f52741b7a4/bin/ukojak-d1pc8ZmBRL --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.2-hotfix-svcomp22-839c364 [2021-11-25 06:55:41,658 INFO L177 SettingsManager]: Resetting all preferences to default values... [2021-11-25 06:55:41,660 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2021-11-25 06:55:41,710 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2021-11-25 06:55:41,711 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2021-11-25 06:55:41,715 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2021-11-25 06:55:41,717 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2021-11-25 06:55:41,721 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2021-11-25 06:55:41,724 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2021-11-25 06:55:41,731 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2021-11-25 06:55:41,732 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2021-11-25 06:55:41,734 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2021-11-25 06:55:41,735 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2021-11-25 06:55:41,738 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2021-11-25 06:55:41,741 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2021-11-25 06:55:41,746 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2021-11-25 06:55:41,748 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2021-11-25 06:55:41,749 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2021-11-25 06:55:41,754 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2021-11-25 06:55:41,761 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2021-11-25 06:55:41,763 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2021-11-25 06:55:41,765 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2021-11-25 06:55:41,767 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2021-11-25 06:55:41,768 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2021-11-25 06:55:41,771 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2021-11-25 06:55:41,772 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2021-11-25 06:55:41,772 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2021-11-25 06:55:41,773 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2021-11-25 06:55:41,774 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2021-11-25 06:55:41,775 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2021-11-25 06:55:41,775 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2021-11-25 06:55:41,776 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2021-11-25 06:55:41,777 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2021-11-25 06:55:41,778 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2021-11-25 06:55:41,779 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2021-11-25 06:55:41,780 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2021-11-25 06:55:41,780 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2021-11-25 06:55:41,781 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2021-11-25 06:55:41,781 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2021-11-25 06:55:41,782 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2021-11-25 06:55:41,783 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2021-11-25 06:55:41,784 INFO L101 SettingsManager]: Beginning loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_8938dc14-5e01-48f1-87ac-78f52741b7a4/bin/ukojak-d1pc8ZmBRL/config/svcomp-Reach-32bit-Kojak_Default.epf [2021-11-25 06:55:41,809 INFO L113 SettingsManager]: Loading preferences was successful [2021-11-25 06:55:41,810 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2021-11-25 06:55:41,810 INFO L136 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2021-11-25 06:55:41,811 INFO L138 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2021-11-25 06:55:41,811 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2021-11-25 06:55:41,812 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2021-11-25 06:55:41,812 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2021-11-25 06:55:41,812 INFO L138 SettingsManager]: * sizeof long=4 [2021-11-25 06:55:41,813 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2021-11-25 06:55:41,813 INFO L138 SettingsManager]: * sizeof POINTER=4 [2021-11-25 06:55:41,813 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2021-11-25 06:55:41,813 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2021-11-25 06:55:41,814 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2021-11-25 06:55:41,814 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2021-11-25 06:55:41,814 INFO L138 SettingsManager]: * sizeof long double=12 [2021-11-25 06:55:41,814 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2021-11-25 06:55:41,814 INFO L138 SettingsManager]: * Use constant arrays=true [2021-11-25 06:55:41,815 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2021-11-25 06:55:41,815 INFO L136 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2021-11-25 06:55:41,815 INFO L138 SettingsManager]: * Timeout in seconds=1000000 [2021-11-25 06:55:41,815 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2021-11-25 06:55:41,816 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2021-11-25 06:55:41,816 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2021-11-25 06:55:41,816 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2021-11-25 06:55:41,817 INFO L138 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2021-11-25 06:55:41,817 INFO L138 SettingsManager]: * Trace refinement strategy=PENGUIN [2021-11-25 06:55:41,817 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2021-11-25 06:55:41,817 INFO L138 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2021-11-25 06:55:41,817 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_8938dc14-5e01-48f1-87ac-78f52741b7a4/bin/ukojak-d1pc8ZmBRL/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_8938dc14-5e01-48f1-87ac-78f52741b7a4/bin/ukojak-d1pc8ZmBRL 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-25 06:55:42,065 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2021-11-25 06:55:42,098 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2021-11-25 06:55:42,100 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2021-11-25 06:55:42,102 INFO L271 PluginConnector]: Initializing CDTParser... [2021-11-25 06:55:42,103 INFO L275 PluginConnector]: CDTParser initialized [2021-11-25 06:55:42,104 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_8938dc14-5e01-48f1-87ac-78f52741b7a4/bin/ukojak-d1pc8ZmBRL/../../sv-benchmarks/c/ldv-sets/test_mutex_double_lock.i [2021-11-25 06:55:42,203 INFO L220 CDTParser]: Created temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_8938dc14-5e01-48f1-87ac-78f52741b7a4/bin/ukojak-d1pc8ZmBRL/data/0f244d8a5/fcfdca83259e4c8d91eb94e4b6d387da/FLAGd261d82fd [2021-11-25 06:55:42,809 INFO L306 CDTParser]: Found 1 translation units. [2021-11-25 06:55:42,810 INFO L160 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_8938dc14-5e01-48f1-87ac-78f52741b7a4/sv-benchmarks/c/ldv-sets/test_mutex_double_lock.i [2021-11-25 06:55:42,823 INFO L349 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_8938dc14-5e01-48f1-87ac-78f52741b7a4/bin/ukojak-d1pc8ZmBRL/data/0f244d8a5/fcfdca83259e4c8d91eb94e4b6d387da/FLAGd261d82fd [2021-11-25 06:55:43,066 INFO L357 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_8938dc14-5e01-48f1-87ac-78f52741b7a4/bin/ukojak-d1pc8ZmBRL/data/0f244d8a5/fcfdca83259e4c8d91eb94e4b6d387da [2021-11-25 06:55:43,069 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2021-11-25 06:55:43,070 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2021-11-25 06:55:43,072 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2021-11-25 06:55:43,073 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2021-11-25 06:55:43,079 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2021-11-25 06:55:43,080 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 25.11 06:55:43" (1/1) ... [2021-11-25 06:55:43,081 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@6f55f0d0 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 06:55:43, skipping insertion in model container [2021-11-25 06:55:43,081 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 25.11 06:55:43" (1/1) ... [2021-11-25 06:55:43,088 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2021-11-25 06:55:43,139 INFO L178 MainTranslator]: Built tables and reachable declarations [2021-11-25 06:55:43,576 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_8938dc14-5e01-48f1-87ac-78f52741b7a4/sv-benchmarks/c/ldv-sets/test_mutex_double_lock.i[25842,25855] [2021-11-25 06:55:43,584 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_8938dc14-5e01-48f1-87ac-78f52741b7a4/sv-benchmarks/c/ldv-sets/test_mutex_double_lock.i[25967,25980] [2021-11-25 06:55:43,586 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_8938dc14-5e01-48f1-87ac-78f52741b7a4/sv-benchmarks/c/ldv-sets/test_mutex_double_lock.i[26082,26095] [2021-11-25 06:55:43,592 INFO L209 PostProcessor]: Analyzing one entry point: main [2021-11-25 06:55:43,603 INFO L203 MainTranslator]: Completed pre-run [2021-11-25 06:55:43,660 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_8938dc14-5e01-48f1-87ac-78f52741b7a4/sv-benchmarks/c/ldv-sets/test_mutex_double_lock.i[25842,25855] [2021-11-25 06:55:43,664 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_8938dc14-5e01-48f1-87ac-78f52741b7a4/sv-benchmarks/c/ldv-sets/test_mutex_double_lock.i[25967,25980] [2021-11-25 06:55:43,665 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_8938dc14-5e01-48f1-87ac-78f52741b7a4/sv-benchmarks/c/ldv-sets/test_mutex_double_lock.i[26082,26095] [2021-11-25 06:55:43,667 INFO L209 PostProcessor]: Analyzing one entry point: main [2021-11-25 06:55:43,706 INFO L208 MainTranslator]: Completed translation [2021-11-25 06:55:43,707 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 06:55:43 WrapperNode [2021-11-25 06:55:43,707 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2021-11-25 06:55:43,708 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2021-11-25 06:55:43,708 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2021-11-25 06:55:43,709 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2021-11-25 06:55:43,717 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 06:55:43" (1/1) ... [2021-11-25 06:55:43,755 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 06:55:43" (1/1) ... [2021-11-25 06:55:43,794 INFO L137 Inliner]: procedures = 139, calls = 57, calls flagged for inlining = 14, calls inlined = 13, statements flattened = 129 [2021-11-25 06:55:43,795 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2021-11-25 06:55:43,796 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2021-11-25 06:55:43,797 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2021-11-25 06:55:43,797 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2021-11-25 06:55:43,805 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 06:55:43" (1/1) ... [2021-11-25 06:55:43,805 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 06:55:43" (1/1) ... [2021-11-25 06:55:43,821 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 06:55:43" (1/1) ... [2021-11-25 06:55:43,821 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 06:55:43" (1/1) ... [2021-11-25 06:55:43,832 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 06:55:43" (1/1) ... [2021-11-25 06:55:43,837 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 06:55:43" (1/1) ... [2021-11-25 06:55:43,849 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 06:55:43" (1/1) ... [2021-11-25 06:55:43,859 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2021-11-25 06:55:43,860 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2021-11-25 06:55:43,864 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2021-11-25 06:55:43,865 INFO L275 PluginConnector]: RCFGBuilder initialized [2021-11-25 06:55:43,869 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 06:55:43" (1/1) ... [2021-11-25 06:55:43,877 INFO L168 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2021-11-25 06:55:43,890 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_8938dc14-5e01-48f1-87ac-78f52741b7a4/bin/ukojak-d1pc8ZmBRL/z3 [2021-11-25 06:55:43,910 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_8938dc14-5e01-48f1-87ac-78f52741b7a4/bin/ukojak-d1pc8ZmBRL/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2021-11-25 06:55:43,916 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_8938dc14-5e01-48f1-87ac-78f52741b7a4/bin/ukojak-d1pc8ZmBRL/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2021-11-25 06:55:43,950 INFO L130 BoogieDeclarations]: Found specification of procedure __ldv_list_add [2021-11-25 06:55:43,951 INFO L138 BoogieDeclarations]: Found implementation of procedure __ldv_list_add [2021-11-25 06:55:43,951 INFO L130 BoogieDeclarations]: Found specification of procedure mutex_unlock [2021-11-25 06:55:43,951 INFO L138 BoogieDeclarations]: Found implementation of procedure mutex_unlock [2021-11-25 06:55:43,951 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2021-11-25 06:55:43,951 INFO L130 BoogieDeclarations]: Found specification of procedure mutex_lock [2021-11-25 06:55:43,951 INFO L138 BoogieDeclarations]: Found implementation of procedure mutex_lock [2021-11-25 06:55:43,951 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2021-11-25 06:55:43,951 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$ [2021-11-25 06:55:43,952 INFO L130 BoogieDeclarations]: Found specification of procedure ldv_is_in_set [2021-11-25 06:55:43,952 INFO L138 BoogieDeclarations]: Found implementation of procedure ldv_is_in_set [2021-11-25 06:55:43,952 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$ [2021-11-25 06:55:43,952 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2021-11-25 06:55:43,952 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~$Pointer$ [2021-11-25 06:55:43,952 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2021-11-25 06:55:43,953 INFO L130 BoogieDeclarations]: Found specification of procedure ldv_successful_malloc [2021-11-25 06:55:43,953 INFO L138 BoogieDeclarations]: Found implementation of procedure ldv_successful_malloc [2021-11-25 06:55:43,953 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2021-11-25 06:55:43,953 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2021-11-25 06:55:44,060 INFO L236 CfgBuilder]: Building ICFG [2021-11-25 06:55:44,062 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2021-11-25 06:55:44,443 INFO L277 CfgBuilder]: Performing block encoding [2021-11-25 06:55:44,549 INFO L296 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2021-11-25 06:55:44,549 INFO L301 CfgBuilder]: Removed 2 assume(true) statements. [2021-11-25 06:55:44,552 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 25.11 06:55:44 BoogieIcfgContainer [2021-11-25 06:55:44,552 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2021-11-25 06:55:44,553 INFO L113 PluginConnector]: ------------------------CodeCheck---------------------------- [2021-11-25 06:55:44,553 INFO L271 PluginConnector]: Initializing CodeCheck... [2021-11-25 06:55:44,566 INFO L275 PluginConnector]: CodeCheck initialized [2021-11-25 06:55:44,566 INFO L185 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 25.11 06:55:44" (1/1) ... [2021-11-25 06:55:44,581 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-11-25 06:55:44,637 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2021-11-25 06:55:44,646 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 61 states to 49 states and 61 transitions. [2021-11-25 06:55:44,646 INFO L276 IsEmpty]: Start isEmpty. Operand 49 states and 61 transitions. [2021-11-25 06:55:44,651 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 20 [2021-11-25 06:55:44,652 INFO L422 CodeCheckObserver]: Error Path is FOUND. [2021-11-25 06:55:44,653 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-11-25 06:55:44,771 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-11-25 06:55:44,862 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-25 06:55:44,917 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2021-11-25 06:55:44,919 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 65 states to 53 states and 65 transitions. [2021-11-25 06:55:44,920 INFO L276 IsEmpty]: Start isEmpty. Operand 53 states and 65 transitions. [2021-11-25 06:55:44,920 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 21 [2021-11-25 06:55:44,921 INFO L422 CodeCheckObserver]: Error Path is FOUND. [2021-11-25 06:55:44,921 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-11-25 06:55:44,971 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-11-25 06:55:45,301 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-25 06:55:45,585 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2021-11-25 06:55:45,591 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 87 states to 59 states and 80 transitions. [2021-11-25 06:55:45,591 INFO L276 IsEmpty]: Start isEmpty. Operand 59 states and 80 transitions. [2021-11-25 06:55:45,592 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 23 [2021-11-25 06:55:45,593 INFO L422 CodeCheckObserver]: Error Path is FOUND. [2021-11-25 06:55:45,593 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-11-25 06:55:45,647 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-11-25 06:55:46,042 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-25 06:55:46,860 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2021-11-25 06:55:46,863 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 98 states to 62 states and 91 transitions. [2021-11-25 06:55:46,863 INFO L276 IsEmpty]: Start isEmpty. Operand 62 states and 91 transitions. [2021-11-25 06:55:46,864 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 25 [2021-11-25 06:55:46,864 INFO L422 CodeCheckObserver]: Error Path is FOUND. [2021-11-25 06:55:46,864 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-11-25 06:55:46,886 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-11-25 06:55:47,044 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-25 06:55:47,358 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2021-11-25 06:55:47,360 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 87 states to 58 states and 80 transitions. [2021-11-25 06:55:47,360 INFO L276 IsEmpty]: Start isEmpty. Operand 58 states and 80 transitions. [2021-11-25 06:55:47,362 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 40 [2021-11-25 06:55:47,362 INFO L422 CodeCheckObserver]: Error Path is FOUND. [2021-11-25 06:55:47,362 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-11-25 06:55:47,400 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-11-25 06:55:47,473 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-25 06:55:47,524 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2021-11-25 06:55:47,526 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 88 states to 60 states and 81 transitions. [2021-11-25 06:55:47,526 INFO L276 IsEmpty]: Start isEmpty. Operand 60 states and 81 transitions. [2021-11-25 06:55:47,528 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 41 [2021-11-25 06:55:47,528 INFO L422 CodeCheckObserver]: Error Path is FOUND. [2021-11-25 06:55:47,528 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-11-25 06:55:47,549 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-11-25 06:55:47,859 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-25 06:55:48,634 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2021-11-25 06:55:48,635 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 103 states to 68 states and 94 transitions. [2021-11-25 06:55:48,636 INFO L276 IsEmpty]: Start isEmpty. Operand 68 states and 94 transitions. [2021-11-25 06:55:48,638 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 48 [2021-11-25 06:55:48,638 INFO L422 CodeCheckObserver]: Error Path is FOUND. [2021-11-25 06:55:48,638 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-11-25 06:55:48,709 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-11-25 06:55:48,721 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-11-25 06:55:48,746 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-11-25 06:55:48,926 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-11-25 06:55:48,926 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-11-25 06:55:48,979 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-11-25 06:55:49,051 WARN L475 CodeCheckObserver]: This program is UNSAFE, Check terminated with 7 iterations. [2021-11-25 06:55:49,109 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 25.11 06:55:49 ImpRootNode [2021-11-25 06:55:49,109 INFO L132 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2021-11-25 06:55:49,110 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2021-11-25 06:55:49,110 INFO L271 PluginConnector]: Initializing Witness Printer... [2021-11-25 06:55:49,110 INFO L275 PluginConnector]: Witness Printer initialized [2021-11-25 06:55:49,111 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 25.11 06:55:44" (3/4) ... [2021-11-25 06:55:49,113 INFO L131 WitnessPrinter]: Generating witness for reachability counterexample [2021-11-25 06:55:49,279 INFO L141 WitnessManager]: Wrote witness to /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_8938dc14-5e01-48f1-87ac-78f52741b7a4/bin/ukojak-d1pc8ZmBRL/witness.graphml [2021-11-25 06:55:49,279 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2021-11-25 06:55:49,281 INFO L158 Benchmark]: Toolchain (without parser) took 6209.73ms. Allocated memory was 115.3MB in the beginning and 180.4MB in the end (delta: 65.0MB). Free memory was 84.1MB in the beginning and 134.3MB in the end (delta: -50.2MB). Peak memory consumption was 14.6MB. Max. memory is 16.1GB. [2021-11-25 06:55:49,281 INFO L158 Benchmark]: CDTParser took 0.31ms. Allocated memory is still 115.3MB. Free memory is still 68.6MB. There was no memory consumed. Max. memory is 16.1GB. [2021-11-25 06:55:49,282 INFO L158 Benchmark]: CACSL2BoogieTranslator took 635.31ms. Allocated memory is still 115.3MB. Free memory was 83.8MB in the beginning and 79.2MB in the end (delta: 4.6MB). Peak memory consumption was 6.3MB. Max. memory is 16.1GB. [2021-11-25 06:55:49,283 INFO L158 Benchmark]: Boogie Procedure Inliner took 86.95ms. Allocated memory is still 115.3MB. Free memory was 79.2MB in the beginning and 76.7MB in the end (delta: 2.6MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2021-11-25 06:55:49,283 INFO L158 Benchmark]: Boogie Preprocessor took 63.13ms. Allocated memory is still 115.3MB. Free memory was 76.7MB in the beginning and 74.9MB in the end (delta: 1.8MB). There was no memory consumed. Max. memory is 16.1GB. [2021-11-25 06:55:49,284 INFO L158 Benchmark]: RCFGBuilder took 692.23ms. Allocated memory was 115.3MB in the beginning and 148.9MB in the end (delta: 33.6MB). Free memory was 74.9MB in the beginning and 122.9MB in the end (delta: -48.0MB). Peak memory consumption was 30.9MB. Max. memory is 16.1GB. [2021-11-25 06:55:49,285 INFO L158 Benchmark]: CodeCheck took 4556.19ms. Allocated memory was 148.9MB in the beginning and 180.4MB in the end (delta: 31.5MB). Free memory was 122.9MB in the beginning and 138.5MB in the end (delta: -15.7MB). Peak memory consumption was 15.5MB. Max. memory is 16.1GB. [2021-11-25 06:55:49,286 INFO L158 Benchmark]: Witness Printer took 169.81ms. Allocated memory is still 180.4MB. Free memory was 138.5MB in the beginning and 134.3MB in the end (delta: 4.2MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2021-11-25 06:55:49,290 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.5s, 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, 0.9s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 132 mSDsluCounter, 348 SdHoareTripleChecker+Invalid, 0.7s 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.3s 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))={5584: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))={5580:0}, m1={5584: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={5584: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={5584:0}, e={5584: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={5584:0}, e={5584: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={5584:0}, m={5584: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={5584: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={5584:0}, e={5584: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={5584:0}, e={5584: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={5584:0}, new={5584: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={5584:0}, new={5584: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))={5583:0}, mutexes={3:0}, new={5584:0}, new={5584: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={5583:4}, new={5583:4}] [L608] CALL __ldv_list_add(new, head, head->next) VAL [mutexes={3:0}, new={5583: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={5583:4}, new={5583:4}] [L640] RET ldv_list_add(&le->list, s) [L670] RET ldv_set_add(m, &mutexes) [L684] RET mutex_lock(m1) VAL [m1={5584:0}, m2={5580:0}, mutexes={3:0}] [L685] CALL mutex_lock(m1) VAL [mutexes={3:0}] [L669] CALL ldv_is_in_set(m, &mutexes) VAL [e={5584: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={5583:4}, e={5584:0}, e={5584:0}, m={5583:0}, mutexes={3:0}, s={3:0}, s={3:0}] [L655] COND TRUE &m->list != (s) [L656] EXPR m->e VAL [__mptr={5583:4}, e={5584:0}, e={5584:0}, m={5583:0}, m->e={5584:0}, mutexes={3:0}, s={3:0}, s={3:0}] [L656] COND TRUE m->e == e [L657] return 1; VAL [\result=1, __mptr={5583:4}, e={5584:0}, e={5584:0}, m={5583: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={5584:0}, m={5584:0}, mutexes={3:0}] [L669] COND TRUE ldv_is_in_set(m, &mutexes) [L669] reach_error() VAL [m={5584:0}, m={5584:0}, mutexes={3:0}] * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.31ms. Allocated memory is still 115.3MB. Free memory is still 68.6MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 635.31ms. Allocated memory is still 115.3MB. Free memory was 83.8MB in the beginning and 79.2MB in the end (delta: 4.6MB). Peak memory consumption was 6.3MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 86.95ms. Allocated memory is still 115.3MB. Free memory was 79.2MB in the beginning and 76.7MB in the end (delta: 2.6MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * Boogie Preprocessor took 63.13ms. Allocated memory is still 115.3MB. Free memory was 76.7MB in the beginning and 74.9MB in the end (delta: 1.8MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 692.23ms. Allocated memory was 115.3MB in the beginning and 148.9MB in the end (delta: 33.6MB). Free memory was 74.9MB in the beginning and 122.9MB in the end (delta: -48.0MB). Peak memory consumption was 30.9MB. Max. memory is 16.1GB. * CodeCheck took 4556.19ms. Allocated memory was 148.9MB in the beginning and 180.4MB in the end (delta: 31.5MB). Free memory was 122.9MB in the beginning and 138.5MB in the end (delta: -15.7MB). Peak memory consumption was 15.5MB. Max. memory is 16.1GB. * Witness Printer took 169.81ms. Allocated memory is still 180.4MB. Free memory was 138.5MB in the beginning and 134.3MB 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-25 06:55:49,335 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_8938dc14-5e01-48f1-87ac-78f52741b7a4/bin/ukojak-d1pc8ZmBRL/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