./Ultimate.py --spec ../../../trunk/examples/svcomp/properties/unreach-call.prp --file ../../../trunk/examples/svcomp/pthread-ext/08_rand_cas.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/08_rand_cas.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/08_rand_cas.i ./goblint.2023-12-19_14-39-08.files/SV-COMP24_unreach-call/08_rand_cas.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:42:10,212 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-01-31 16:42:10,286 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-32bit-Automizer_Default.epf [2024-01-31 16:42:10,290 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-01-31 16:42:10,291 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-01-31 16:42:10,320 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-01-31 16:42:10,320 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-01-31 16:42:10,320 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-01-31 16:42:10,321 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-01-31 16:42:10,324 INFO L153 SettingsManager]: * Use memory slicer=true [2024-01-31 16:42:10,324 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-01-31 16:42:10,324 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-01-31 16:42:10,325 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-01-31 16:42:10,326 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-01-31 16:42:10,326 INFO L153 SettingsManager]: * Use SBE=true [2024-01-31 16:42:10,327 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-01-31 16:42:10,327 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-01-31 16:42:10,327 INFO L153 SettingsManager]: * sizeof long=4 [2024-01-31 16:42:10,327 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-01-31 16:42:10,327 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-01-31 16:42:10,327 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-01-31 16:42:10,328 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-01-31 16:42:10,328 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-01-31 16:42:10,328 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-01-31 16:42:10,328 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-01-31 16:42:10,329 INFO L153 SettingsManager]: * sizeof long double=12 [2024-01-31 16:42:10,329 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-01-31 16:42:10,329 INFO L153 SettingsManager]: * Use constant arrays=true [2024-01-31 16:42:10,330 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-01-31 16:42:10,330 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-01-31 16:42:10,330 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-01-31 16:42:10,331 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-01-31 16:42:10,331 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-01-31 16:42:10,331 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-01-31 16:42:10,331 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-01-31 16:42:10,331 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-01-31 16:42:10,332 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-01-31 16:42:10,332 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-01-31 16:42:10,332 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-01-31 16:42:10,332 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-01-31 16:42:10,332 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2024-01-31 16:42:10,332 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-01-31 16:42:10,333 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-01-31 16:42:10,333 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:42:10,520 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-01-31 16:42:10,535 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-01-31 16:42:10,537 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-01-31 16:42:10,538 INFO L270 PluginConnector]: Initializing Witness Parser... [2024-01-31 16:42:10,538 INFO L274 PluginConnector]: Witness Parser initialized [2024-01-31 16:42:10,539 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/08_rand_cas.yml/witness.yml [2024-01-31 16:42:10,637 INFO L270 PluginConnector]: Initializing CDTParser... [2024-01-31 16:42:10,637 INFO L274 PluginConnector]: CDTParser initialized [2024-01-31 16:42:10,637 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/pthread-ext/08_rand_cas.i [2024-01-31 16:42:11,798 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-01-31 16:42:12,028 INFO L384 CDTParser]: Found 1 translation units. [2024-01-31 16:42:12,029 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/pthread-ext/08_rand_cas.i [2024-01-31 16:42:12,047 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/ff89ac87a/201628f4127646f38339043201a4347c/FLAG2dbb8faf5 [2024-01-31 16:42:12,060 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/ff89ac87a/201628f4127646f38339043201a4347c [2024-01-31 16:42:12,061 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-01-31 16:42:12,062 INFO L133 ToolchainWalker]: Walking toolchain with 5 elements. [2024-01-31 16:42:12,064 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-01-31 16:42:12,064 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-01-31 16:42:12,068 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-01-31 16:42:12,069 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "witness.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 31.01 04:42:10" (1/2) ... [2024-01-31 16:42:12,070 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@2618519 and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 31.01 04:42:12, skipping insertion in model container [2024-01-31 16:42:12,070 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "witness.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 31.01 04:42:10" (1/2) ... [2024-01-31 16:42:12,072 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@386fff81 and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 31.01 04:42:12, skipping insertion in model container [2024-01-31 16:42:12,072 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 31.01 04:42:12" (2/2) ... [2024-01-31 16:42:12,072 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@2618519 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.01 04:42:12, skipping insertion in model container [2024-01-31 16:42:12,072 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 31.01 04:42:12" (2/2) ... [2024-01-31 16:42:12,073 INFO L83 nessWitnessExtractor]: Extracting all invariants from correctness witness [2024-01-31 16:42:12,165 INFO L96 nessWitnessExtractor]: Found the following entries in the witness: [2024-01-31 16:42:12,166 INFO L98 nessWitnessExtractor]: Location invariant before [L734-L734] (((((((0LL - (long long )nexts) + (long long )read >= 0LL) && ((long long )nexts - (long long )read >= 0LL)) && (10 == n)) && (n == 10)) && (read != 0)) && (nexts != 0)) && ((((((((2147483648LL + (long long )casret) + (long long )nextInt_return >= 0LL && (2147483648LL - (long long )casret) + (long long )nextInt_return >= 0LL) && (2147483647LL + (long long )casret) - (long long )nextInt_return >= 0LL) && (2147483647LL - (long long )casret) - (long long )nextInt_return >= 0LL) && casret == 0) || ((((4294967296LL + (long long )casret) + (long long )nextInt_return >= 0LL && (4294967295LL - (long long )casret) + (long long )nextInt_return >= 0LL) && (4294967295LL + (long long )casret) - (long long )nextInt_return >= 0LL) && (4294967294LL - (long long )casret) - (long long )nextInt_return >= 0LL)) || (((((2147483648LL + (long long )casret) + (long long )nextInt_return >= 0LL && (2147483648LL - (long long )casret) + (long long )nextInt_return >= 0LL) && (2147483647LL + (long long )casret) - (long long )nextInt_return >= 0LL) && (2147483647LL - (long long )casret) - (long long )nextInt_return >= 0LL) && casret == 0)) || (((((2147483648LL + (long long )casret) + (long long )nextInt_return >= 0LL && (2147483648LL - (long long )casret) + (long long )nextInt_return >= 0LL) && (2147483647LL + (long long )casret) - (long long )nextInt_return >= 0LL) && (2147483647LL - (long long )casret) - (long long )nextInt_return >= 0LL) && casret == 0)) [2024-01-31 16:42:12,207 INFO L179 MainTranslator]: Built tables and reachable declarations [2024-01-31 16:42:12,492 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/08_rand_cas.i[30837,30850] [2024-01-31 16:42:12,499 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/08_rand_cas.i[31185,31198] [2024-01-31 16:42:12,502 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/08_rand_cas.i[31448,31461] [2024-01-31 16:42:12,506 INFO L209 PostProcessor]: Analyzing one entry point: main [2024-01-31 16:42:12,522 INFO L204 MainTranslator]: Completed pre-run [2024-01-31 16:42:12,562 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/08_rand_cas.i[30837,30850] Start Parsing Local [2024-01-31 16:42:12,602 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/08_rand_cas.i[31185,31198] [2024-01-31 16:42:12,605 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/08_rand_cas.i[31448,31461] [2024-01-31 16:42:12,609 INFO L209 PostProcessor]: Analyzing one entry point: main [2024-01-31 16:42:12,638 INFO L208 MainTranslator]: Completed translation [2024-01-31 16:42:12,639 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.01 04:42:12 WrapperNode [2024-01-31 16:42:12,639 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-01-31 16:42:12,641 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-01-31 16:42:12,641 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-01-31 16:42:12,641 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-01-31 16:42:12,646 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:42:12" (1/1) ... [2024-01-31 16:42:12,671 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:42:12" (1/1) ... [2024-01-31 16:42:12,705 INFO L138 Inliner]: procedures = 178, calls = 57, calls flagged for inlining = 13, calls inlined = 14, statements flattened = 186 [2024-01-31 16:42:12,706 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-01-31 16:42:12,711 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-01-31 16:42:12,712 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-01-31 16:42:12,712 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-01-31 16:42:12,720 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.01 04:42:12" (1/1) ... [2024-01-31 16:42:12,720 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.01 04:42:12" (1/1) ... [2024-01-31 16:42:12,723 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.01 04:42:12" (1/1) ... [2024-01-31 16:42:12,733 INFO L175 MemorySlicer]: Split 31 memory accesses to 4 slices as follows [2, 6, 22, 1]. 71 percent of accesses are in the largest equivalence class. The 3 initializations are split as follows [2, 1, 0, 0]. The 5 writes are split as follows [0, 2, 2, 1]. [2024-01-31 16:42:12,734 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.01 04:42:12" (1/1) ... [2024-01-31 16:42:12,734 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.01 04:42:12" (1/1) ... [2024-01-31 16:42:12,739 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.01 04:42:12" (1/1) ... [2024-01-31 16:42:12,746 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.01 04:42:12" (1/1) ... [2024-01-31 16:42:12,751 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.01 04:42:12" (1/1) ... [2024-01-31 16:42:12,757 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.01 04:42:12" (1/1) ... [2024-01-31 16:42:12,759 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-01-31 16:42:12,763 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-01-31 16:42:12,763 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-01-31 16:42:12,763 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-01-31 16:42:12,764 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.01 04:42:12" (1/1) ... [2024-01-31 16:42:12,768 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-01-31 16:42:12,773 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-01-31 16:42:12,785 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:42:12,793 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:42:12,818 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#0 [2024-01-31 16:42:12,818 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#1 [2024-01-31 16:42:12,818 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#2 [2024-01-31 16:42:12,818 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#3 [2024-01-31 16:42:12,818 INFO L130 BoogieDeclarations]: Found specification of procedure thr1 [2024-01-31 16:42:12,819 INFO L138 BoogieDeclarations]: Found implementation of procedure thr1 [2024-01-31 16:42:12,819 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#0 [2024-01-31 16:42:12,819 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#1 [2024-01-31 16:42:12,819 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#2 [2024-01-31 16:42:12,819 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#3 [2024-01-31 16:42:12,819 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_begin [2024-01-31 16:42:12,819 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-01-31 16:42:12,819 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2024-01-31 16:42:12,820 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2024-01-31 16:42:12,820 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2024-01-31 16:42:12,820 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#1 [2024-01-31 16:42:12,820 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#2 [2024-01-31 16:42:12,820 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#3 [2024-01-31 16:42:12,820 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_end [2024-01-31 16:42:12,820 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-01-31 16:42:12,821 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-01-31 16:42:12,822 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:42:12,919 INFO L244 CfgBuilder]: Building ICFG [2024-01-31 16:42:12,921 INFO L270 CfgBuilder]: Building CFG for each procedure with an implementation [2024-01-31 16:42:13,220 INFO L289 CfgBuilder]: Ommited future-live optimization because the input is a concurrent program. [2024-01-31 16:42:13,221 INFO L293 CfgBuilder]: Performing block encoding [2024-01-31 16:42:13,485 INFO L315 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-01-31 16:42:13,486 INFO L320 CfgBuilder]: Removed 4 assume(true) statements. [2024-01-31 16:42:13,487 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 31.01 04:42:13 BoogieIcfgContainer [2024-01-31 16:42:13,487 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-01-31 16:42:13,490 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2024-01-31 16:42:13,490 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2024-01-31 16:42:13,492 INFO L274 PluginConnector]: TraceAbstraction initialized [2024-01-31 16:42:13,492 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "witness.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 31.01 04:42:10" (1/4) ... [2024-01-31 16:42:13,493 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@64f597a9 and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CORRECTNESS_WITNESS 31.01 04:42:13, skipping insertion in model container [2024-01-31 16:42:13,493 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 31.01 04:42:12" (2/4) ... [2024-01-31 16:42:13,494 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@64f597a9 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 31.01 04:42:13, skipping insertion in model container [2024-01-31 16:42:13,494 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.01 04:42:12" (3/4) ... [2024-01-31 16:42:13,494 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@64f597a9 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 31.01 04:42:13, skipping insertion in model container [2024-01-31 16:42:13,495 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 31.01 04:42:13" (4/4) ... [2024-01-31 16:42:13,495 INFO L112 eAbstractionObserver]: Analyzing ICFG 08_rand_cas.i [2024-01-31 16:42:13,509 INFO L204 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2024-01-31 16:42:13,509 INFO L163 ceAbstractionStarter]: Applying trace abstraction to program that has 4 error locations. [2024-01-31 16:42:13,509 INFO L518 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2024-01-31 16:42:13,554 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2024-01-31 16:42:13,583 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 44 places, 51 transitions, 106 flow [2024-01-31 16:42:13,607 INFO L124 PetriNetUnfolderBase]: 10/53 cut-off events. [2024-01-31 16:42:13,607 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-01-31 16:42:13,609 INFO L83 FinitePrefix]: Finished finitePrefix Result has 57 conditions, 53 events. 10/53 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 4. Compared 76 event pairs, 0 based on Foata normal form. 0/37 useless extension candidates. Maximal degree in co-relation 48. Up to 3 conditions per place. [2024-01-31 16:42:13,610 INFO L82 GeneralOperation]: Start removeDead. Operand has 44 places, 51 transitions, 106 flow [2024-01-31 16:42:13,612 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 44 places, 51 transitions, 106 flow [2024-01-31 16:42:13,619 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-01-31 16:42:13,623 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;@38328118, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-01-31 16:42:13,624 INFO L358 AbstractCegarLoop]: Starting to check reachability of 9 error locations. [2024-01-31 16:42:13,627 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-01-31 16:42:13,627 INFO L124 PetriNetUnfolderBase]: 0/9 cut-off events. [2024-01-31 16:42:13,627 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-01-31 16:42:13,627 INFO L200 CegarLoopForPetriNet]: Found error trace [2024-01-31 16:42:13,628 INFO L208 CegarLoopForPetriNet]: trace histogram [2, 1, 1, 1, 1] [2024-01-31 16:42:13,628 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [thr1Err0ASSERT_VIOLATIONERROR_FUNCTION, thr1Err3ASSERT_VIOLATIONERROR_FUNCTION, thr1Err1ASSERT_VIOLATIONWITNESS_INVARIANT (and 6 more)] === [2024-01-31 16:42:13,632 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2024-01-31 16:42:13,632 INFO L85 PathProgramCache]: Analyzing trace with hash -1745798754, now seen corresponding path program 1 times [2024-01-31 16:42:13,639 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-01-31 16:42:13,639 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1302590555] [2024-01-31 16:42:13,639 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-01-31 16:42:13,640 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-01-31 16:42:13,716 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-01-31 16:42:13,717 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-01-31 16:42:13,728 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-01-31 16:42:13,743 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-01-31 16:42:13,744 INFO L360 BasicCegarLoop]: Counterexample is feasible [2024-01-31 16:42:13,745 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (8 of 9 remaining) [2024-01-31 16:42:13,747 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONERROR_FUNCTION (7 of 9 remaining) [2024-01-31 16:42:13,747 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err3ASSERT_VIOLATIONERROR_FUNCTION (6 of 9 remaining) [2024-01-31 16:42:13,747 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONWITNESS_INVARIANT (5 of 9 remaining) [2024-01-31 16:42:13,748 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err2ASSERT_VIOLATIONERROR_FUNCTION (4 of 9 remaining) [2024-01-31 16:42:13,748 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONERROR_FUNCTION (3 of 9 remaining) [2024-01-31 16:42:13,748 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err3ASSERT_VIOLATIONERROR_FUNCTION (2 of 9 remaining) [2024-01-31 16:42:13,748 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONWITNESS_INVARIANT (1 of 9 remaining) [2024-01-31 16:42:13,749 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err2ASSERT_VIOLATIONERROR_FUNCTION (0 of 9 remaining) [2024-01-31 16:42:13,749 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2024-01-31 16:42:13,749 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2024-01-31 16:42:13,752 WARN L234 ceAbstractionStarter]: 1 thread instances were not sufficient, I will increase this number and restart the analysis [2024-01-31 16:42:13,752 INFO L518 ceAbstractionStarter]: Constructing petrified ICFG for 2 thread instances. [2024-01-31 16:42:13,802 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2024-01-31 16:42:13,806 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 82 places, 97 transitions, 204 flow [2024-01-31 16:42:13,836 INFO L124 PetriNetUnfolderBase]: 20/102 cut-off events. [2024-01-31 16:42:13,836 INFO L125 PetriNetUnfolderBase]: For 2/2 co-relation queries the response was YES. [2024-01-31 16:42:13,838 INFO L83 FinitePrefix]: Finished finitePrefix Result has 110 conditions, 102 events. 20/102 cut-off events. For 2/2 co-relation queries the response was YES. Maximal size of possible extension queue 8. Compared 294 event pairs, 0 based on Foata normal form. 0/71 useless extension candidates. Maximal degree in co-relation 93. Up to 3 conditions per place. [2024-01-31 16:42:13,838 INFO L82 GeneralOperation]: Start removeDead. Operand has 82 places, 97 transitions, 204 flow [2024-01-31 16:42:13,841 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 82 places, 97 transitions, 204 flow [2024-01-31 16:42:13,843 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-01-31 16:42:13,845 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;@38328118, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-01-31 16:42:13,845 INFO L358 AbstractCegarLoop]: Starting to check reachability of 13 error locations. [2024-01-31 16:42:13,851 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-01-31 16:42:13,851 INFO L124 PetriNetUnfolderBase]: 1/26 cut-off events. [2024-01-31 16:42:13,851 INFO L125 PetriNetUnfolderBase]: For 2/2 co-relation queries the response was YES. [2024-01-31 16:42:13,852 INFO L200 CegarLoopForPetriNet]: Found error trace [2024-01-31 16:42:13,852 INFO L208 CegarLoopForPetriNet]: trace histogram [3, 2, 1, 1, 1, 1] [2024-01-31 16:42:13,852 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [thr1Err0ASSERT_VIOLATIONERROR_FUNCTION, thr1Err3ASSERT_VIOLATIONERROR_FUNCTION, thr1Err1ASSERT_VIOLATIONWITNESS_INVARIANT (and 10 more)] === [2024-01-31 16:42:13,853 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2024-01-31 16:42:13,853 INFO L85 PathProgramCache]: Analyzing trace with hash 1035715899, now seen corresponding path program 1 times [2024-01-31 16:42:13,854 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-01-31 16:42:13,854 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [902931409] [2024-01-31 16:42:13,854 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-01-31 16:42:13,854 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-01-31 16:42:13,886 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-01-31 16:42:13,887 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-01-31 16:42:13,896 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-01-31 16:42:13,902 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-01-31 16:42:13,903 INFO L360 BasicCegarLoop]: Counterexample is feasible [2024-01-31 16:42:13,903 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (12 of 13 remaining) [2024-01-31 16:42:13,903 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONERROR_FUNCTION (11 of 13 remaining) [2024-01-31 16:42:13,903 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err3ASSERT_VIOLATIONERROR_FUNCTION (10 of 13 remaining) [2024-01-31 16:42:13,903 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONWITNESS_INVARIANT (9 of 13 remaining) [2024-01-31 16:42:13,904 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err2ASSERT_VIOLATIONERROR_FUNCTION (8 of 13 remaining) [2024-01-31 16:42:13,904 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONERROR_FUNCTION (7 of 13 remaining) [2024-01-31 16:42:13,904 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err3ASSERT_VIOLATIONERROR_FUNCTION (6 of 13 remaining) [2024-01-31 16:42:13,904 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONWITNESS_INVARIANT (5 of 13 remaining) [2024-01-31 16:42:13,904 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err2ASSERT_VIOLATIONERROR_FUNCTION (4 of 13 remaining) [2024-01-31 16:42:13,905 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONERROR_FUNCTION (3 of 13 remaining) [2024-01-31 16:42:13,905 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err3ASSERT_VIOLATIONERROR_FUNCTION (2 of 13 remaining) [2024-01-31 16:42:13,905 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONWITNESS_INVARIANT (1 of 13 remaining) [2024-01-31 16:42:13,905 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err2ASSERT_VIOLATIONERROR_FUNCTION (0 of 13 remaining) [2024-01-31 16:42:13,905 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2024-01-31 16:42:13,905 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2024-01-31 16:42:13,906 WARN L234 ceAbstractionStarter]: 2 thread instances were not sufficient, I will increase this number and restart the analysis [2024-01-31 16:42:13,906 INFO L518 ceAbstractionStarter]: Constructing petrified ICFG for 3 thread instances. [2024-01-31 16:42:13,963 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2024-01-31 16:42:13,965 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 120 places, 143 transitions, 304 flow [2024-01-31 16:42:14,023 INFO L124 PetriNetUnfolderBase]: 30/151 cut-off events. [2024-01-31 16:42:14,024 INFO L125 PetriNetUnfolderBase]: For 7/7 co-relation queries the response was YES. [2024-01-31 16:42:14,025 INFO L83 FinitePrefix]: Finished finitePrefix Result has 164 conditions, 151 events. 30/151 cut-off events. For 7/7 co-relation queries the response was YES. Maximal size of possible extension queue 11. Compared 529 event pairs, 0 based on Foata normal form. 0/105 useless extension candidates. Maximal degree in co-relation 138. Up to 4 conditions per place. [2024-01-31 16:42:14,025 INFO L82 GeneralOperation]: Start removeDead. Operand has 120 places, 143 transitions, 304 flow [2024-01-31 16:42:14,027 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 120 places, 143 transitions, 304 flow [2024-01-31 16:42:14,028 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-01-31 16:42:14,029 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;@38328118, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-01-31 16:42:14,037 INFO L358 AbstractCegarLoop]: Starting to check reachability of 17 error locations. [2024-01-31 16:42:14,060 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-01-31 16:42:14,060 INFO L124 PetriNetUnfolderBase]: 1/42 cut-off events. [2024-01-31 16:42:14,061 INFO L125 PetriNetUnfolderBase]: For 7/7 co-relation queries the response was YES. [2024-01-31 16:42:14,061 INFO L200 CegarLoopForPetriNet]: Found error trace [2024-01-31 16:42:14,061 INFO L208 CegarLoopForPetriNet]: trace histogram [4, 3, 1, 1, 1, 1, 1] [2024-01-31 16:42:14,061 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [thr1Err0ASSERT_VIOLATIONERROR_FUNCTION, thr1Err3ASSERT_VIOLATIONERROR_FUNCTION, thr1Err1ASSERT_VIOLATIONWITNESS_INVARIANT (and 14 more)] === [2024-01-31 16:42:14,065 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2024-01-31 16:42:14,065 INFO L85 PathProgramCache]: Analyzing trace with hash -1974314211, now seen corresponding path program 1 times [2024-01-31 16:42:14,066 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-01-31 16:42:14,071 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1289720592] [2024-01-31 16:42:14,071 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-01-31 16:42:14,071 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-01-31 16:42:14,114 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-01-31 16:42:14,120 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-01-31 16:42:14,131 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-01-31 16:42:14,155 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-01-31 16:42:14,158 INFO L360 BasicCegarLoop]: Counterexample is feasible [2024-01-31 16:42:14,159 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (16 of 17 remaining) [2024-01-31 16:42:14,162 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONERROR_FUNCTION (15 of 17 remaining) [2024-01-31 16:42:14,162 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err3ASSERT_VIOLATIONERROR_FUNCTION (14 of 17 remaining) [2024-01-31 16:42:14,162 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONWITNESS_INVARIANT (13 of 17 remaining) [2024-01-31 16:42:14,163 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err2ASSERT_VIOLATIONERROR_FUNCTION (12 of 17 remaining) [2024-01-31 16:42:14,163 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONERROR_FUNCTION (11 of 17 remaining) [2024-01-31 16:42:14,163 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err3ASSERT_VIOLATIONERROR_FUNCTION (10 of 17 remaining) [2024-01-31 16:42:14,163 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONWITNESS_INVARIANT (9 of 17 remaining) [2024-01-31 16:42:14,163 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err2ASSERT_VIOLATIONERROR_FUNCTION (8 of 17 remaining) [2024-01-31 16:42:14,164 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONERROR_FUNCTION (7 of 17 remaining) [2024-01-31 16:42:14,164 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err3ASSERT_VIOLATIONERROR_FUNCTION (6 of 17 remaining) [2024-01-31 16:42:14,164 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONWITNESS_INVARIANT (5 of 17 remaining) [2024-01-31 16:42:14,164 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err2ASSERT_VIOLATIONERROR_FUNCTION (4 of 17 remaining) [2024-01-31 16:42:14,164 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONERROR_FUNCTION (3 of 17 remaining) [2024-01-31 16:42:14,165 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err3ASSERT_VIOLATIONERROR_FUNCTION (2 of 17 remaining) [2024-01-31 16:42:14,165 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONWITNESS_INVARIANT (1 of 17 remaining) [2024-01-31 16:42:14,165 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err2ASSERT_VIOLATIONERROR_FUNCTION (0 of 17 remaining) [2024-01-31 16:42:14,165 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2 [2024-01-31 16:42:14,166 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2024-01-31 16:42:14,166 WARN L234 ceAbstractionStarter]: 3 thread instances were not sufficient, I will increase this number and restart the analysis [2024-01-31 16:42:14,167 INFO L518 ceAbstractionStarter]: Constructing petrified ICFG for 4 thread instances. [2024-01-31 16:42:14,247 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2024-01-31 16:42:14,252 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 158 places, 189 transitions, 406 flow [2024-01-31 16:42:14,287 INFO L124 PetriNetUnfolderBase]: 40/200 cut-off events. [2024-01-31 16:42:14,288 INFO L125 PetriNetUnfolderBase]: For 16/16 co-relation queries the response was YES. [2024-01-31 16:42:14,293 INFO L83 FinitePrefix]: Finished finitePrefix Result has 219 conditions, 200 events. 40/200 cut-off events. For 16/16 co-relation queries the response was YES. Maximal size of possible extension queue 13. Compared 794 event pairs, 0 based on Foata normal form. 0/139 useless extension candidates. Maximal degree in co-relation 183. Up to 5 conditions per place. [2024-01-31 16:42:14,293 INFO L82 GeneralOperation]: Start removeDead. Operand has 158 places, 189 transitions, 406 flow [2024-01-31 16:42:14,298 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 158 places, 189 transitions, 406 flow [2024-01-31 16:42:14,300 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-01-31 16:42:14,303 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;@38328118, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-01-31 16:42:14,303 INFO L358 AbstractCegarLoop]: Starting to check reachability of 21 error locations. [2024-01-31 16:42:14,319 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-01-31 16:42:14,320 INFO L124 PetriNetUnfolderBase]: 4/60 cut-off events. [2024-01-31 16:42:14,320 INFO L125 PetriNetUnfolderBase]: For 10/10 co-relation queries the response was YES. [2024-01-31 16:42:14,320 INFO L200 CegarLoopForPetriNet]: Found error trace [2024-01-31 16:42:14,320 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-01-31 16:42:14,321 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting thr1Err0ASSERT_VIOLATIONERROR_FUNCTION === [thr1Err0ASSERT_VIOLATIONERROR_FUNCTION, thr1Err3ASSERT_VIOLATIONERROR_FUNCTION, thr1Err1ASSERT_VIOLATIONWITNESS_INVARIANT (and 18 more)] === [2024-01-31 16:42:14,321 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2024-01-31 16:42:14,321 INFO L85 PathProgramCache]: Analyzing trace with hash -951060561, now seen corresponding path program 1 times [2024-01-31 16:42:14,322 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-01-31 16:42:14,322 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [247021368] [2024-01-31 16:42:14,322 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-01-31 16:42:14,322 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-01-31 16:42:14,352 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-01-31 16:42:14,551 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:42:14,551 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-01-31 16:42:14,552 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [247021368] [2024-01-31 16:42:14,552 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [247021368] provided 1 perfect and 0 imperfect interpolant sequences [2024-01-31 16:42:14,553 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-01-31 16:42:14,553 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2024-01-31 16:42:14,554 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1796661490] [2024-01-31 16:42:14,554 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-01-31 16:42:14,560 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 4 states [2024-01-31 16:42:14,565 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-01-31 16:42:14,586 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2024-01-31 16:42:14,586 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2024-01-31 16:42:14,597 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 81 out of 189 [2024-01-31 16:42:14,601 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 158 places, 189 transitions, 406 flow. Second operand has 4 states, 4 states have (on average 83.25) internal successors, (333), 4 states have internal predecessors, (333), 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:42:14,601 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-01-31 16:42:14,601 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 81 of 189 [2024-01-31 16:42:14,602 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand