./Ultimate.py --spec ../../../trunk/examples/svcomp/properties/unreach-call.prp --file ../../../trunk/examples/svcomp/pthread-ext/36_stack_cas_p0_vs_concur.i --full-output --witness-type correctness_witness --witnessparser.only.consider.loop.invariants false --validate ./goblint.2023-12-19_14-39-08.files/SV-COMP24_unreach-call/36_stack_cas_p0_vs_concur.yml/witness.yml --architecture 32bit -------------------------------------------------------------------------------- Checking for ERROR reachability Using default analysis Version 80b1b132 Calling Ultimate with: /root/.sdkman/candidates/java/current/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/AutomizerReachWitnessValidation.xml -i ../../../trunk/examples/svcomp/pthread-ext/36_stack_cas_p0_vs_concur.i ./goblint.2023-12-19_14-39-08.files/SV-COMP24_unreach-call/36_stack_cas_p0_vs_concur.yml/witness.yml -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --traceabstraction.compute.hoare.annotation.of.negated.interpolant.automaton,.abstraction.and.cfg false --witnessparser.only.consider.loop.invariants false --- Real Ultimate output --- This is Ultimate 0.2.4-?-80b1b13-m [2024-01-31 16:43:08,533 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-01-31 16:43:08,611 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-32bit-Automizer_Default.epf [2024-01-31 16:43:08,616 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-01-31 16:43:08,617 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-01-31 16:43:08,643 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-01-31 16:43:08,644 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-01-31 16:43:08,645 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-01-31 16:43:08,645 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-01-31 16:43:08,649 INFO L153 SettingsManager]: * Use memory slicer=true [2024-01-31 16:43:08,649 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-01-31 16:43:08,650 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-01-31 16:43:08,651 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-01-31 16:43:08,652 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-01-31 16:43:08,652 INFO L153 SettingsManager]: * Use SBE=true [2024-01-31 16:43:08,653 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-01-31 16:43:08,653 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-01-31 16:43:08,653 INFO L153 SettingsManager]: * sizeof long=4 [2024-01-31 16:43:08,654 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-01-31 16:43:08,654 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-01-31 16:43:08,654 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-01-31 16:43:08,655 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-01-31 16:43:08,655 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-01-31 16:43:08,655 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-01-31 16:43:08,656 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-01-31 16:43:08,656 INFO L153 SettingsManager]: * sizeof long double=12 [2024-01-31 16:43:08,656 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-01-31 16:43:08,656 INFO L153 SettingsManager]: * Use constant arrays=true [2024-01-31 16:43:08,657 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-01-31 16:43:08,657 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-01-31 16:43:08,658 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-01-31 16:43:08,659 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-01-31 16:43:08,659 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-01-31 16:43:08,659 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-01-31 16:43:08,660 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-01-31 16:43:08,660 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-01-31 16:43:08,660 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-01-31 16:43:08,660 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-01-31 16:43:08,661 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-01-31 16:43:08,661 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-01-31 16:43:08,661 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2024-01-31 16:43:08,662 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-01-31 16:43:08,662 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-01-31 16:43:08,662 INFO L153 SettingsManager]: * Looper check in Petri net analysis=SEMANTIC 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.plugins.generator.traceabstraction: Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessparser: Only consider loop invariants -> false [2024-01-31 16:43:08,948 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-01-31 16:43:08,969 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-01-31 16:43:08,971 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-01-31 16:43:08,972 INFO L270 PluginConnector]: Initializing Witness Parser... [2024-01-31 16:43:08,973 INFO L274 PluginConnector]: Witness Parser initialized [2024-01-31 16:43:08,974 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/./goblint.2023-12-19_14-39-08.files/SV-COMP24_unreach-call/36_stack_cas_p0_vs_concur.yml/witness.yml [2024-01-31 16:43:09,180 INFO L270 PluginConnector]: Initializing CDTParser... [2024-01-31 16:43:09,181 INFO L274 PluginConnector]: CDTParser initialized [2024-01-31 16:43:09,182 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/pthread-ext/36_stack_cas_p0_vs_concur.i [2024-01-31 16:43:10,395 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-01-31 16:43:10,645 INFO L384 CDTParser]: Found 1 translation units. [2024-01-31 16:43:10,645 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/pthread-ext/36_stack_cas_p0_vs_concur.i [2024-01-31 16:43:10,663 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/db6348378/f0dc416d41644ba08c495f4b9f6c4ebf/FLAGb8d609c02 [2024-01-31 16:43:10,673 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/db6348378/f0dc416d41644ba08c495f4b9f6c4ebf [2024-01-31 16:43:10,674 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-01-31 16:43:10,675 INFO L133 ToolchainWalker]: Walking toolchain with 5 elements. [2024-01-31 16:43:10,676 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-01-31 16:43:10,677 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-01-31 16:43:10,681 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-01-31 16:43:10,681 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "witness.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 31.01 04:43:09" (1/2) ... [2024-01-31 16:43:10,682 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@3b8917aa and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 31.01 04:43:10, skipping insertion in model container [2024-01-31 16:43:10,682 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "witness.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 31.01 04:43:09" (1/2) ... [2024-01-31 16:43:10,684 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@4cda49b3 and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 31.01 04:43:10, skipping insertion in model container [2024-01-31 16:43:10,684 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 31.01 04:43:10" (2/2) ... [2024-01-31 16:43:10,685 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@3b8917aa and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.01 04:43:10, skipping insertion in model container [2024-01-31 16:43:10,685 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 31.01 04:43:10" (2/2) ... [2024-01-31 16:43:10,685 INFO L83 nessWitnessExtractor]: Extracting all invariants from correctness witness [2024-01-31 16:43:10,963 INFO L96 nessWitnessExtractor]: Found the following entries in the witness: [2024-01-31 16:43:10,964 INFO L98 nessWitnessExtractor]: Location invariant before [L732-L732] ((((1 <= next_alloc_idx) && (next_alloc_idx <= 66)) && (top == 0)) && (next_alloc_idx % 2 == 1)) && ((unsigned long )arg == 0UL) [2024-01-31 16:43:11,009 INFO L179 MainTranslator]: Built tables and reachable declarations [2024-01-31 16:43:11,326 WARN L239 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/pthread-ext/36_stack_cas_p0_vs_concur.i[30869,30882] [2024-01-31 16:43:11,333 INFO L209 PostProcessor]: Analyzing one entry point: main [2024-01-31 16:43:11,344 INFO L204 MainTranslator]: Completed pre-run [2024-01-31 16:43:11,388 WARN L239 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/pthread-ext/36_stack_cas_p0_vs_concur.i[30869,30882] Start Parsing Local [2024-01-31 16:43:11,422 INFO L209 PostProcessor]: Analyzing one entry point: main [2024-01-31 16:43:11,452 INFO L208 MainTranslator]: Completed translation [2024-01-31 16:43:11,453 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.01 04:43:11 WrapperNode [2024-01-31 16:43:11,453 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-01-31 16:43:11,454 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-01-31 16:43:11,454 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-01-31 16:43:11,455 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-01-31 16:43:11,461 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.01 04:43:11" (1/1) ... [2024-01-31 16:43:11,473 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.01 04:43:11" (1/1) ... [2024-01-31 16:43:11,504 INFO L138 Inliner]: procedures = 172, calls = 40, calls flagged for inlining = 6, calls inlined = 6, statements flattened = 108 [2024-01-31 16:43:11,504 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-01-31 16:43:11,505 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-01-31 16:43:11,505 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-01-31 16:43:11,505 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-01-31 16:43:11,515 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.01 04:43:11" (1/1) ... [2024-01-31 16:43:11,515 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.01 04:43:11" (1/1) ... [2024-01-31 16:43:11,518 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.01 04:43:11" (1/1) ... [2024-01-31 16:43:11,531 INFO L175 MemorySlicer]: Split 18 memory accesses to 5 slices as follows [2, 1, 6, 6, 3]. 33 percent of accesses are in the largest equivalence class. The 3 initializations are split as follows [2, 0, 0, 1, 0]. The 6 writes are split as follows [0, 1, 2, 1, 2]. [2024-01-31 16:43:11,532 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.01 04:43:11" (1/1) ... [2024-01-31 16:43:11,533 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.01 04:43:11" (1/1) ... [2024-01-31 16:43:11,543 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.01 04:43:11" (1/1) ... [2024-01-31 16:43:11,547 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.01 04:43:11" (1/1) ... [2024-01-31 16:43:11,549 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.01 04:43:11" (1/1) ... [2024-01-31 16:43:11,550 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.01 04:43:11" (1/1) ... [2024-01-31 16:43:11,553 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-01-31 16:43:11,553 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-01-31 16:43:11,554 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-01-31 16:43:11,554 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-01-31 16:43:11,555 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.01 04:43:11" (1/1) ... [2024-01-31 16:43:11,561 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-01-31 16:43:11,567 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-01-31 16:43:11,595 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (exit command is (exit), workingDir is null) [2024-01-31 16:43:11,679 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Waiting until timeout for monitored process [2024-01-31 16:43:11,711 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#0 [2024-01-31 16:43:11,711 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#1 [2024-01-31 16:43:11,711 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#2 [2024-01-31 16:43:11,711 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#3 [2024-01-31 16:43:11,712 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#4 [2024-01-31 16:43:11,712 INFO L130 BoogieDeclarations]: Found specification of procedure thr1 [2024-01-31 16:43:11,712 INFO L138 BoogieDeclarations]: Found implementation of procedure thr1 [2024-01-31 16:43:11,712 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#0 [2024-01-31 16:43:11,713 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#1 [2024-01-31 16:43:11,713 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#2 [2024-01-31 16:43:11,713 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#3 [2024-01-31 16:43:11,713 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#4 [2024-01-31 16:43:11,714 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_begin [2024-01-31 16:43:11,714 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-01-31 16:43:11,714 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2024-01-31 16:43:11,714 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2024-01-31 16:43:11,715 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2024-01-31 16:43:11,715 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#1 [2024-01-31 16:43:11,717 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#2 [2024-01-31 16:43:11,717 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#3 [2024-01-31 16:43:11,717 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#4 [2024-01-31 16:43:11,717 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_end [2024-01-31 16:43:11,717 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-01-31 16:43:11,718 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-01-31 16:43:11,719 WARN L214 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement [2024-01-31 16:43:11,859 INFO L244 CfgBuilder]: Building ICFG [2024-01-31 16:43:11,861 INFO L270 CfgBuilder]: Building CFG for each procedure with an implementation [2024-01-31 16:43:12,045 INFO L289 CfgBuilder]: Ommited future-live optimization because the input is a concurrent program. [2024-01-31 16:43:12,045 INFO L293 CfgBuilder]: Performing block encoding [2024-01-31 16:43:12,218 INFO L315 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-01-31 16:43:12,218 INFO L320 CfgBuilder]: Removed 3 assume(true) statements. [2024-01-31 16:43:12,219 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 31.01 04:43:12 BoogieIcfgContainer [2024-01-31 16:43:12,219 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-01-31 16:43:12,221 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2024-01-31 16:43:12,221 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2024-01-31 16:43:12,224 INFO L274 PluginConnector]: TraceAbstraction initialized [2024-01-31 16:43:12,224 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "witness.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 31.01 04:43:09" (1/4) ... [2024-01-31 16:43:12,225 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@2cf3fc91 and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CORRECTNESS_WITNESS 31.01 04:43:12, skipping insertion in model container [2024-01-31 16:43:12,225 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 31.01 04:43:10" (2/4) ... [2024-01-31 16:43:12,226 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@2cf3fc91 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 31.01 04:43:12, skipping insertion in model container [2024-01-31 16:43:12,227 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.01 04:43:11" (3/4) ... [2024-01-31 16:43:12,227 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@2cf3fc91 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 31.01 04:43:12, skipping insertion in model container [2024-01-31 16:43:12,227 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 31.01 04:43:12" (4/4) ... [2024-01-31 16:43:12,228 INFO L112 eAbstractionObserver]: Analyzing ICFG 36_stack_cas_p0_vs_concur.i [2024-01-31 16:43:12,246 INFO L204 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2024-01-31 16:43:12,246 INFO L163 ceAbstractionStarter]: Applying trace abstraction to program that has 2 error locations. [2024-01-31 16:43:12,246 INFO L518 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2024-01-31 16:43:12,308 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2024-01-31 16:43:12,350 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 23 places, 23 transitions, 50 flow [2024-01-31 16:43:12,393 INFO L124 PetriNetUnfolderBase]: 3/25 cut-off events. [2024-01-31 16:43:12,395 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-01-31 16:43:12,397 INFO L83 FinitePrefix]: Finished finitePrefix Result has 29 conditions, 25 events. 3/25 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 4. Compared 28 event pairs, 0 based on Foata normal form. 0/18 useless extension candidates. Maximal degree in co-relation 20. Up to 2 conditions per place. [2024-01-31 16:43:12,398 INFO L82 GeneralOperation]: Start removeDead. Operand has 23 places, 23 transitions, 50 flow [2024-01-31 16:43:12,401 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 23 places, 23 transitions, 50 flow [2024-01-31 16:43:12,413 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-01-31 16:43:12,419 INFO L357 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=false, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=LoopHeads, 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, mPorIndependenceSettings=[Lde.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.partialorder.independence.IndependenceSettings;@1f43ba22, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-01-31 16:43:12,419 INFO L358 AbstractCegarLoop]: Starting to check reachability of 5 error locations. [2024-01-31 16:43:12,428 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-01-31 16:43:12,430 INFO L124 PetriNetUnfolderBase]: 0/11 cut-off events. [2024-01-31 16:43:12,431 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-01-31 16:43:12,431 INFO L200 CegarLoopForPetriNet]: Found error trace [2024-01-31 16:43:12,432 INFO L208 CegarLoopForPetriNet]: trace histogram [2, 1, 1, 1, 1] [2024-01-31 16:43:12,432 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [thr1Err0ASSERT_VIOLATIONWITNESS_INVARIANT, thr1Err1ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 2 more)] === [2024-01-31 16:43:12,437 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2024-01-31 16:43:12,437 INFO L85 PathProgramCache]: Analyzing trace with hash 1112331867, now seen corresponding path program 1 times [2024-01-31 16:43:12,445 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-01-31 16:43:12,445 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [252753736] [2024-01-31 16:43:12,446 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-01-31 16:43:12,446 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-01-31 16:43:12,554 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-01-31 16:43:12,555 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-01-31 16:43:12,588 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-01-31 16:43:12,617 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-01-31 16:43:12,618 INFO L360 BasicCegarLoop]: Counterexample is feasible [2024-01-31 16:43:12,619 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (4 of 5 remaining) [2024-01-31 16:43:12,621 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONWITNESS_INVARIANT (3 of 5 remaining) [2024-01-31 16:43:12,622 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONERROR_FUNCTION (2 of 5 remaining) [2024-01-31 16:43:12,622 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONWITNESS_INVARIANT (1 of 5 remaining) [2024-01-31 16:43:12,623 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONERROR_FUNCTION (0 of 5 remaining) [2024-01-31 16:43:12,623 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2024-01-31 16:43:12,624 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2024-01-31 16:43:12,628 WARN L234 ceAbstractionStarter]: 1 thread instances were not sufficient, I will increase this number and restart the analysis [2024-01-31 16:43:12,628 INFO L518 ceAbstractionStarter]: Constructing petrified ICFG for 2 thread instances. [2024-01-31 16:43:12,665 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2024-01-31 16:43:12,668 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 40 places, 41 transitions, 92 flow [2024-01-31 16:43:12,690 INFO L124 PetriNetUnfolderBase]: 6/46 cut-off events. [2024-01-31 16:43:12,691 INFO L125 PetriNetUnfolderBase]: For 2/2 co-relation queries the response was YES. [2024-01-31 16:43:12,692 INFO L83 FinitePrefix]: Finished finitePrefix Result has 54 conditions, 46 events. 6/46 cut-off events. For 2/2 co-relation queries the response was YES. Maximal size of possible extension queue 6. Compared 93 event pairs, 0 based on Foata normal form. 0/33 useless extension candidates. Maximal degree in co-relation 37. Up to 3 conditions per place. [2024-01-31 16:43:12,692 INFO L82 GeneralOperation]: Start removeDead. Operand has 40 places, 41 transitions, 92 flow [2024-01-31 16:43:12,693 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 40 places, 41 transitions, 92 flow [2024-01-31 16:43:12,694 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-01-31 16:43:12,696 INFO L357 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=false, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=LoopHeads, 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, mPorIndependenceSettings=[Lde.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.partialorder.independence.IndependenceSettings;@1f43ba22, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-01-31 16:43:12,696 INFO L358 AbstractCegarLoop]: Starting to check reachability of 7 error locations. [2024-01-31 16:43:12,707 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-01-31 16:43:12,707 INFO L124 PetriNetUnfolderBase]: 0/22 cut-off events. [2024-01-31 16:43:12,707 INFO L125 PetriNetUnfolderBase]: For 2/2 co-relation queries the response was YES. [2024-01-31 16:43:12,707 INFO L200 CegarLoopForPetriNet]: Found error trace [2024-01-31 16:43:12,707 INFO L208 CegarLoopForPetriNet]: trace histogram [3, 2, 1, 1, 1, 1] [2024-01-31 16:43:12,708 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [thr1Err0ASSERT_VIOLATIONWITNESS_INVARIANT, thr1Err1ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 4 more)] === [2024-01-31 16:43:12,708 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2024-01-31 16:43:12,708 INFO L85 PathProgramCache]: Analyzing trace with hash 304936668, now seen corresponding path program 1 times [2024-01-31 16:43:12,709 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-01-31 16:43:12,709 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1267377057] [2024-01-31 16:43:12,709 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-01-31 16:43:12,710 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-01-31 16:43:12,739 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-01-31 16:43:12,740 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-01-31 16:43:12,752 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-01-31 16:43:12,758 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-01-31 16:43:12,758 INFO L360 BasicCegarLoop]: Counterexample is feasible [2024-01-31 16:43:12,758 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (6 of 7 remaining) [2024-01-31 16:43:12,759 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONWITNESS_INVARIANT (5 of 7 remaining) [2024-01-31 16:43:12,759 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONERROR_FUNCTION (4 of 7 remaining) [2024-01-31 16:43:12,759 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONWITNESS_INVARIANT (3 of 7 remaining) [2024-01-31 16:43:12,759 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONERROR_FUNCTION (2 of 7 remaining) [2024-01-31 16:43:12,760 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONWITNESS_INVARIANT (1 of 7 remaining) [2024-01-31 16:43:12,760 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONERROR_FUNCTION (0 of 7 remaining) [2024-01-31 16:43:12,760 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2024-01-31 16:43:12,760 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2024-01-31 16:43:12,761 WARN L234 ceAbstractionStarter]: 2 thread instances were not sufficient, I will increase this number and restart the analysis [2024-01-31 16:43:12,761 INFO L518 ceAbstractionStarter]: Constructing petrified ICFG for 3 thread instances. [2024-01-31 16:43:12,809 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2024-01-31 16:43:12,811 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 57 places, 59 transitions, 136 flow [2024-01-31 16:43:12,828 INFO L124 PetriNetUnfolderBase]: 9/67 cut-off events. [2024-01-31 16:43:12,828 INFO L125 PetriNetUnfolderBase]: For 7/7 co-relation queries the response was YES. [2024-01-31 16:43:12,829 INFO L83 FinitePrefix]: Finished finitePrefix Result has 80 conditions, 67 events. 9/67 cut-off events. For 7/7 co-relation queries the response was YES. Maximal size of possible extension queue 7. Compared 172 event pairs, 0 based on Foata normal form. 0/48 useless extension candidates. Maximal degree in co-relation 54. Up to 4 conditions per place. [2024-01-31 16:43:12,829 INFO L82 GeneralOperation]: Start removeDead. Operand has 57 places, 59 transitions, 136 flow [2024-01-31 16:43:12,830 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 57 places, 59 transitions, 136 flow [2024-01-31 16:43:12,831 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-01-31 16:43:12,832 INFO L357 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=false, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=LoopHeads, 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, mPorIndependenceSettings=[Lde.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.partialorder.independence.IndependenceSettings;@1f43ba22, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-01-31 16:43:12,832 INFO L358 AbstractCegarLoop]: Starting to check reachability of 9 error locations. [2024-01-31 16:43:12,841 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-01-31 16:43:12,841 INFO L124 PetriNetUnfolderBase]: 1/30 cut-off events. [2024-01-31 16:43:12,841 INFO L125 PetriNetUnfolderBase]: For 4/4 co-relation queries the response was YES. [2024-01-31 16:43:12,841 INFO L200 CegarLoopForPetriNet]: Found error trace [2024-01-31 16:43:12,841 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-01-31 16:43:12,842 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting thr1Err0ASSERT_VIOLATIONWITNESS_INVARIANT === [thr1Err0ASSERT_VIOLATIONWITNESS_INVARIANT, thr1Err1ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 6 more)] === [2024-01-31 16:43:12,842 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2024-01-31 16:43:12,843 INFO L85 PathProgramCache]: Analyzing trace with hash 1198269474, now seen corresponding path program 1 times [2024-01-31 16:43:12,843 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-01-31 16:43:12,843 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [304674161] [2024-01-31 16:43:12,844 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-01-31 16:43:12,846 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-01-31 16:43:12,887 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-01-31 16:43:12,957 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-01-31 16:43:12,957 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-01-31 16:43:12,958 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [304674161] [2024-01-31 16:43:12,958 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [304674161] provided 1 perfect and 0 imperfect interpolant sequences [2024-01-31 16:43:12,958 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-01-31 16:43:12,958 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2024-01-31 16:43:12,959 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [558200538] [2024-01-31 16:43:12,959 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-01-31 16:43:12,966 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 2 states [2024-01-31 16:43:12,971 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-01-31 16:43:13,003 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2024-01-31 16:43:13,004 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2024-01-31 16:43:13,005 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 7 out of 59 [2024-01-31 16:43:13,007 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 57 places, 59 transitions, 136 flow. Second operand has 2 states, 2 states have (on average 11.5) internal successors, (23), 2 states have internal predecessors, (23), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-01-31 16:43:13,007 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-01-31 16:43:13,007 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 7 of 59 [2024-01-31 16:43:13,008 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-01-31 16:43:16,169 INFO L124 PetriNetUnfolderBase]: 20197/27530 cut-off events. [2024-01-31 16:43:16,169 INFO L125 PetriNetUnfolderBase]: For 1097/1097 co-relation queries the response was YES. [2024-01-31 16:43:16,232 INFO L83 FinitePrefix]: Finished finitePrefix Result has 55575 conditions, 27530 events. 20197/27530 cut-off events. For 1097/1097 co-relation queries the response was YES. Maximal size of possible extension queue 541. Compared 141884 event pairs, 16993 based on Foata normal form. 1600/24258 useless extension candidates. Maximal degree in co-relation 33221. Up to 27324 conditions per place. [2024-01-31 16:43:16,391 INFO L140 encePairwiseOnDemand]: 52/59 looper letters, 45 selfloop transitions, 0 changer transitions 0/52 dead transitions. [2024-01-31 16:43:16,391 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 54 places, 52 transitions, 212 flow [2024-01-31 16:43:16,393 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2024-01-31 16:43:16,395 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 2 states. [2024-01-31 16:43:16,401 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 2 states to 2 states and 66 transitions. [2024-01-31 16:43:16,403 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.559322033898305 [2024-01-31 16:43:16,405 INFO L175 Difference]: Start difference. First operand has 57 places, 59 transitions, 136 flow. Second operand 2 states and 66 transitions. [2024-01-31 16:43:16,406 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 54 places, 52 transitions, 212 flow [2024-01-31 16:43:16,410 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 54 places, 52 transitions, 210 flow, removed 1 selfloop flow, removed 0 redundant places. [2024-01-31 16:43:16,412 INFO L231 Difference]: Finished difference. Result has 54 places, 52 transitions, 120 flow [2024-01-31 16:43:16,413 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=59, PETRI_DIFFERENCE_MINUEND_FLOW=120, PETRI_DIFFERENCE_MINUEND_PLACES=53, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=52, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=52, PETRI_DIFFERENCE_SUBTRAHEND_STATES=2, PETRI_FLOW=120, PETRI_PLACES=54, PETRI_TRANSITIONS=52} [2024-01-31 16:43:16,417 INFO L281 CegarLoopForPetriNet]: 57 programPoint places, -3 predicate places. [2024-01-31 16:43:16,417 INFO L495 AbstractCegarLoop]: Abstraction has has 54 places, 52 transitions, 120 flow [2024-01-31 16:43:16,417 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 2 states, 2 states have (on average 11.5) internal successors, (23), 2 states have internal predecessors, (23), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-01-31 16:43:16,417 INFO L200 CegarLoopForPetriNet]: Found error trace [2024-01-31 16:43:16,418 INFO L208 CegarLoopForPetriNet]: trace histogram [4, 3, 1, 1, 1, 1, 1] [2024-01-31 16:43:16,418 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2 [2024-01-31 16:43:16,418 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [thr1Err0ASSERT_VIOLATIONWITNESS_INVARIANT, thr1Err1ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 6 more)] === [2024-01-31 16:43:16,419 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2024-01-31 16:43:16,419 INFO L85 PathProgramCache]: Analyzing trace with hash -199562790, now seen corresponding path program 1 times [2024-01-31 16:43:16,419 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-01-31 16:43:16,419 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1606735872] [2024-01-31 16:43:16,419 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-01-31 16:43:16,423 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-01-31 16:43:16,455 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-01-31 16:43:16,456 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-01-31 16:43:16,466 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-01-31 16:43:16,474 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-01-31 16:43:16,482 INFO L360 BasicCegarLoop]: Counterexample is feasible [2024-01-31 16:43:16,482 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (8 of 9 remaining) [2024-01-31 16:43:16,482 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONWITNESS_INVARIANT (7 of 9 remaining) [2024-01-31 16:43:16,483 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONERROR_FUNCTION (6 of 9 remaining) [2024-01-31 16:43:16,483 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONWITNESS_INVARIANT (5 of 9 remaining) [2024-01-31 16:43:16,483 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONERROR_FUNCTION (4 of 9 remaining) [2024-01-31 16:43:16,483 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONWITNESS_INVARIANT (3 of 9 remaining) [2024-01-31 16:43:16,483 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONERROR_FUNCTION (2 of 9 remaining) [2024-01-31 16:43:16,484 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONWITNESS_INVARIANT (1 of 9 remaining) [2024-01-31 16:43:16,484 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONERROR_FUNCTION (0 of 9 remaining) [2024-01-31 16:43:16,484 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3 [2024-01-31 16:43:16,484 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1] [2024-01-31 16:43:16,485 WARN L234 ceAbstractionStarter]: 3 thread instances were not sufficient, I will increase this number and restart the analysis [2024-01-31 16:43:16,485 INFO L518 ceAbstractionStarter]: Constructing petrified ICFG for 4 thread instances. [2024-01-31 16:43:16,560 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2024-01-31 16:43:16,564 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 74 places, 77 transitions, 182 flow [2024-01-31 16:43:16,580 INFO L124 PetriNetUnfolderBase]: 12/88 cut-off events. [2024-01-31 16:43:16,580 INFO L125 PetriNetUnfolderBase]: For 16/16 co-relation queries the response was YES. [2024-01-31 16:43:16,581 INFO L83 FinitePrefix]: Finished finitePrefix Result has 107 conditions, 88 events. 12/88 cut-off events. For 16/16 co-relation queries the response was YES. Maximal size of possible extension queue 7. Compared 249 event pairs, 0 based on Foata normal form. 0/63 useless extension candidates. Maximal degree in co-relation 79. Up to 5 conditions per place. [2024-01-31 16:43:16,581 INFO L82 GeneralOperation]: Start removeDead. Operand has 74 places, 77 transitions, 182 flow [2024-01-31 16:43:16,585 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 74 places, 77 transitions, 182 flow [2024-01-31 16:43:16,586 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-01-31 16:43:16,588 INFO L357 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=false, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=LoopHeads, 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, mPorIndependenceSettings=[Lde.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.partialorder.independence.IndependenceSettings;@1f43ba22, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-01-31 16:43:16,588 INFO L358 AbstractCegarLoop]: Starting to check reachability of 11 error locations. [2024-01-31 16:43:16,596 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-01-31 16:43:16,597 INFO L124 PetriNetUnfolderBase]: 1/30 cut-off events. [2024-01-31 16:43:16,597 INFO L125 PetriNetUnfolderBase]: For 4/4 co-relation queries the response was YES. [2024-01-31 16:43:16,597 INFO L200 CegarLoopForPetriNet]: Found error trace [2024-01-31 16:43:16,597 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-01-31 16:43:16,598 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting thr1Err0ASSERT_VIOLATIONWITNESS_INVARIANT === [thr1Err0ASSERT_VIOLATIONWITNESS_INVARIANT, thr1Err1ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 8 more)] === [2024-01-31 16:43:16,598 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2024-01-31 16:43:16,598 INFO L85 PathProgramCache]: Analyzing trace with hash -1861149502, now seen corresponding path program 1 times [2024-01-31 16:43:16,599 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-01-31 16:43:16,599 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1747707729] [2024-01-31 16:43:16,599 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-01-31 16:43:16,599 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-01-31 16:43:16,626 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-01-31 16:43:16,648 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-01-31 16:43:16,651 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-01-31 16:43:16,651 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1747707729] [2024-01-31 16:43:16,651 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1747707729] provided 1 perfect and 0 imperfect interpolant sequences [2024-01-31 16:43:16,651 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-01-31 16:43:16,652 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2024-01-31 16:43:16,652 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [458428888] [2024-01-31 16:43:16,652 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-01-31 16:43:16,653 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 2 states [2024-01-31 16:43:16,653 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-01-31 16:43:16,653 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2024-01-31 16:43:16,654 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2024-01-31 16:43:16,654 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 9 out of 77 [2024-01-31 16:43:16,654 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 74 places, 77 transitions, 182 flow. Second operand has 2 states, 2 states have (on average 13.5) internal successors, (27), 2 states have internal predecessors, (27), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-01-31 16:43:16,654 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-01-31 16:43:16,655 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 9 of 77 [2024-01-31 16:43:16,655 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand