/usr/bin/java -Xmx16000000000 -Xss4m -jar ./plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar -data @noDefault -ultimatedata ./data -tc ../../../trunk/examples/toolchains/AutomizerCInline.xml -s ../../../trunk/examples/settings/automizer/concurrent/svcomp-Reach-32bit-Automizer_Default-noMmResRef-PN-SemanticLbe.epf -i ../../../trunk/examples/svcomp/pthread/stateful01-1.i -------------------------------------------------------------------------------- This is Ultimate 0.1.25-7bb8cbd [2020-10-15 23:59:51,743 INFO L177 SettingsManager]: Resetting all preferences to default values... [2020-10-15 23:59:51,745 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2020-10-15 23:59:51,783 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2020-10-15 23:59:51,783 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2020-10-15 23:59:51,790 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2020-10-15 23:59:51,791 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2020-10-15 23:59:51,796 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2020-10-15 23:59:51,798 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2020-10-15 23:59:51,799 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2020-10-15 23:59:51,800 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2020-10-15 23:59:51,801 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2020-10-15 23:59:51,803 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2020-10-15 23:59:51,804 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2020-10-15 23:59:51,805 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2020-10-15 23:59:51,806 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2020-10-15 23:59:51,807 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2020-10-15 23:59:51,807 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2020-10-15 23:59:51,809 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2020-10-15 23:59:51,811 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2020-10-15 23:59:51,812 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2020-10-15 23:59:51,813 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2020-10-15 23:59:51,818 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2020-10-15 23:59:51,819 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2020-10-15 23:59:51,821 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2020-10-15 23:59:51,821 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2020-10-15 23:59:51,821 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2020-10-15 23:59:51,822 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2020-10-15 23:59:51,823 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2020-10-15 23:59:51,824 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2020-10-15 23:59:51,824 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2020-10-15 23:59:51,825 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2020-10-15 23:59:51,826 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2020-10-15 23:59:51,826 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2020-10-15 23:59:51,827 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2020-10-15 23:59:51,828 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2020-10-15 23:59:51,828 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2020-10-15 23:59:51,828 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2020-10-15 23:59:51,829 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2020-10-15 23:59:51,829 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2020-10-15 23:59:51,830 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2020-10-15 23:59:51,831 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/settings/automizer/concurrent/svcomp-Reach-32bit-Automizer_Default-noMmResRef-PN-SemanticLbe.epf [2020-10-15 23:59:51,858 INFO L113 SettingsManager]: Loading preferences was successful [2020-10-15 23:59:51,858 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2020-10-15 23:59:51,860 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2020-10-15 23:59:51,860 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2020-10-15 23:59:51,860 INFO L138 SettingsManager]: * Use SBE=true [2020-10-15 23:59:51,860 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2020-10-15 23:59:51,861 INFO L138 SettingsManager]: * sizeof long=4 [2020-10-15 23:59:51,861 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2020-10-15 23:59:51,861 INFO L138 SettingsManager]: * sizeof POINTER=4 [2020-10-15 23:59:51,861 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2020-10-15 23:59:51,861 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2020-10-15 23:59:51,862 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2020-10-15 23:59:51,862 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2020-10-15 23:59:51,862 INFO L138 SettingsManager]: * sizeof long double=12 [2020-10-15 23:59:51,862 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2020-10-15 23:59:51,862 INFO L138 SettingsManager]: * Use constant arrays=true [2020-10-15 23:59:51,863 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2020-10-15 23:59:51,863 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2020-10-15 23:59:51,863 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2020-10-15 23:59:51,863 INFO L138 SettingsManager]: * To the following directory=./dump/ [2020-10-15 23:59:51,863 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2020-10-15 23:59:51,864 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2020-10-15 23:59:51,864 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2020-10-15 23:59:51,864 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2020-10-15 23:59:51,864 INFO L138 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2020-10-15 23:59:51,864 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2020-10-15 23:59:51,865 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2020-10-15 23:59:51,865 INFO L138 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2020-10-15 23:59:51,865 INFO L138 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2020-10-15 23:59:52,190 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2020-10-15 23:59:52,203 INFO L258 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2020-10-15 23:59:52,207 INFO L214 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2020-10-15 23:59:52,209 INFO L271 PluginConnector]: Initializing CDTParser... [2020-10-15 23:59:52,209 INFO L275 PluginConnector]: CDTParser initialized [2020-10-15 23:59:52,210 INFO L429 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/pthread/stateful01-1.i [2020-10-15 23:59:52,282 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/a0c67c559/cf8f4887a5594694af8f4cb124ea35d0/FLAGee1ab2c3a [2020-10-15 23:59:52,844 INFO L306 CDTParser]: Found 1 translation units. [2020-10-15 23:59:52,844 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/pthread/stateful01-1.i [2020-10-15 23:59:52,860 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/a0c67c559/cf8f4887a5594694af8f4cb124ea35d0/FLAGee1ab2c3a [2020-10-15 23:59:53,170 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/a0c67c559/cf8f4887a5594694af8f4cb124ea35d0 [2020-10-15 23:59:53,179 INFO L296 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2020-10-15 23:59:53,181 INFO L131 ToolchainWalker]: Walking toolchain with 5 elements. [2020-10-15 23:59:53,182 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2020-10-15 23:59:53,182 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2020-10-15 23:59:53,186 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2020-10-15 23:59:53,187 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 15.10 11:59:53" (1/1) ... [2020-10-15 23:59:53,190 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@2d100e6e and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.10 11:59:53, skipping insertion in model container [2020-10-15 23:59:53,190 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 15.10 11:59:53" (1/1) ... [2020-10-15 23:59:53,198 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2020-10-15 23:59:53,263 INFO L178 MainTranslator]: Built tables and reachable declarations [2020-10-15 23:59:53,666 INFO L206 PostProcessor]: Analyzing one entry point: main [2020-10-15 23:59:53,682 INFO L203 MainTranslator]: Completed pre-run [2020-10-15 23:59:53,724 INFO L206 PostProcessor]: Analyzing one entry point: main [2020-10-15 23:59:53,808 INFO L208 MainTranslator]: Completed translation [2020-10-15 23:59:53,809 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.10 11:59:53 WrapperNode [2020-10-15 23:59:53,809 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2020-10-15 23:59:53,810 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2020-10-15 23:59:53,810 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2020-10-15 23:59:53,810 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2020-10-15 23:59:53,820 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.10 11:59:53" (1/1) ... [2020-10-15 23:59:53,837 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.10 11:59:53" (1/1) ... [2020-10-15 23:59:53,861 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2020-10-15 23:59:53,862 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2020-10-15 23:59:53,862 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2020-10-15 23:59:53,862 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2020-10-15 23:59:53,872 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.10 11:59:53" (1/1) ... [2020-10-15 23:59:53,872 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.10 11:59:53" (1/1) ... [2020-10-15 23:59:53,876 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.10 11:59:53" (1/1) ... [2020-10-15 23:59:53,876 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.10 11:59:53" (1/1) ... [2020-10-15 23:59:53,882 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.10 11:59:53" (1/1) ... [2020-10-15 23:59:53,884 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.10 11:59:53" (1/1) ... [2020-10-15 23:59:53,886 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.10 11:59:53" (1/1) ... [2020-10-15 23:59:53,889 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2020-10-15 23:59:53,890 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2020-10-15 23:59:53,890 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2020-10-15 23:59:53,890 INFO L275 PluginConnector]: RCFGBuilder initialized [2020-10-15 23:59:53,891 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.10 11:59:53" (1/1) ... No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2020-10-15 23:59:53,968 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2020-10-15 23:59:53,968 INFO L130 BoogieDeclarations]: Found specification of procedure thread1 [2020-10-15 23:59:53,968 INFO L138 BoogieDeclarations]: Found implementation of procedure thread1 [2020-10-15 23:59:53,968 INFO L130 BoogieDeclarations]: Found specification of procedure thread2 [2020-10-15 23:59:53,968 INFO L138 BoogieDeclarations]: Found implementation of procedure thread2 [2020-10-15 23:59:53,969 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2020-10-15 23:59:53,969 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2020-10-15 23:59:53,969 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2020-10-15 23:59:53,969 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2020-10-15 23:59:53,969 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2020-10-15 23:59:53,970 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2020-10-15 23:59:53,970 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2020-10-15 23:59:53,972 WARN L208 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to SingleStatement [2020-10-15 23:59:54,383 INFO L293 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2020-10-15 23:59:54,383 INFO L298 CfgBuilder]: Removed 4 assume(true) statements. [2020-10-15 23:59:54,385 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 15.10 11:59:54 BoogieIcfgContainer [2020-10-15 23:59:54,385 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2020-10-15 23:59:54,387 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2020-10-15 23:59:54,387 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2020-10-15 23:59:54,390 INFO L275 PluginConnector]: TraceAbstraction initialized [2020-10-15 23:59:54,390 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 15.10 11:59:53" (1/3) ... [2020-10-15 23:59:54,391 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@b5998b3 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 15.10 11:59:54, skipping insertion in model container [2020-10-15 23:59:54,391 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.10 11:59:53" (2/3) ... [2020-10-15 23:59:54,392 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@b5998b3 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 15.10 11:59:54, skipping insertion in model container [2020-10-15 23:59:54,392 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 15.10 11:59:54" (3/3) ... [2020-10-15 23:59:54,394 INFO L111 eAbstractionObserver]: Analyzing ICFG stateful01-1.i [2020-10-15 23:59:54,407 INFO L164 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2020-10-15 23:59:54,419 INFO L176 ceAbstractionStarter]: Appying trace abstraction to program that has 1 error locations. [2020-10-15 23:59:54,420 INFO L348 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2020-10-15 23:59:54,451 WARN L313 ript$VariableManager]: TermVariabe |thread1Thread1of1ForFork0_#in~arg.offset| not constructed by VariableManager. Cannot ensure absence of name clashes. [2020-10-15 23:59:54,451 WARN L313 ript$VariableManager]: TermVariabe |thread1Thread1of1ForFork0_#in~arg.base| not constructed by VariableManager. Cannot ensure absence of name clashes. [2020-10-15 23:59:54,451 WARN L313 ript$VariableManager]: TermVariabe thread1Thread1of1ForFork0_~arg.offset not constructed by VariableManager. Cannot ensure absence of name clashes. [2020-10-15 23:59:54,452 WARN L313 ript$VariableManager]: TermVariabe thread1Thread1of1ForFork0_~arg.base not constructed by VariableManager. Cannot ensure absence of name clashes. [2020-10-15 23:59:54,452 WARN L313 ript$VariableManager]: TermVariabe |thread1Thread1of1ForFork0_#t~nondet2| not constructed by VariableManager. Cannot ensure absence of name clashes. [2020-10-15 23:59:54,452 WARN L313 ript$VariableManager]: TermVariabe |thread1Thread1of1ForFork0_#t~nondet2| not constructed by VariableManager. Cannot ensure absence of name clashes. [2020-10-15 23:59:54,453 WARN L313 ript$VariableManager]: TermVariabe |thread1Thread1of1ForFork0_#t~post3| not constructed by VariableManager. Cannot ensure absence of name clashes. [2020-10-15 23:59:54,453 WARN L313 ript$VariableManager]: TermVariabe |thread1Thread1of1ForFork0_#t~post3| not constructed by VariableManager. Cannot ensure absence of name clashes. [2020-10-15 23:59:54,453 WARN L313 ript$VariableManager]: TermVariabe |thread1Thread1of1ForFork0_#t~post3| not constructed by VariableManager. Cannot ensure absence of name clashes. [2020-10-15 23:59:54,454 WARN L313 ript$VariableManager]: TermVariabe |thread1Thread1of1ForFork0_#t~nondet4| not constructed by VariableManager. Cannot ensure absence of name clashes. [2020-10-15 23:59:54,454 WARN L313 ript$VariableManager]: TermVariabe |thread1Thread1of1ForFork0_#t~nondet4| not constructed by VariableManager. Cannot ensure absence of name clashes. [2020-10-15 23:59:54,454 WARN L313 ript$VariableManager]: TermVariabe |thread1Thread1of1ForFork0_#t~post5| not constructed by VariableManager. Cannot ensure absence of name clashes. [2020-10-15 23:59:54,454 WARN L313 ript$VariableManager]: TermVariabe |thread1Thread1of1ForFork0_#t~post5| not constructed by VariableManager. Cannot ensure absence of name clashes. [2020-10-15 23:59:54,455 WARN L313 ript$VariableManager]: TermVariabe |thread1Thread1of1ForFork0_#t~post5| not constructed by VariableManager. Cannot ensure absence of name clashes. [2020-10-15 23:59:54,455 WARN L313 ript$VariableManager]: TermVariabe |thread1Thread1of1ForFork0_#res.base| not constructed by VariableManager. Cannot ensure absence of name clashes. [2020-10-15 23:59:54,455 WARN L313 ript$VariableManager]: TermVariabe |thread1Thread1of1ForFork0_#res.offset| not constructed by VariableManager. Cannot ensure absence of name clashes. [2020-10-15 23:59:54,456 WARN L313 ript$VariableManager]: TermVariabe |thread2Thread1of1ForFork1_#in~arg.offset| not constructed by VariableManager. Cannot ensure absence of name clashes. [2020-10-15 23:59:54,456 WARN L313 ript$VariableManager]: TermVariabe |thread2Thread1of1ForFork1_#in~arg.base| not constructed by VariableManager. Cannot ensure absence of name clashes. [2020-10-15 23:59:54,456 WARN L313 ript$VariableManager]: TermVariabe thread2Thread1of1ForFork1_~arg.offset not constructed by VariableManager. Cannot ensure absence of name clashes. [2020-10-15 23:59:54,456 WARN L313 ript$VariableManager]: TermVariabe thread2Thread1of1ForFork1_~arg.base not constructed by VariableManager. Cannot ensure absence of name clashes. [2020-10-15 23:59:54,457 WARN L313 ript$VariableManager]: TermVariabe |thread2Thread1of1ForFork1_#t~nondet6| not constructed by VariableManager. Cannot ensure absence of name clashes. [2020-10-15 23:59:54,457 WARN L313 ript$VariableManager]: TermVariabe |thread2Thread1of1ForFork1_#t~nondet6| not constructed by VariableManager. Cannot ensure absence of name clashes. [2020-10-15 23:59:54,457 WARN L313 ript$VariableManager]: TermVariabe |thread2Thread1of1ForFork1_#t~nondet7| not constructed by VariableManager. Cannot ensure absence of name clashes. [2020-10-15 23:59:54,458 WARN L313 ript$VariableManager]: TermVariabe |thread2Thread1of1ForFork1_#t~nondet7| not constructed by VariableManager. Cannot ensure absence of name clashes. [2020-10-15 23:59:54,458 WARN L313 ript$VariableManager]: TermVariabe |thread2Thread1of1ForFork1_#res.offset| not constructed by VariableManager. Cannot ensure absence of name clashes. [2020-10-15 23:59:54,459 WARN L313 ript$VariableManager]: TermVariabe |thread2Thread1of1ForFork1_#res.base| not constructed by VariableManager. Cannot ensure absence of name clashes. [2020-10-15 23:59:54,463 WARN L313 ript$VariableManager]: TermVariabe |thread1Thread1of1ForFork0_#t~nondet4| not constructed by VariableManager. Cannot ensure absence of name clashes. [2020-10-15 23:59:54,463 WARN L313 ript$VariableManager]: TermVariabe |thread1Thread1of1ForFork0_#t~nondet2| not constructed by VariableManager. Cannot ensure absence of name clashes. [2020-10-15 23:59:54,463 WARN L313 ript$VariableManager]: TermVariabe |thread1Thread1of1ForFork0_#res.base| not constructed by VariableManager. Cannot ensure absence of name clashes. [2020-10-15 23:59:54,463 WARN L313 ript$VariableManager]: TermVariabe thread1Thread1of1ForFork0_~arg.offset not constructed by VariableManager. Cannot ensure absence of name clashes. [2020-10-15 23:59:54,464 WARN L313 ript$VariableManager]: TermVariabe thread1Thread1of1ForFork0_~arg.base not constructed by VariableManager. Cannot ensure absence of name clashes. [2020-10-15 23:59:54,464 WARN L313 ript$VariableManager]: TermVariabe |thread1Thread1of1ForFork0_#t~post3| not constructed by VariableManager. Cannot ensure absence of name clashes. [2020-10-15 23:59:54,464 WARN L313 ript$VariableManager]: TermVariabe |thread1Thread1of1ForFork0_#res.offset| not constructed by VariableManager. Cannot ensure absence of name clashes. [2020-10-15 23:59:54,464 WARN L313 ript$VariableManager]: TermVariabe |thread1Thread1of1ForFork0_#t~post5| not constructed by VariableManager. Cannot ensure absence of name clashes. [2020-10-15 23:59:54,470 WARN L313 ript$VariableManager]: TermVariabe |thread2Thread1of1ForFork1_#res.offset| not constructed by VariableManager. Cannot ensure absence of name clashes. [2020-10-15 23:59:54,470 WARN L313 ript$VariableManager]: TermVariabe thread2Thread1of1ForFork1_~arg.base not constructed by VariableManager. Cannot ensure absence of name clashes. [2020-10-15 23:59:54,470 WARN L313 ript$VariableManager]: TermVariabe thread2Thread1of1ForFork1_~arg.offset not constructed by VariableManager. Cannot ensure absence of name clashes. [2020-10-15 23:59:54,471 WARN L313 ript$VariableManager]: TermVariabe |thread2Thread1of1ForFork1_#res.base| not constructed by VariableManager. Cannot ensure absence of name clashes. [2020-10-15 23:59:54,471 WARN L313 ript$VariableManager]: TermVariabe |thread2Thread1of1ForFork1_#t~nondet7| not constructed by VariableManager. Cannot ensure absence of name clashes. [2020-10-15 23:59:54,471 WARN L313 ript$VariableManager]: TermVariabe |thread2Thread1of1ForFork1_#t~nondet6| not constructed by VariableManager. Cannot ensure absence of name clashes. [2020-10-15 23:59:54,494 INFO L253 AbstractCegarLoop]: Starting to check reachability of 3 error locations. [2020-10-15 23:59:54,515 INFO L377 AbstractCegarLoop]: Interprodecural is true [2020-10-15 23:59:54,515 INFO L378 AbstractCegarLoop]: Hoare is false [2020-10-15 23:59:54,515 INFO L379 AbstractCegarLoop]: Compute interpolants for FPandBP [2020-10-15 23:59:54,515 INFO L380 AbstractCegarLoop]: Backedges is STRAIGHT_LINE [2020-10-15 23:59:54,515 INFO L381 AbstractCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2020-10-15 23:59:54,515 INFO L382 AbstractCegarLoop]: Difference is false [2020-10-15 23:59:54,516 INFO L383 AbstractCegarLoop]: Minimize is MINIMIZE_SEVPA [2020-10-15 23:59:54,516 INFO L387 AbstractCegarLoop]: ======== Iteration 0==of CEGAR loop == AllErrorsAtOnce======== [2020-10-15 23:59:54,529 INFO L71 FinitePrefix]: Start finitePrefix. Operand has 82 places, 78 transitions, 178 flow [2020-10-15 23:59:54,577 INFO L129 PetriNetUnfolder]: 2/78 cut-off events. [2020-10-15 23:59:54,578 INFO L130 PetriNetUnfolder]: For 4/4 co-relation queries the response was YES. [2020-10-15 23:59:54,581 INFO L80 FinitePrefix]: Finished finitePrefix Result has 89 conditions, 78 events. 2/78 cut-off events. For 4/4 co-relation queries the response was YES. Maximal size of possible extension queue 3. Compared 48 event pairs, 0 based on Foata normal form. 0/76 useless extension candidates. Maximal degree in co-relation 27. Up to 3 conditions per place. [2020-10-15 23:59:54,582 INFO L82 GeneralOperation]: Start removeDead. Operand has 82 places, 78 transitions, 178 flow [2020-10-15 23:59:54,587 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 72 places, 67 transitions, 152 flow [2020-10-15 23:59:54,590 INFO L129 etLargeBlockEncoding]: Petri net LBE is using semantic-based independence relation. [2020-10-15 23:59:54,592 INFO L144 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 72 places, 67 transitions, 152 flow [2020-10-15 23:59:54,595 INFO L111 LiptonReduction]: Starting Lipton reduction on Petri net that has 72 places, 67 transitions, 152 flow [2020-10-15 23:59:54,595 INFO L71 FinitePrefix]: Start finitePrefix. Operand has 72 places, 67 transitions, 152 flow [2020-10-15 23:59:54,620 INFO L129 PetriNetUnfolder]: 1/69 cut-off events. [2020-10-15 23:59:54,620 INFO L130 PetriNetUnfolder]: For 4/4 co-relation queries the response was YES. [2020-10-15 23:59:54,621 INFO L80 FinitePrefix]: Finished finitePrefix Result has 80 conditions, 69 events. 1/69 cut-off events. For 4/4 co-relation queries the response was YES. Maximal size of possible extension queue 3. Compared 43 event pairs, 0 based on Foata normal form. 0/69 useless extension candidates. Maximal degree in co-relation 19. Up to 3 conditions per place. [2020-10-15 23:59:54,623 INFO L117 LiptonReduction]: Number of co-enabled transitions 680 [2020-10-15 23:59:55,887 WARN L193 SmtUtils]: Spent 102.00 ms on a formula simplification. DAG size of input: 59 DAG size of output: 57 [2020-10-15 23:59:56,489 WARN L193 SmtUtils]: Spent 413.00 ms on a formula simplification. DAG size of input: 111 DAG size of output: 107 [2020-10-15 23:59:56,688 WARN L193 SmtUtils]: Spent 194.00 ms on a formula simplification that was a NOOP. DAG size: 103 [2020-10-15 23:59:56,697 INFO L132 LiptonReduction]: Checked pairs total: 3107 [2020-10-15 23:59:56,697 INFO L134 LiptonReduction]: Total number of compositions: 40 [2020-10-15 23:59:56,701 INFO L182 CegarLoopForPetriNet]: Time needed for LBE in milliseconds: 2113 [2020-10-15 23:59:56,723 INFO L129 PetriNetUnfolder]: 1/28 cut-off events. [2020-10-15 23:59:56,723 INFO L130 PetriNetUnfolder]: For 4/4 co-relation queries the response was YES. [2020-10-15 23:59:56,723 INFO L247 CegarLoopForPetriNet]: Found error trace [2020-10-15 23:59:56,724 INFO L255 CegarLoopForPetriNet]: trace histogram [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] [2020-10-15 23:59:56,725 INFO L429 AbstractCegarLoop]: === Iteration 1 === [ULTIMATE.startErr1INUSE_VIOLATION, ULTIMATE.startErr0INUSE_VIOLATION, ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2020-10-15 23:59:56,730 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-15 23:59:56,730 INFO L82 PathProgramCache]: Analyzing trace with hash 977701755, now seen corresponding path program 1 times [2020-10-15 23:59:56,741 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-15 23:59:56,741 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1793093145] [2020-10-15 23:59:56,742 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-15 23:59:56,948 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-15 23:59:56,949 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-15 23:59:57,033 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-15 23:59:57,033 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-15 23:59:57,072 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-15 23:59:57,073 INFO L523 BasicCegarLoop]: Counterexample might be feasible [2020-10-15 23:59:57,074 WARN L518 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2020-10-15 23:59:57,135 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 15.10 11:59:57 BasicIcfg [2020-10-15 23:59:57,135 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2020-10-15 23:59:57,137 INFO L168 Benchmark]: Toolchain (without parser) took 3956.25 ms. Allocated memory was 244.8 MB in the beginning and 362.3 MB in the end (delta: 117.4 MB). Free memory was 199.6 MB in the beginning and 307.4 MB in the end (delta: -107.9 MB). Peak memory consumption was 9.6 MB. Max. memory is 14.2 GB. [2020-10-15 23:59:57,138 INFO L168 Benchmark]: CDTParser took 0.23 ms. Allocated memory is still 244.8 MB. Free memory is still 221.2 MB. There was no memory consumed. Max. memory is 14.2 GB. [2020-10-15 23:59:57,139 INFO L168 Benchmark]: CACSL2BoogieTranslator took 627.19 ms. Allocated memory was 244.8 MB in the beginning and 294.6 MB in the end (delta: 49.8 MB). Free memory was 199.6 MB in the beginning and 250.5 MB in the end (delta: -50.9 MB). Peak memory consumption was 29.4 MB. Max. memory is 14.2 GB. [2020-10-15 23:59:57,140 INFO L168 Benchmark]: Boogie Procedure Inliner took 51.93 ms. Allocated memory is still 294.6 MB. Free memory was 250.5 MB in the beginning and 248.0 MB in the end (delta: 2.5 MB). Peak memory consumption was 2.5 MB. Max. memory is 14.2 GB. [2020-10-15 23:59:57,141 INFO L168 Benchmark]: Boogie Preprocessor took 27.56 ms. Allocated memory is still 294.6 MB. Free memory was 248.0 MB in the beginning and 245.4 MB in the end (delta: 2.5 MB). Peak memory consumption was 2.5 MB. Max. memory is 14.2 GB. [2020-10-15 23:59:57,142 INFO L168 Benchmark]: RCFGBuilder took 495.57 ms. Allocated memory is still 294.6 MB. Free memory was 245.4 MB in the beginning and 221.1 MB in the end (delta: 24.4 MB). Peak memory consumption was 24.4 MB. Max. memory is 14.2 GB. [2020-10-15 23:59:57,142 INFO L168 Benchmark]: TraceAbstraction took 2748.45 ms. Allocated memory was 294.6 MB in the beginning and 362.3 MB in the end (delta: 67.6 MB). Free memory was 221.1 MB in the beginning and 307.4 MB in the end (delta: -86.3 MB). There was no memory consumed. Max. memory is 14.2 GB. [2020-10-15 23:59:57,147 INFO L336 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.23 ms. Allocated memory is still 244.8 MB. Free memory is still 221.2 MB. There was no memory consumed. Max. memory is 14.2 GB. * CACSL2BoogieTranslator took 627.19 ms. Allocated memory was 244.8 MB in the beginning and 294.6 MB in the end (delta: 49.8 MB). Free memory was 199.6 MB in the beginning and 250.5 MB in the end (delta: -50.9 MB). Peak memory consumption was 29.4 MB. Max. memory is 14.2 GB. * Boogie Procedure Inliner took 51.93 ms. Allocated memory is still 294.6 MB. Free memory was 250.5 MB in the beginning and 248.0 MB in the end (delta: 2.5 MB). Peak memory consumption was 2.5 MB. Max. memory is 14.2 GB. * Boogie Preprocessor took 27.56 ms. Allocated memory is still 294.6 MB. Free memory was 248.0 MB in the beginning and 245.4 MB in the end (delta: 2.5 MB). Peak memory consumption was 2.5 MB. Max. memory is 14.2 GB. * RCFGBuilder took 495.57 ms. Allocated memory is still 294.6 MB. Free memory was 245.4 MB in the beginning and 221.1 MB in the end (delta: 24.4 MB). Peak memory consumption was 24.4 MB. Max. memory is 14.2 GB. * TraceAbstraction took 2748.45 ms. Allocated memory was 294.6 MB in the beginning and 362.3 MB in the end (delta: 67.6 MB). Free memory was 221.1 MB in the beginning and 307.4 MB in the end (delta: -86.3 MB). There was no memory consumed. Max. memory is 14.2 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - StatisticsResult: PetriNetLargeBlockEncoding benchmarks 441 VarBasedMoverChecksPositive, 40 VarBasedMoverChecksNegative, 11 SemBasedMoverChecksPositive, 29 SemBasedMoverChecksNegative, 0 SemBasedMoverChecksUnknown, SemBasedMoverCheckTime: 0.2s, 163 CheckedPairsTotal, LiptonReductionStatistics: ReductionTime: 2.1s, 72 PlacesBefore, 32 PlacesAfterwards, 67 TransitionsBefore, 27 TransitionsAfterwards, 680 CoEnabledTransitionPairs, 6 FixpointIterations, 26 TrivialSequentialCompositions, 14 ConcurrentSequentialCompositions, 0 TrivialYvCompositions, 0 ConcurrentYvCompositions, 0 ChoiceCompositions, 40 TotalNumberOfCompositions, 3107 MoverChecksTotal - CounterExampleResult [Line: 708]: a call of __VERIFIER_error() is reachable a call of __VERIFIER_error() is reachable We found a FailurePath: [L673] 0 pthread_mutex_t ma, mb; [L674] 0 int data1, data2; [L697] 0 pthread_t t1, t2; [L700] 0 data1 = 10 [L701] 0 data2 = 10 [L702] FCALL, FORK 0 pthread_create(&t1, 0, thread1, 0) VAL [arg={0:0}, data1=10, data2=10, ma={2:0}, mb={5:0}] [L678] 1 data1++ VAL [arg={0:0}, arg={0:0}, data1=11, data2=10, ma={2:0}, mb={5:0}] [L681] 1 data2++ VAL [arg={0:0}, arg={0:0}, data1=11, data2=11, ma={2:0}, mb={5:0}] [L683] 1 return 0; [L703] FCALL, FORK 0 pthread_create(&t2, 0, thread2, 0) VAL [\result={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, data1=11, data2=11, ma={2:0}, mb={5:0}] [L704] 0 \read(t1) VAL [\result={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, data1=11, data2=11, ma={2:0}, mb={5:0}] [L704] FCALL, JOIN 1 pthread_join(t1, 0) VAL [\result={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, data1=11, data2=11, ma={2:0}, mb={5:0}] [L705] 0 \read(t2) VAL [\result={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, data1=11, data2=11, ma={2:0}, mb={5:0}] [L688] 2 data1+=5 VAL [\result={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, data1=16, data2=11, ma={2:0}, mb={5:0}] [L691] 2 data2-=6 VAL [\result={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, data1=16, data2=5, ma={2:0}, mb={5:0}] [L693] 2 return 0; [L705] FCALL, JOIN 2 pthread_join(t2, 0) VAL [\result={0:0}, \result={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, data1=16, data2=5, ma={2:0}, mb={5:0}] [L706] COND TRUE 0 data1==16 && data2==5 [L708] 0 __VERIFIER_error() VAL [\result={0:0}, \result={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, data1=16, data2=5, ma={2:0}, mb={5:0}] - StatisticsResult: Ultimate Automizer benchmark data CFG has 3 procedures, 76 locations, 1 error locations. Started 1 CEGAR loops. EmptinessCheckTime: 0.0s, RemoveRedundantFlowTime: 0.0s, RemoveRedundantFlowUnfoldingTime: 0.0s, BackfoldingTime: 0.0s, BackfoldingUnfoldingTime: 0.0s, FlowIncreaseByBackfolding: 0, BasicCegarLoop: VerificationResult: UNSAFE, OverallTime: 2.5s, OverallIterations: 1, TraceHistogramMax: 1, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 2.1s, HoareTripleCheckerStatistics: No data available, PredicateUnifierStatistics: No data available, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=72occurred in iteration=0, traceCheckStatistics: No data available, 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: TRACE_CHECK: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.0s InterpolantComputationTime, 25 NumberOfCodeBlocks, 25 NumberOfCodeBlocksAsserted, 1 NumberOfCheckSat, 0 ConstructedInterpolants, 0 QuantifiedInterpolants, 0 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 0 InterpolantComputations, 0 PerfectInterpolantSequences, 0/0 InterpolantCoveringCapability, INVARIANT_SYNTHESIS: No data available, INTERPOLANT_CONSOLIDATION: No data available, ABSTRACT_INTERPRETATION: No data available, PDR: No data available, ACCELERATED_INTERPOLATION: No data available, SIFA: No data available, ReuseStatistics: No data available RESULT: Ultimate proved your program to be incorrect! Received shutdown request...