./Ultimate.py --spec ../sv-benchmarks/c/properties/unreach-call.prp --file ../sv-benchmarks/c/seq-pthread/cs_stateful-2.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for ERROR reachability Using default analysis Version 3a877d22 Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/AutomizerReach.xml -i ../sv-benchmarks/c/seq-pthread/cs_stateful-2.i -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux --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 Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash c1d6cba599289c2637bd3d8da41e464d318a32e6ae6e6e0e391ff437e6ce1fcc --- Real Ultimate output --- This is Ultimate 0.2.2-3a877d227dc491413fd706022d0c47cd97beb353-3a877d2 [2021-12-15 11:43:08,641 INFO L177 SettingsManager]: Resetting all preferences to default values... [2021-12-15 11:43:08,642 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2021-12-15 11:43:08,681 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2021-12-15 11:43:08,681 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2021-12-15 11:43:08,682 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2021-12-15 11:43:08,695 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2021-12-15 11:43:08,697 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2021-12-15 11:43:08,699 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2021-12-15 11:43:08,699 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2021-12-15 11:43:08,700 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2021-12-15 11:43:08,701 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2021-12-15 11:43:08,702 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2021-12-15 11:43:08,703 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2021-12-15 11:43:08,704 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2021-12-15 11:43:08,705 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2021-12-15 11:43:08,706 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2021-12-15 11:43:08,707 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2021-12-15 11:43:08,708 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2021-12-15 11:43:08,710 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2021-12-15 11:43:08,711 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2021-12-15 11:43:08,712 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2021-12-15 11:43:08,713 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2021-12-15 11:43:08,714 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2021-12-15 11:43:08,716 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2021-12-15 11:43:08,717 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2021-12-15 11:43:08,717 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2021-12-15 11:43:08,718 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2021-12-15 11:43:08,718 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2021-12-15 11:43:08,719 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2021-12-15 11:43:08,720 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2021-12-15 11:43:08,720 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2021-12-15 11:43:08,721 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2021-12-15 11:43:08,722 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2021-12-15 11:43:08,723 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2021-12-15 11:43:08,723 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2021-12-15 11:43:08,724 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2021-12-15 11:43:08,724 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2021-12-15 11:43:08,724 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2021-12-15 11:43:08,725 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2021-12-15 11:43:08,726 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2021-12-15 11:43:08,727 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-32bit-Automizer_Default.epf [2021-12-15 11:43:08,746 INFO L113 SettingsManager]: Loading preferences was successful [2021-12-15 11:43:08,747 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2021-12-15 11:43:08,747 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2021-12-15 11:43:08,747 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2021-12-15 11:43:08,748 INFO L136 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2021-12-15 11:43:08,748 INFO L138 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2021-12-15 11:43:08,749 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2021-12-15 11:43:08,749 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2021-12-15 11:43:08,749 INFO L138 SettingsManager]: * Use SBE=true [2021-12-15 11:43:08,749 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2021-12-15 11:43:08,750 INFO L138 SettingsManager]: * sizeof long=4 [2021-12-15 11:43:08,750 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2021-12-15 11:43:08,750 INFO L138 SettingsManager]: * sizeof POINTER=4 [2021-12-15 11:43:08,750 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2021-12-15 11:43:08,751 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2021-12-15 11:43:08,751 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2021-12-15 11:43:08,751 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2021-12-15 11:43:08,751 INFO L138 SettingsManager]: * sizeof long double=12 [2021-12-15 11:43:08,751 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2021-12-15 11:43:08,752 INFO L138 SettingsManager]: * Use constant arrays=true [2021-12-15 11:43:08,752 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2021-12-15 11:43:08,752 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2021-12-15 11:43:08,752 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2021-12-15 11:43:08,753 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2021-12-15 11:43:08,753 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2021-12-15 11:43:08,753 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2021-12-15 11:43:08,753 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2021-12-15 11:43:08,754 INFO L138 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2021-12-15 11:43:08,754 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2021-12-15 11:43:08,754 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2021-12-15 11:43:08,754 INFO L138 SettingsManager]: * Large block encoding in concurrent analysis=OFF [2021-12-15 11:43:08,754 INFO L138 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2021-12-15 11:43:08,755 INFO L138 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2021-12-15 11:43:08,755 INFO L138 SettingsManager]: * Trace refinement exception blacklist=NONE [2021-12-15 11:43:08,755 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:/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/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 -> /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux 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 -> Automizer 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 -> c1d6cba599289c2637bd3d8da41e464d318a32e6ae6e6e0e391ff437e6ce1fcc [2021-12-15 11:43:08,979 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2021-12-15 11:43:09,002 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2021-12-15 11:43:09,005 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2021-12-15 11:43:09,006 INFO L271 PluginConnector]: Initializing CDTParser... [2021-12-15 11:43:09,007 INFO L275 PluginConnector]: CDTParser initialized [2021-12-15 11:43:09,009 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/seq-pthread/cs_stateful-2.i [2021-12-15 11:43:09,072 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/45c12b90c/6b6e700f7113491b97bf430c83cde710/FLAG5ac73fcab [2021-12-15 11:43:09,581 INFO L306 CDTParser]: Found 1 translation units. [2021-12-15 11:43:09,582 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/seq-pthread/cs_stateful-2.i [2021-12-15 11:43:09,597 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/45c12b90c/6b6e700f7113491b97bf430c83cde710/FLAG5ac73fcab [2021-12-15 11:43:09,891 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/45c12b90c/6b6e700f7113491b97bf430c83cde710 [2021-12-15 11:43:09,893 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2021-12-15 11:43:09,895 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2021-12-15 11:43:09,897 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2021-12-15 11:43:09,897 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2021-12-15 11:43:09,901 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2021-12-15 11:43:09,902 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 15.12 11:43:09" (1/1) ... [2021-12-15 11:43:09,903 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@65a5c63c and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.12 11:43:09, skipping insertion in model container [2021-12-15 11:43:09,906 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 15.12 11:43:09" (1/1) ... [2021-12-15 11:43:09,913 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2021-12-15 11:43:09,954 INFO L178 MainTranslator]: Built tables and reachable declarations [2021-12-15 11:43:10,222 WARN L230 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/seq-pthread/cs_stateful-2.i[23607,23620] [2021-12-15 11:43:10,337 INFO L209 PostProcessor]: Analyzing one entry point: main [2021-12-15 11:43:10,351 INFO L203 MainTranslator]: Completed pre-run [2021-12-15 11:43:10,391 WARN L230 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/seq-pthread/cs_stateful-2.i[23607,23620] [2021-12-15 11:43:10,423 INFO L209 PostProcessor]: Analyzing one entry point: main [2021-12-15 11:43:10,461 INFO L208 MainTranslator]: Completed translation [2021-12-15 11:43:10,462 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.12 11:43:10 WrapperNode [2021-12-15 11:43:10,462 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2021-12-15 11:43:10,464 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2021-12-15 11:43:10,464 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2021-12-15 11:43:10,464 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2021-12-15 11:43:10,471 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.12 11:43:10" (1/1) ... [2021-12-15 11:43:10,497 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.12 11:43:10" (1/1) ... [2021-12-15 11:43:10,550 INFO L137 Inliner]: procedures = 145, calls = 245, calls flagged for inlining = 6, calls inlined = 6, statements flattened = 539 [2021-12-15 11:43:10,551 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2021-12-15 11:43:10,551 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2021-12-15 11:43:10,551 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2021-12-15 11:43:10,552 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2021-12-15 11:43:10,559 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.12 11:43:10" (1/1) ... [2021-12-15 11:43:10,559 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.12 11:43:10" (1/1) ... [2021-12-15 11:43:10,566 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.12 11:43:10" (1/1) ... [2021-12-15 11:43:10,567 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.12 11:43:10" (1/1) ... [2021-12-15 11:43:10,594 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.12 11:43:10" (1/1) ... [2021-12-15 11:43:10,599 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.12 11:43:10" (1/1) ... [2021-12-15 11:43:10,603 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.12 11:43:10" (1/1) ... [2021-12-15 11:43:10,608 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2021-12-15 11:43:10,609 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2021-12-15 11:43:10,610 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2021-12-15 11:43:10,610 INFO L275 PluginConnector]: RCFGBuilder initialized [2021-12-15 11:43:10,611 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.12 11:43:10" (1/1) ... [2021-12-15 11:43:10,633 INFO L168 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2021-12-15 11:43:10,641 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2021-12-15 11:43:10,650 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) [2021-12-15 11:43:10,652 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Waiting until timeout for monitored process [2021-12-15 11:43:10,684 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2021-12-15 11:43:10,685 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2021-12-15 11:43:10,685 INFO L130 BoogieDeclarations]: Found specification of procedure assume_abort_if_not [2021-12-15 11:43:10,685 INFO L138 BoogieDeclarations]: Found implementation of procedure assume_abort_if_not [2021-12-15 11:43:10,685 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2021-12-15 11:43:10,685 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2021-12-15 11:43:10,686 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$ [2021-12-15 11:43:10,686 INFO L130 BoogieDeclarations]: Found specification of procedure __CS_pthread_mutex_init [2021-12-15 11:43:10,686 INFO L138 BoogieDeclarations]: Found implementation of procedure __CS_pthread_mutex_init [2021-12-15 11:43:10,686 INFO L130 BoogieDeclarations]: Found specification of procedure __CS_pthread_mutex_lock [2021-12-15 11:43:10,687 INFO L138 BoogieDeclarations]: Found implementation of procedure __CS_pthread_mutex_lock [2021-12-15 11:43:10,687 INFO L130 BoogieDeclarations]: Found specification of procedure __CS_pthread_create [2021-12-15 11:43:10,687 INFO L138 BoogieDeclarations]: Found implementation of procedure __CS_pthread_create [2021-12-15 11:43:10,687 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$ [2021-12-15 11:43:10,687 INFO L130 BoogieDeclarations]: Found specification of procedure __CS_pthread_join [2021-12-15 11:43:10,687 INFO L138 BoogieDeclarations]: Found implementation of procedure __CS_pthread_join [2021-12-15 11:43:10,687 INFO L130 BoogieDeclarations]: Found specification of procedure ##fun~$Pointer$~TO~$Pointer$ [2021-12-15 11:43:10,688 INFO L138 BoogieDeclarations]: Found implementation of procedure ##fun~$Pointer$~TO~$Pointer$ [2021-12-15 11:43:10,688 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2021-12-15 11:43:10,688 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~$Pointer$ [2021-12-15 11:43:10,688 INFO L130 BoogieDeclarations]: Found specification of procedure __CS_cs [2021-12-15 11:43:10,689 INFO L138 BoogieDeclarations]: Found implementation of procedure __CS_cs [2021-12-15 11:43:10,689 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2021-12-15 11:43:10,689 INFO L130 BoogieDeclarations]: Found specification of procedure __CS_pthread_mutex_unlock [2021-12-15 11:43:10,689 INFO L138 BoogieDeclarations]: Found implementation of procedure __CS_pthread_mutex_unlock [2021-12-15 11:43:10,689 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2021-12-15 11:43:10,689 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2021-12-15 11:43:10,854 INFO L236 CfgBuilder]: Building ICFG [2021-12-15 11:43:10,856 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2021-12-15 11:43:11,135 INFO L768 $ProcedureCfgBuilder]: dead code at ProgramPoint L750: SUMMARY for call __CS_cs(); srcloc: null [2021-12-15 11:43:11,135 INFO L768 $ProcedureCfgBuilder]: dead code at ProgramPoint L750-1: assume 0 != ~__CS_ret~0 % 256;main_thread_#res#1.base, main_thread_#res#1.offset := 0, 0;call ULTIMATE.dealloc(main_thread_~#t1~0#1.base, main_thread_~#t1~0#1.offset);havoc main_thread_~#t1~0#1.base, main_thread_~#t1~0#1.offset;call ULTIMATE.dealloc(main_thread_~#t2~0#1.base, main_thread_~#t2~0#1.offset);havoc main_thread_~#t2~0#1.base, main_thread_~#t2~0#1.offset; [2021-12-15 11:43:11,136 INFO L768 $ProcedureCfgBuilder]: dead code at ProgramPoint L750-1: assume !(0 != ~__CS_ret~0 % 256); [2021-12-15 11:43:11,136 INFO L768 $ProcedureCfgBuilder]: dead code at ProgramPoint $Ultimate##31: assume !(0 != ~__CS_ret~0 % 256); [2021-12-15 11:43:11,136 INFO L768 $ProcedureCfgBuilder]: dead code at ProgramPoint $Ultimate##30: assume 0 != ~__CS_ret~0 % 256;main_thread_#res#1.base, main_thread_#res#1.offset := 0, 0;call ULTIMATE.dealloc(main_thread_~#t1~0#1.base, main_thread_~#t1~0#1.offset);havoc main_thread_~#t1~0#1.base, main_thread_~#t1~0#1.offset;call ULTIMATE.dealloc(main_thread_~#t2~0#1.base, main_thread_~#t2~0#1.offset);havoc main_thread_~#t2~0#1.base, main_thread_~#t2~0#1.offset; [2021-12-15 11:43:11,136 INFO L768 $ProcedureCfgBuilder]: dead code at ProgramPoint $Ultimate##29: assume !(0 != ~__CS_ret~0 % 256); [2021-12-15 11:43:11,136 INFO L768 $ProcedureCfgBuilder]: dead code at ProgramPoint $Ultimate##28: assume 0 != ~__CS_ret~0 % 256;main_thread_#res#1.base, main_thread_#res#1.offset := 0, 0;call ULTIMATE.dealloc(main_thread_~#t1~0#1.base, main_thread_~#t1~0#1.offset);havoc main_thread_~#t1~0#1.base, main_thread_~#t1~0#1.offset;call ULTIMATE.dealloc(main_thread_~#t2~0#1.base, main_thread_~#t2~0#1.offset);havoc main_thread_~#t2~0#1.base, main_thread_~#t2~0#1.offset; [2021-12-15 11:43:11,716 INFO L277 CfgBuilder]: Performing block encoding [2021-12-15 11:43:11,726 INFO L296 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2021-12-15 11:43:11,727 INFO L301 CfgBuilder]: Removed 2 assume(true) statements. [2021-12-15 11:43:11,729 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 15.12 11:43:11 BoogieIcfgContainer [2021-12-15 11:43:11,729 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2021-12-15 11:43:11,732 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2021-12-15 11:43:11,732 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2021-12-15 11:43:11,735 INFO L275 PluginConnector]: TraceAbstraction initialized [2021-12-15 11:43:11,735 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 15.12 11:43:09" (1/3) ... [2021-12-15 11:43:11,736 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@562affce and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 15.12 11:43:11, skipping insertion in model container [2021-12-15 11:43:11,736 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.12 11:43:10" (2/3) ... [2021-12-15 11:43:11,736 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@562affce and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 15.12 11:43:11, skipping insertion in model container [2021-12-15 11:43:11,736 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 15.12 11:43:11" (3/3) ... [2021-12-15 11:43:11,738 INFO L111 eAbstractionObserver]: Analyzing ICFG cs_stateful-2.i [2021-12-15 11:43:11,742 INFO L204 ceAbstractionStarter]: Automizer settings: Hoare:true NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2021-12-15 11:43:11,743 INFO L163 ceAbstractionStarter]: Applying trace abstraction to program that has 1 error locations. [2021-12-15 11:43:11,794 INFO L338 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2021-12-15 11:43:11,799 INFO L339 AbstractCegarLoop]: Settings: SEPARATE_VIOLATION_CHECK=true, mInterprocedural=true, mMaxIterations=1000000, mWatchIteration=1000000, mArtifact=RCFG, mInterpolation=FPandBP, mInterpolantAutomaton=STRAIGHT_LINE, mDumpAutomata=false, mAutomataFormat=ATS_NUMERATE, mDumpPath=., mDeterminiation=PREDICATE_ABSTRACTION, mMinimize=MINIMIZE_SEVPA, mHoare=true, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=LoopsAndPotentialCycles, mDumpOnlyReuseAutomata=false, mLimitTraceHistogram=0, mErrorLocTimeLimit=0, mLimitPathProgramCount=0, mCollectInterpolantStatistics=true, mHeuristicEmptinessCheck=false, mHeuristicEmptinessCheckAStarHeuristic=ZERO, mHeuristicEmptinessCheckAStarHeuristicRandomSeed=1337, mHeuristicEmptinessCheckSmtFeatureScoringMethod=DAGSIZE, mSMTFeatureExtraction=false, mSMTFeatureExtractionDumpPath=., mOverrideInterpolantAutomaton=false, mMcrInterpolantMethod=WP, mLoopAccelerationTechnique=FAST_UPR [2021-12-15 11:43:11,799 INFO L340 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2021-12-15 11:43:11,817 INFO L276 IsEmpty]: Start isEmpty. Operand has 175 states, 111 states have (on average 1.4504504504504505) internal successors, (161), 112 states have internal predecessors, (161), 54 states have call successors, (54), 8 states have call predecessors, (54), 8 states have return successors, (54), 54 states have call predecessors, (54), 54 states have call successors, (54) [2021-12-15 11:43:11,828 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 73 [2021-12-15 11:43:11,829 INFO L506 BasicCegarLoop]: Found error trace [2021-12-15 11:43:11,829 INFO L514 BasicCegarLoop]: trace histogram [10, 10, 10, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-12-15 11:43:11,830 INFO L402 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION === [ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION] === [2021-12-15 11:43:11,834 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-15 11:43:11,835 INFO L85 PathProgramCache]: Analyzing trace with hash 246520095, now seen corresponding path program 1 times [2021-12-15 11:43:11,841 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-15 11:43:11,842 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [200300001] [2021-12-15 11:43:11,843 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-15 11:43:11,844 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-15 11:43:11,979 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2021-12-15 11:43:11,979 FATAL L? ?]: The Plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction has thrown an exception: java.lang.UnsupportedOperationException: Set is immutable at de.uni_freiburg.informatik.ultimate.util.datastructures.ImmutableSet.retainAll(ImmutableSet.java:338) at de.uni_freiburg.informatik.ultimate.lib.modelcheckerutils.cfg.transitions.UnmodifiableTransFormula.removeSuperfluousVars(UnmodifiableTransFormula.java:212) at de.uni_freiburg.informatik.ultimate.lib.modelcheckerutils.cfg.transitions.TransFormulaBuilder.finishConstruction(TransFormulaBuilder.java:273) at de.uni_freiburg.informatik.ultimate.lib.modelcheckerutils.cfg.OldVarsAssignmentCache.constructGlobalVarsAssignment(OldVarsAssignmentCache.java:155) at de.uni_freiburg.informatik.ultimate.lib.modelcheckerutils.cfg.OldVarsAssignmentCache.getGlobalVarsAssignment(OldVarsAssignmentCache.java:93) at de.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.singletracecheck.DefaultTransFormulas.getGlobalVarAssignmentFromValidPos(DefaultTransFormulas.java:89) at de.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.singletracecheck.DefaultTransFormulas.getGlobalVarAssignmentFromValidPos(DefaultTransFormulas.java:1) at de.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.singletracecheck.NestedFormulas.getGlobalVarAssignment(NestedFormulas.java:126) at de.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.singletracecheck.TraceCheckUtils.decoupleArrayValues(TraceCheckUtils.java:384) at de.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.singletracecheck.InterpolatingTraceCheck.(InterpolatingTraceCheck.java:87) at de.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.singletracecheck.InterpolatingTraceCheckCraig.(InterpolatingTraceCheckCraig.java:89) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.tracehandling.IpTcStrategyModuleCraig.construct(IpTcStrategyModuleCraig.java:79) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.tracehandling.IpTcStrategyModuleCraig.construct(IpTcStrategyModuleCraig.java:1) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.tracehandling.IpTcStrategyModuleBase.getOrConstruct(IpTcStrategyModuleBase.java:100) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.tracehandling.IpTcStrategyModuleBase.isCorrect(IpTcStrategyModuleBase.java:56) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.tracehandling.AutomatonFreeRefinementEngine.checkFeasibility(AutomatonFreeRefinementEngine.java:211) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.tracehandling.AutomatonFreeRefinementEngine.executeStrategy(AutomatonFreeRefinementEngine.java:124) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.tracehandling.AutomatonFreeRefinementEngine.(AutomatonFreeRefinementEngine.java:88) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.tracehandling.TraceAbstractionRefinementEngine.(TraceAbstractionRefinementEngine.java:76) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.BasicCegarLoop.isCounterexampleFeasible(BasicCegarLoop.java:610) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.AbstractCegarLoop.iterate(AbstractCegarLoop.java:413) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.AbstractCegarLoop.startCegar(AbstractCegarLoop.java:348) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.AbstractCegarLoop.runCegar(AbstractCegarLoop.java:330) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.CegarLoopUtils.getCegarLoopResult(CegarLoopUtils.java:56) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionStarter.executeCegarLoop(TraceAbstractionStarter.java:393) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionStarter.analyseProgram(TraceAbstractionStarter.java:303) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionStarter.analyseSequentialProgram(TraceAbstractionStarter.java:263) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionStarter.runCegarLoops(TraceAbstractionStarter.java:176) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionStarter.(TraceAbstractionStarter.java:155) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver.finish(TraceAbstractionObserver.java:123) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.runObserver(PluginConnector.java:168) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.runTool(PluginConnector.java:151) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.run(PluginConnector.java:128) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.executePluginConnector(ToolchainWalker.java:232) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.processPlugin(ToolchainWalker.java:226) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.walkUnprotected(ToolchainWalker.java:142) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.walk(ToolchainWalker.java:104) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainManager$Toolchain.processToolchain(ToolchainManager.java:320) at de.uni_freiburg.informatik.ultimate.core.coreplugin.toolchain.DefaultToolchainJob.run(DefaultToolchainJob.java:145) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63) [2021-12-15 11:43:11,990 INFO L158 Benchmark]: Toolchain (without parser) took 2093.83ms. Allocated memory was 96.5MB in the beginning and 117.4MB in the end (delta: 21.0MB). Free memory was 66.2MB in the beginning and 69.9MB in the end (delta: -3.8MB). Peak memory consumption was 16.7MB. Max. memory is 16.1GB. [2021-12-15 11:43:11,991 INFO L158 Benchmark]: CDTParser took 0.24ms. Allocated memory is still 96.5MB. Free memory was 54.0MB in the beginning and 53.9MB in the end (delta: 70.0kB). There was no memory consumed. Max. memory is 16.1GB. [2021-12-15 11:43:11,992 INFO L158 Benchmark]: CACSL2BoogieTranslator took 566.05ms. Allocated memory was 96.5MB in the beginning and 117.4MB in the end (delta: 21.0MB). Free memory was 66.2MB in the beginning and 78.5MB in the end (delta: -12.3MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2021-12-15 11:43:11,993 INFO L158 Benchmark]: Boogie Procedure Inliner took 86.75ms. Allocated memory is still 117.4MB. Free memory was 78.5MB in the beginning and 74.3MB in the end (delta: 4.2MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2021-12-15 11:43:11,994 INFO L158 Benchmark]: Boogie Preprocessor took 57.42ms. Allocated memory is still 117.4MB. Free memory was 74.3MB in the beginning and 70.9MB in the end (delta: 3.3MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2021-12-15 11:43:11,994 INFO L158 Benchmark]: RCFGBuilder took 1119.89ms. Allocated memory is still 117.4MB. Free memory was 70.9MB in the beginning and 88.8MB in the end (delta: -17.9MB). Peak memory consumption was 29.7MB. Max. memory is 16.1GB. [2021-12-15 11:43:11,998 INFO L158 Benchmark]: TraceAbstraction took 256.86ms. Allocated memory is still 117.4MB. Free memory was 88.8MB in the beginning and 69.9MB in the end (delta: 18.9MB). Peak memory consumption was 18.9MB. Max. memory is 16.1GB. [2021-12-15 11:43:12,002 INFO L339 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.24ms. Allocated memory is still 96.5MB. Free memory was 54.0MB in the beginning and 53.9MB in the end (delta: 70.0kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 566.05ms. Allocated memory was 96.5MB in the beginning and 117.4MB in the end (delta: 21.0MB). Free memory was 66.2MB in the beginning and 78.5MB in the end (delta: -12.3MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 86.75ms. Allocated memory is still 117.4MB. Free memory was 78.5MB in the beginning and 74.3MB in the end (delta: 4.2MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * Boogie Preprocessor took 57.42ms. Allocated memory is still 117.4MB. Free memory was 74.3MB in the beginning and 70.9MB in the end (delta: 3.3MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * RCFGBuilder took 1119.89ms. Allocated memory is still 117.4MB. Free memory was 70.9MB in the beginning and 88.8MB in the end (delta: -17.9MB). Peak memory consumption was 29.7MB. Max. memory is 16.1GB. * TraceAbstraction took 256.86ms. Allocated memory is still 117.4MB. Free memory was 88.8MB in the beginning and 69.9MB in the end (delta: 18.9MB). Peak memory consumption was 18.9MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - ExceptionOrErrorResult: UnsupportedOperationException: Set is immutable de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: UnsupportedOperationException: Set is immutable: de.uni_freiburg.informatik.ultimate.util.datastructures.ImmutableSet.retainAll(ImmutableSet.java:338) RESULT: Ultimate could not prove your program: Toolchain returned no result. [2021-12-15 11:43:12,044 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Forceful destruction successful, exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Using bit-precise analysis Retrying with bit-precise analysis ### Bit-precise run ### Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/AutomizerReach.xml -i ../sv-benchmarks/c/seq-pthread/cs_stateful-2.i -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-32bit-Automizer_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux --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 Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash c1d6cba599289c2637bd3d8da41e464d318a32e6ae6e6e0e391ff437e6ce1fcc --- Real Ultimate output --- This is Ultimate 0.2.2-3a877d227dc491413fd706022d0c47cd97beb353-3a877d2 [2021-12-15 11:43:13,953 INFO L177 SettingsManager]: Resetting all preferences to default values... [2021-12-15 11:43:13,955 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2021-12-15 11:43:13,987 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2021-12-15 11:43:13,988 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2021-12-15 11:43:13,991 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2021-12-15 11:43:13,993 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2021-12-15 11:43:13,997 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2021-12-15 11:43:13,999 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2021-12-15 11:43:14,003 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2021-12-15 11:43:14,004 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2021-12-15 11:43:14,005 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2021-12-15 11:43:14,005 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2021-12-15 11:43:14,008 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2021-12-15 11:43:14,010 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2021-12-15 11:43:14,016 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2021-12-15 11:43:14,017 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2021-12-15 11:43:14,018 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2021-12-15 11:43:14,020 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2021-12-15 11:43:14,025 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2021-12-15 11:43:14,026 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2021-12-15 11:43:14,027 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2021-12-15 11:43:14,028 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2021-12-15 11:43:14,029 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2021-12-15 11:43:14,034 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2021-12-15 11:43:14,037 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2021-12-15 11:43:14,037 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2021-12-15 11:43:14,037 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2021-12-15 11:43:14,038 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2021-12-15 11:43:14,039 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2021-12-15 11:43:14,039 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2021-12-15 11:43:14,040 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2021-12-15 11:43:14,041 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2021-12-15 11:43:14,042 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2021-12-15 11:43:14,043 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2021-12-15 11:43:14,043 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2021-12-15 11:43:14,044 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2021-12-15 11:43:14,044 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2021-12-15 11:43:14,044 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2021-12-15 11:43:14,046 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2021-12-15 11:43:14,046 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2021-12-15 11:43:14,047 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-32bit-Automizer_Bitvector.epf [2021-12-15 11:43:14,077 INFO L113 SettingsManager]: Loading preferences was successful [2021-12-15 11:43:14,078 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2021-12-15 11:43:14,079 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2021-12-15 11:43:14,079 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2021-12-15 11:43:14,080 INFO L136 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2021-12-15 11:43:14,080 INFO L138 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2021-12-15 11:43:14,081 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2021-12-15 11:43:14,081 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2021-12-15 11:43:14,082 INFO L138 SettingsManager]: * Use SBE=true [2021-12-15 11:43:14,082 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2021-12-15 11:43:14,082 INFO L138 SettingsManager]: * sizeof long=4 [2021-12-15 11:43:14,083 INFO L138 SettingsManager]: * sizeof POINTER=4 [2021-12-15 11:43:14,083 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2021-12-15 11:43:14,083 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2021-12-15 11:43:14,083 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2021-12-15 11:43:14,083 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2021-12-15 11:43:14,084 INFO L138 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2021-12-15 11:43:14,084 INFO L138 SettingsManager]: * Use bitvectors instead of ints=true [2021-12-15 11:43:14,084 INFO L138 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2021-12-15 11:43:14,084 INFO L138 SettingsManager]: * sizeof long double=12 [2021-12-15 11:43:14,084 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2021-12-15 11:43:14,084 INFO L138 SettingsManager]: * Use constant arrays=true [2021-12-15 11:43:14,085 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2021-12-15 11:43:14,085 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2021-12-15 11:43:14,085 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2021-12-15 11:43:14,085 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2021-12-15 11:43:14,085 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2021-12-15 11:43:14,086 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2021-12-15 11:43:14,086 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2021-12-15 11:43:14,086 INFO L138 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2021-12-15 11:43:14,086 INFO L138 SettingsManager]: * Trace refinement strategy=WOLF [2021-12-15 11:43:14,086 INFO L138 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2021-12-15 11:43:14,087 INFO L138 SettingsManager]: * Large block encoding in concurrent analysis=OFF [2021-12-15 11:43:14,087 INFO L138 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2021-12-15 11:43:14,087 INFO L138 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2021-12-15 11:43:14,087 INFO L138 SettingsManager]: * Trace refinement exception blacklist=NONE [2021-12-15 11:43:14,087 INFO L138 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2021-12-15 11:43:14,088 INFO L138 SettingsManager]: * Logic for external solver=AUFBV WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/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 -> /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux 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 -> Automizer 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 -> c1d6cba599289c2637bd3d8da41e464d318a32e6ae6e6e0e391ff437e6ce1fcc [2021-12-15 11:43:14,396 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2021-12-15 11:43:14,418 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2021-12-15 11:43:14,420 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2021-12-15 11:43:14,421 INFO L271 PluginConnector]: Initializing CDTParser... [2021-12-15 11:43:14,422 INFO L275 PluginConnector]: CDTParser initialized [2021-12-15 11:43:14,423 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/seq-pthread/cs_stateful-2.i [2021-12-15 11:43:14,478 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/12f149260/3543c51615634f91a606d4bbc2940a36/FLAGe3cb9cb68 [2021-12-15 11:43:14,995 INFO L306 CDTParser]: Found 1 translation units. [2021-12-15 11:43:14,996 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/seq-pthread/cs_stateful-2.i [2021-12-15 11:43:15,011 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/12f149260/3543c51615634f91a606d4bbc2940a36/FLAGe3cb9cb68 [2021-12-15 11:43:15,481 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/12f149260/3543c51615634f91a606d4bbc2940a36 [2021-12-15 11:43:15,483 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2021-12-15 11:43:15,484 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2021-12-15 11:43:15,486 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2021-12-15 11:43:15,486 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2021-12-15 11:43:15,493 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2021-12-15 11:43:15,494 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 15.12 11:43:15" (1/1) ... [2021-12-15 11:43:15,495 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@1dfc2824 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.12 11:43:15, skipping insertion in model container [2021-12-15 11:43:15,496 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 15.12 11:43:15" (1/1) ... [2021-12-15 11:43:15,502 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2021-12-15 11:43:15,536 INFO L178 MainTranslator]: Built tables and reachable declarations [2021-12-15 11:43:15,830 WARN L230 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/seq-pthread/cs_stateful-2.i[23607,23620] [2021-12-15 11:43:15,957 INFO L209 PostProcessor]: Analyzing one entry point: main [2021-12-15 11:43:15,980 INFO L203 MainTranslator]: Completed pre-run [2021-12-15 11:43:16,012 WARN L230 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/seq-pthread/cs_stateful-2.i[23607,23620] [2021-12-15 11:43:16,064 INFO L209 PostProcessor]: Analyzing one entry point: main [2021-12-15 11:43:16,111 INFO L208 MainTranslator]: Completed translation [2021-12-15 11:43:16,112 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.12 11:43:16 WrapperNode [2021-12-15 11:43:16,112 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2021-12-15 11:43:16,113 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2021-12-15 11:43:16,113 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2021-12-15 11:43:16,113 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2021-12-15 11:43:16,119 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.12 11:43:16" (1/1) ... [2021-12-15 11:43:16,158 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.12 11:43:16" (1/1) ... [2021-12-15 11:43:16,204 INFO L137 Inliner]: procedures = 149, calls = 245, calls flagged for inlining = 6, calls inlined = 6, statements flattened = 524 [2021-12-15 11:43:16,207 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2021-12-15 11:43:16,208 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2021-12-15 11:43:16,209 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2021-12-15 11:43:16,209 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2021-12-15 11:43:16,217 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.12 11:43:16" (1/1) ... [2021-12-15 11:43:16,217 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.12 11:43:16" (1/1) ... [2021-12-15 11:43:16,234 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.12 11:43:16" (1/1) ... [2021-12-15 11:43:16,246 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.12 11:43:16" (1/1) ... [2021-12-15 11:43:16,286 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.12 11:43:16" (1/1) ... [2021-12-15 11:43:16,291 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.12 11:43:16" (1/1) ... [2021-12-15 11:43:16,300 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.12 11:43:16" (1/1) ... [2021-12-15 11:43:16,310 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2021-12-15 11:43:16,320 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2021-12-15 11:43:16,320 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2021-12-15 11:43:16,320 INFO L275 PluginConnector]: RCFGBuilder initialized [2021-12-15 11:43:16,321 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.12 11:43:16" (1/1) ... [2021-12-15 11:43:16,328 INFO L168 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2021-12-15 11:43:16,338 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2021-12-15 11:43:16,349 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) [2021-12-15 11:43:16,361 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Waiting until timeout for monitored process [2021-12-15 11:43:16,385 INFO L130 BoogieDeclarations]: Found specification of procedure read~intINTTYPE1 [2021-12-15 11:43:16,386 INFO L130 BoogieDeclarations]: Found specification of procedure read~intINTTYPE4 [2021-12-15 11:43:16,386 INFO L130 BoogieDeclarations]: Found specification of procedure assume_abort_if_not [2021-12-15 11:43:16,386 INFO L138 BoogieDeclarations]: Found implementation of procedure assume_abort_if_not [2021-12-15 11:43:16,386 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2021-12-15 11:43:16,386 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2021-12-15 11:43:16,386 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$ [2021-12-15 11:43:16,387 INFO L130 BoogieDeclarations]: Found specification of procedure __CS_pthread_mutex_init [2021-12-15 11:43:16,387 INFO L138 BoogieDeclarations]: Found implementation of procedure __CS_pthread_mutex_init [2021-12-15 11:43:16,387 INFO L130 BoogieDeclarations]: Found specification of procedure __CS_pthread_mutex_lock [2021-12-15 11:43:16,387 INFO L138 BoogieDeclarations]: Found implementation of procedure __CS_pthread_mutex_lock [2021-12-15 11:43:16,387 INFO L130 BoogieDeclarations]: Found specification of procedure __CS_pthread_create [2021-12-15 11:43:16,387 INFO L138 BoogieDeclarations]: Found implementation of procedure __CS_pthread_create [2021-12-15 11:43:16,387 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$ [2021-12-15 11:43:16,388 INFO L130 BoogieDeclarations]: Found specification of procedure __CS_pthread_join [2021-12-15 11:43:16,388 INFO L138 BoogieDeclarations]: Found implementation of procedure __CS_pthread_join [2021-12-15 11:43:16,388 INFO L130 BoogieDeclarations]: Found specification of procedure ##fun~$Pointer$~TO~$Pointer$ [2021-12-15 11:43:16,388 INFO L138 BoogieDeclarations]: Found implementation of procedure ##fun~$Pointer$~TO~$Pointer$ [2021-12-15 11:43:16,388 INFO L130 BoogieDeclarations]: Found specification of procedure write~intINTTYPE1 [2021-12-15 11:43:16,388 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2021-12-15 11:43:16,388 INFO L130 BoogieDeclarations]: Found specification of procedure write~intINTTYPE4 [2021-12-15 11:43:16,389 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~$Pointer$ [2021-12-15 11:43:16,389 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1 [2021-12-15 11:43:16,389 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE4 [2021-12-15 11:43:16,389 INFO L130 BoogieDeclarations]: Found specification of procedure __CS_cs [2021-12-15 11:43:16,389 INFO L138 BoogieDeclarations]: Found implementation of procedure __CS_cs [2021-12-15 11:43:16,389 INFO L130 BoogieDeclarations]: Found specification of procedure __CS_pthread_mutex_unlock [2021-12-15 11:43:16,389 INFO L138 BoogieDeclarations]: Found implementation of procedure __CS_pthread_mutex_unlock [2021-12-15 11:43:16,390 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2021-12-15 11:43:16,390 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2021-12-15 11:43:16,580 INFO L236 CfgBuilder]: Building ICFG [2021-12-15 11:43:16,582 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2021-12-15 11:43:16,994 INFO L768 $ProcedureCfgBuilder]: dead code at ProgramPoint L750: SUMMARY for call __CS_cs(); srcloc: null [2021-12-15 11:43:16,994 INFO L768 $ProcedureCfgBuilder]: dead code at ProgramPoint L750-1: assume 0bv32 != ~zero_extendFrom8To32(~__CS_ret~0);main_thread_#res#1.base, main_thread_#res#1.offset := 0bv32, 0bv32;call ULTIMATE.dealloc(main_thread_~#t1~0#1.base, main_thread_~#t1~0#1.offset);havoc main_thread_~#t1~0#1.base, main_thread_~#t1~0#1.offset;call ULTIMATE.dealloc(main_thread_~#t2~0#1.base, main_thread_~#t2~0#1.offset);havoc main_thread_~#t2~0#1.base, main_thread_~#t2~0#1.offset; [2021-12-15 11:43:16,994 INFO L768 $ProcedureCfgBuilder]: dead code at ProgramPoint L750-1: assume !(0bv32 != ~zero_extendFrom8To32(~__CS_ret~0)); [2021-12-15 11:43:16,995 INFO L768 $ProcedureCfgBuilder]: dead code at ProgramPoint $Ultimate##31: assume !(0bv32 != ~zero_extendFrom8To32(~__CS_ret~0)); [2021-12-15 11:43:16,995 INFO L768 $ProcedureCfgBuilder]: dead code at ProgramPoint $Ultimate##30: assume 0bv32 != ~zero_extendFrom8To32(~__CS_ret~0);main_thread_#res#1.base, main_thread_#res#1.offset := 0bv32, 0bv32;call ULTIMATE.dealloc(main_thread_~#t1~0#1.base, main_thread_~#t1~0#1.offset);havoc main_thread_~#t1~0#1.base, main_thread_~#t1~0#1.offset;call ULTIMATE.dealloc(main_thread_~#t2~0#1.base, main_thread_~#t2~0#1.offset);havoc main_thread_~#t2~0#1.base, main_thread_~#t2~0#1.offset; [2021-12-15 11:43:16,995 INFO L768 $ProcedureCfgBuilder]: dead code at ProgramPoint $Ultimate##29: assume !(0bv32 != ~zero_extendFrom8To32(~__CS_ret~0)); [2021-12-15 11:43:16,995 INFO L768 $ProcedureCfgBuilder]: dead code at ProgramPoint $Ultimate##28: assume 0bv32 != ~zero_extendFrom8To32(~__CS_ret~0);main_thread_#res#1.base, main_thread_#res#1.offset := 0bv32, 0bv32;call ULTIMATE.dealloc(main_thread_~#t1~0#1.base, main_thread_~#t1~0#1.offset);havoc main_thread_~#t1~0#1.base, main_thread_~#t1~0#1.offset;call ULTIMATE.dealloc(main_thread_~#t2~0#1.base, main_thread_~#t2~0#1.offset);havoc main_thread_~#t2~0#1.base, main_thread_~#t2~0#1.offset; [2021-12-15 11:43:19,916 INFO L277 CfgBuilder]: Performing block encoding [2021-12-15 11:43:19,931 INFO L296 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2021-12-15 11:43:19,931 INFO L301 CfgBuilder]: Removed 2 assume(true) statements. [2021-12-15 11:43:19,934 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 15.12 11:43:19 BoogieIcfgContainer [2021-12-15 11:43:19,935 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2021-12-15 11:43:19,937 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2021-12-15 11:43:19,937 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2021-12-15 11:43:19,940 INFO L275 PluginConnector]: TraceAbstraction initialized [2021-12-15 11:43:19,940 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 15.12 11:43:15" (1/3) ... [2021-12-15 11:43:19,940 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@5563361 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 15.12 11:43:19, skipping insertion in model container [2021-12-15 11:43:19,941 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.12 11:43:16" (2/3) ... [2021-12-15 11:43:19,941 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@5563361 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 15.12 11:43:19, skipping insertion in model container [2021-12-15 11:43:19,942 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 15.12 11:43:19" (3/3) ... [2021-12-15 11:43:19,943 INFO L111 eAbstractionObserver]: Analyzing ICFG cs_stateful-2.i [2021-12-15 11:43:19,948 INFO L204 ceAbstractionStarter]: Automizer settings: Hoare:true NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2021-12-15 11:43:19,949 INFO L163 ceAbstractionStarter]: Applying trace abstraction to program that has 1 error locations. [2021-12-15 11:43:20,008 INFO L338 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2021-12-15 11:43:20,017 INFO L339 AbstractCegarLoop]: Settings: SEPARATE_VIOLATION_CHECK=true, mInterprocedural=true, mMaxIterations=1000000, mWatchIteration=1000000, mArtifact=RCFG, mInterpolation=FPandBP, mInterpolantAutomaton=STRAIGHT_LINE, mDumpAutomata=false, mAutomataFormat=ATS_NUMERATE, mDumpPath=., mDeterminiation=PREDICATE_ABSTRACTION, mMinimize=MINIMIZE_SEVPA, mHoare=true, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=LoopsAndPotentialCycles, mDumpOnlyReuseAutomata=false, mLimitTraceHistogram=0, mErrorLocTimeLimit=0, mLimitPathProgramCount=0, mCollectInterpolantStatistics=true, mHeuristicEmptinessCheck=false, mHeuristicEmptinessCheckAStarHeuristic=ZERO, mHeuristicEmptinessCheckAStarHeuristicRandomSeed=1337, mHeuristicEmptinessCheckSmtFeatureScoringMethod=DAGSIZE, mSMTFeatureExtraction=false, mSMTFeatureExtractionDumpPath=., mOverrideInterpolantAutomaton=false, mMcrInterpolantMethod=WP, mLoopAccelerationTechnique=FAST_UPR [2021-12-15 11:43:20,017 INFO L340 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2021-12-15 11:43:20,040 INFO L276 IsEmpty]: Start isEmpty. Operand has 175 states, 111 states have (on average 1.4504504504504505) internal successors, (161), 112 states have internal predecessors, (161), 54 states have call successors, (54), 8 states have call predecessors, (54), 8 states have return successors, (54), 54 states have call predecessors, (54), 54 states have call successors, (54) [2021-12-15 11:43:20,061 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 73 [2021-12-15 11:43:20,062 INFO L506 BasicCegarLoop]: Found error trace [2021-12-15 11:43:20,063 INFO L514 BasicCegarLoop]: trace histogram [10, 10, 10, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-12-15 11:43:20,064 INFO L402 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION === [ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION] === [2021-12-15 11:43:20,068 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-15 11:43:20,069 INFO L85 PathProgramCache]: Analyzing trace with hash 246520095, now seen corresponding path program 1 times [2021-12-15 11:43:20,082 INFO L121 FreeRefinementEngine]: Executing refinement strategy WOLF [2021-12-15 11:43:20,082 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleMathsat [95952480] [2021-12-15 11:43:20,083 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-15 11:43:20,083 INFO L168 SolverBuilder]: Constructing external solver with command: mathsat -unsat_core_generation=3 [2021-12-15 11:43:20,097 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat [2021-12-15 11:43:20,100 INFO L229 MonitoredProcess]: Starting monitored process 2 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -unsat_core_generation=3 (exit command is (exit), workingDir is null) [2021-12-15 11:43:20,101 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -unsat_core_generation=3 (2)] Waiting until timeout for monitored process [2021-12-15 11:43:20,267 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -unsat_core_generation=3 (2)] Forceful destruction successful, exit code 0 [2021-12-15 11:43:20,466 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 2 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -unsat_core_generation=3 [2021-12-15 11:43:20,467 FATAL L? ?]: The Plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction has thrown an exception: java.lang.UnsupportedOperationException: Set is immutable at de.uni_freiburg.informatik.ultimate.util.datastructures.ImmutableSet.retainAll(ImmutableSet.java:338) at de.uni_freiburg.informatik.ultimate.lib.modelcheckerutils.cfg.transitions.UnmodifiableTransFormula.removeSuperfluousVars(UnmodifiableTransFormula.java:212) at de.uni_freiburg.informatik.ultimate.lib.modelcheckerutils.cfg.transitions.TransFormulaBuilder.finishConstruction(TransFormulaBuilder.java:273) at de.uni_freiburg.informatik.ultimate.lib.modelcheckerutils.cfg.OldVarsAssignmentCache.constructGlobalVarsAssignment(OldVarsAssignmentCache.java:155) at de.uni_freiburg.informatik.ultimate.lib.modelcheckerutils.cfg.OldVarsAssignmentCache.getGlobalVarsAssignment(OldVarsAssignmentCache.java:93) at de.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.singletracecheck.DefaultTransFormulas.getGlobalVarAssignmentFromValidPos(DefaultTransFormulas.java:89) at de.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.singletracecheck.DefaultTransFormulas.getGlobalVarAssignmentFromValidPos(DefaultTransFormulas.java:1) at de.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.singletracecheck.NestedFormulas.getGlobalVarAssignment(NestedFormulas.java:126) at de.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.singletracecheck.TraceCheckUtils.decoupleArrayValues(TraceCheckUtils.java:384) at de.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.singletracecheck.InterpolatingTraceCheck.(InterpolatingTraceCheck.java:87) at de.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.singletracecheck.TraceCheckSpWp.(TraceCheckSpWp.java:132) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.tracehandling.IpTcStrategyModuleSpWp.construct(IpTcStrategyModuleSpWp.java:108) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.tracehandling.IpTcStrategyModuleSpWp.construct(IpTcStrategyModuleSpWp.java:1) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.tracehandling.IpTcStrategyModuleBase.getOrConstruct(IpTcStrategyModuleBase.java:100) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.tracehandling.IpTcStrategyModuleBase.isCorrect(IpTcStrategyModuleBase.java:56) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.tracehandling.AutomatonFreeRefinementEngine.checkFeasibility(AutomatonFreeRefinementEngine.java:211) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.tracehandling.AutomatonFreeRefinementEngine.executeStrategy(AutomatonFreeRefinementEngine.java:124) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.tracehandling.AutomatonFreeRefinementEngine.(AutomatonFreeRefinementEngine.java:88) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.tracehandling.TraceAbstractionRefinementEngine.(TraceAbstractionRefinementEngine.java:76) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.BasicCegarLoop.isCounterexampleFeasible(BasicCegarLoop.java:610) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.AbstractCegarLoop.iterate(AbstractCegarLoop.java:413) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.AbstractCegarLoop.startCegar(AbstractCegarLoop.java:348) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.AbstractCegarLoop.runCegar(AbstractCegarLoop.java:330) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.CegarLoopUtils.getCegarLoopResult(CegarLoopUtils.java:56) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionStarter.executeCegarLoop(TraceAbstractionStarter.java:393) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionStarter.analyseProgram(TraceAbstractionStarter.java:303) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionStarter.analyseSequentialProgram(TraceAbstractionStarter.java:263) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionStarter.runCegarLoops(TraceAbstractionStarter.java:176) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionStarter.(TraceAbstractionStarter.java:155) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver.finish(TraceAbstractionObserver.java:123) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.runObserver(PluginConnector.java:168) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.runTool(PluginConnector.java:151) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.run(PluginConnector.java:128) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.executePluginConnector(ToolchainWalker.java:232) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.processPlugin(ToolchainWalker.java:226) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.walkUnprotected(ToolchainWalker.java:142) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.walk(ToolchainWalker.java:104) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainManager$Toolchain.processToolchain(ToolchainManager.java:320) at de.uni_freiburg.informatik.ultimate.core.coreplugin.toolchain.DefaultToolchainJob.run(DefaultToolchainJob.java:145) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63) [2021-12-15 11:43:20,473 INFO L158 Benchmark]: Toolchain (without parser) took 4987.00ms. Allocated memory was 58.7MB in the beginning and 88.1MB in the end (delta: 29.4MB). Free memory was 36.6MB in the beginning and 50.7MB in the end (delta: -14.1MB). Peak memory consumption was 23.3MB. Max. memory is 16.1GB. [2021-12-15 11:43:20,474 INFO L158 Benchmark]: CDTParser took 0.21ms. Allocated memory is still 58.7MB. Free memory was 41.5MB in the beginning and 41.5MB in the end (delta: 73.5kB). There was no memory consumed. Max. memory is 16.1GB. [2021-12-15 11:43:20,474 INFO L158 Benchmark]: CACSL2BoogieTranslator took 626.67ms. Allocated memory was 58.7MB in the beginning and 71.3MB in the end (delta: 12.6MB). Free memory was 36.3MB in the beginning and 51.0MB in the end (delta: -14.7MB). Peak memory consumption was 17.2MB. Max. memory is 16.1GB. [2021-12-15 11:43:20,475 INFO L158 Benchmark]: Boogie Procedure Inliner took 94.59ms. Allocated memory is still 71.3MB. Free memory was 51.0MB in the beginning and 46.8MB in the end (delta: 4.1MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2021-12-15 11:43:20,476 INFO L158 Benchmark]: Boogie Preprocessor took 110.41ms. Allocated memory is still 71.3MB. Free memory was 46.8MB in the beginning and 42.7MB in the end (delta: 4.2MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2021-12-15 11:43:20,481 INFO L158 Benchmark]: RCFGBuilder took 3615.04ms. Allocated memory is still 71.3MB. Free memory was 42.7MB in the beginning and 36.2MB in the end (delta: 6.4MB). Peak memory consumption was 18.1MB. Max. memory is 16.1GB. [2021-12-15 11:43:20,483 INFO L158 Benchmark]: TraceAbstraction took 534.00ms. Allocated memory was 71.3MB in the beginning and 88.1MB in the end (delta: 16.8MB). Free memory was 35.9MB in the beginning and 50.7MB in the end (delta: -14.9MB). Peak memory consumption was 9.3MB. Max. memory is 16.1GB. [2021-12-15 11:43:20,486 INFO L339 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.21ms. Allocated memory is still 58.7MB. Free memory was 41.5MB in the beginning and 41.5MB in the end (delta: 73.5kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 626.67ms. Allocated memory was 58.7MB in the beginning and 71.3MB in the end (delta: 12.6MB). Free memory was 36.3MB in the beginning and 51.0MB in the end (delta: -14.7MB). Peak memory consumption was 17.2MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 94.59ms. Allocated memory is still 71.3MB. Free memory was 51.0MB in the beginning and 46.8MB in the end (delta: 4.1MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * Boogie Preprocessor took 110.41ms. Allocated memory is still 71.3MB. Free memory was 46.8MB in the beginning and 42.7MB in the end (delta: 4.2MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * RCFGBuilder took 3615.04ms. Allocated memory is still 71.3MB. Free memory was 42.7MB in the beginning and 36.2MB in the end (delta: 6.4MB). Peak memory consumption was 18.1MB. Max. memory is 16.1GB. * TraceAbstraction took 534.00ms. Allocated memory was 71.3MB in the beginning and 88.1MB in the end (delta: 16.8MB). Free memory was 35.9MB in the beginning and 50.7MB in the end (delta: -14.9MB). Peak memory consumption was 9.3MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - ExceptionOrErrorResult: UnsupportedOperationException: Set is immutable de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: UnsupportedOperationException: Set is immutable: de.uni_freiburg.informatik.ultimate.util.datastructures.ImmutableSet.retainAll(ImmutableSet.java:338) RESULT: Ultimate could not prove your program: Toolchain returned no result. [2021-12-15 11:43:20,526 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Forceful destruction successful, exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Result: ERROR: ExceptionOrErrorResult: UnsupportedOperationException: Set is immutable