./Ultimate.py --spec ../../../trunk/examples/svcomp/properties/unreach-call.prp --file ../../../trunk/examples/svcomp/weaver/popl20-two-queue.wvr.c --full-output --witness-type correctness_witness --witnessparser.only.consider.loop.invariants false --validate ./goblint.2024-02-07_10-47-16.files/SV-COMP24_unreach-call/popl20-two-queue.wvr.yml/witness.yml --architecture 32bit -------------------------------------------------------------------------------- Checking for ERROR reachability Using default analysis Version e7c74aec 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/weaver/popl20-two-queue.wvr.c ./goblint.2024-02-07_10-47-16.files/SV-COMP24_unreach-call/popl20-two-queue.wvr.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-wip.fs.fix-undeclared-acsl-variable-e7c74ae-m [2024-02-07 19:20:37,453 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-02-07 19:20:37,506 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-32bit-Automizer_Default.epf [2024-02-07 19:20:37,510 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-02-07 19:20:37,512 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-02-07 19:20:37,542 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-02-07 19:20:37,547 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-02-07 19:20:37,547 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-02-07 19:20:37,548 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-02-07 19:20:37,550 INFO L153 SettingsManager]: * Use memory slicer=true [2024-02-07 19:20:37,551 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-02-07 19:20:37,551 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-02-07 19:20:37,552 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-02-07 19:20:37,553 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-02-07 19:20:37,553 INFO L153 SettingsManager]: * Use SBE=true [2024-02-07 19:20:37,553 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-02-07 19:20:37,553 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-02-07 19:20:37,553 INFO L153 SettingsManager]: * sizeof long=4 [2024-02-07 19:20:37,554 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-02-07 19:20:37,554 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-02-07 19:20:37,554 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-02-07 19:20:37,554 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-02-07 19:20:37,554 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-02-07 19:20:37,555 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-02-07 19:20:37,555 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-02-07 19:20:37,555 INFO L153 SettingsManager]: * sizeof long double=12 [2024-02-07 19:20:37,556 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-02-07 19:20:37,556 INFO L153 SettingsManager]: * Use constant arrays=true [2024-02-07 19:20:37,556 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-02-07 19:20:37,557 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-02-07 19:20:37,557 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-02-07 19:20:37,558 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-02-07 19:20:37,558 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-02-07 19:20:37,558 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-02-07 19:20:37,558 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-02-07 19:20:37,558 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-02-07 19:20:37,559 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-02-07 19:20:37,559 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-02-07 19:20:37,559 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-02-07 19:20:37,559 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-02-07 19:20:37,559 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2024-02-07 19:20:37,560 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-02-07 19:20:37,560 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-02-07 19:20:37,560 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-02-07 19:20:37,786 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-02-07 19:20:37,805 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-02-07 19:20:37,808 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-02-07 19:20:37,809 INFO L270 PluginConnector]: Initializing CDTParser... [2024-02-07 19:20:37,809 INFO L274 PluginConnector]: CDTParser initialized [2024-02-07 19:20:37,810 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/weaver/popl20-two-queue.wvr.c [2024-02-07 19:20:38,879 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-02-07 19:20:39,038 INFO L384 CDTParser]: Found 1 translation units. [2024-02-07 19:20:39,039 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/weaver/popl20-two-queue.wvr.c [2024-02-07 19:20:39,044 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/194846c03/2bf88a0a17fd45b4949ca0bd9896a959/FLAG0a7072fb8 [2024-02-07 19:20:39,054 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/194846c03/2bf88a0a17fd45b4949ca0bd9896a959 [2024-02-07 19:20:39,056 INFO L270 PluginConnector]: Initializing Witness Parser... [2024-02-07 19:20:39,057 INFO L274 PluginConnector]: Witness Parser initialized [2024-02-07 19:20:39,057 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/./goblint.2024-02-07_10-47-16.files/SV-COMP24_unreach-call/popl20-two-queue.wvr.yml/witness.yml [2024-02-07 19:20:39,132 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-02-07 19:20:39,134 INFO L133 ToolchainWalker]: Walking toolchain with 5 elements. [2024-02-07 19:20:39,136 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-02-07 19:20:39,136 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-02-07 19:20:39,140 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-02-07 19:20:39,140 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 07.02 07:20:39" (1/2) ... [2024-02-07 19:20:39,141 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@4eecf44a and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.02 07:20:39, skipping insertion in model container [2024-02-07 19:20:39,141 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 07.02 07:20:39" (1/2) ... [2024-02-07 19:20:39,143 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@5d8846fa and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.02 07:20:39, skipping insertion in model container [2024-02-07 19:20:39,143 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "witness.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 07.02 07:20:39" (2/2) ... [2024-02-07 19:20:39,143 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@4eecf44a and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 07.02 07:20:39, skipping insertion in model container [2024-02-07 19:20:39,144 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "witness.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 07.02 07:20:39" (2/2) ... [2024-02-07 19:20:39,144 INFO L83 nessWitnessExtractor]: Extracting all invariants from correctness witness [2024-02-07 19:20:39,160 INFO L74 edCorrectnessWitness]: Found the following entries in the witness: [2024-02-07 19:20:39,161 INFO L76 edCorrectnessWitness]: Location invariant before [L115-L115] (long long )i - (long long )size >= 0LL [2024-02-07 19:20:39,161 INFO L76 edCorrectnessWitness]: Location invariant before [L75-L75] -2147483647 <= q2_front [2024-02-07 19:20:39,161 INFO L76 edCorrectnessWitness]: Location invariant before [L54-L54] (-2147483647 <= q1_back) && (q1_front <= 2147483646) [2024-02-07 19:20:39,162 INFO L76 edCorrectnessWitness]: Location invariant before [L49-L49] 0 <= q2_back [2024-02-07 19:20:39,162 INFO L76 edCorrectnessWitness]: Location invariant before [L113-L113] ((-1LL - (long long )i) + (long long )size >= 0LL) && ((((((((((-15LL + (long long )i) + (long long )size >= 0LL && i == 7) || ((-13LL + (long long )i) + (long long )size >= 0LL && i == 6)) || ((-11LL + (long long )i) + (long long )size >= 0LL && i == 5)) || ((-9LL + (long long )i) + (long long )size >= 0LL && i == 4)) || ((-7LL + (long long )i) + (long long )size >= 0LL && i == 3)) || ((-5LL + (long long )i) + (long long )size >= 0LL && i == 2)) || ((-3LL + (long long )i) + (long long )size >= 0LL && i == 1)) || (((-1LL + (long long )i) + (long long )size >= 0LL && 0 == i) && i == 0)) || ((((8 <= i && i <= 2147483646) && (-17LL + (long long )i) + (long long )size >= 0LL) && i != 0) && i != 1)) [2024-02-07 19:20:39,162 INFO L76 edCorrectnessWitness]: Location invariant before [L57-L57] -2147483647 <= q1_front [2024-02-07 19:20:39,162 INFO L76 edCorrectnessWitness]: Location invariant before [L67-L67] 0 <= q1_back [2024-02-07 19:20:39,162 INFO L76 edCorrectnessWitness]: Location invariant before [L52-L52] -2147483647 <= q2_back [2024-02-07 19:20:39,162 INFO L76 edCorrectnessWitness]: Location invariant before [L72-L72] (-2147483647 <= q2_back) && (q2_front <= 2147483646) [2024-02-07 19:20:39,162 INFO L76 edCorrectnessWitness]: Location invariant before [L70-L70] -2147483647 <= q1_back [2024-02-07 19:20:39,178 INFO L181 MainTranslator]: Built tables and reachable declarations [2024-02-07 19:20:39,328 WARN L239 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/weaver/popl20-two-queue.wvr.c[3013,3026] [2024-02-07 19:20:39,341 INFO L207 PostProcessor]: Analyzing one entry point: main [2024-02-07 19:20:39,354 INFO L206 MainTranslator]: Completed pre-run Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local [2024-02-07 19:20:39,408 WARN L239 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/weaver/popl20-two-queue.wvr.c[3013,3026] Start Parsing Local Start Parsing Local [2024-02-07 19:20:39,424 INFO L207 PostProcessor]: Analyzing one entry point: main [2024-02-07 19:20:39,437 INFO L211 MainTranslator]: Completed translation [2024-02-07 19:20:39,438 INFO L201 PluginConnector]: Adding new model witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 07.02 07:20:39 WrapperNode [2024-02-07 19:20:39,438 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-02-07 19:20:39,440 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-02-07 19:20:39,440 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-02-07 19:20:39,440 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-02-07 19:20:39,445 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 07.02 07:20:39" (1/1) ... [2024-02-07 19:20:39,462 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 07.02 07:20:39" (1/1) ... [2024-02-07 19:20:39,496 INFO L138 Inliner]: procedures = 24, calls = 43, calls flagged for inlining = 13, calls inlined = 15, statements flattened = 222 [2024-02-07 19:20:39,497 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-02-07 19:20:39,498 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-02-07 19:20:39,498 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-02-07 19:20:39,498 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-02-07 19:20:39,512 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 07.02 07:20:39" (1/1) ... [2024-02-07 19:20:39,512 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 07.02 07:20:39" (1/1) ... [2024-02-07 19:20:39,526 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 07.02 07:20:39" (1/1) ... [2024-02-07 19:20:39,547 INFO L175 MemorySlicer]: Split 12 memory accesses to 4 slices as follows [2, 2, 2, 6]. 50 percent of accesses are in the largest equivalence class. The 2 initializations are split as follows [2, 0, 0, 0]. The 4 writes are split as follows [0, 1, 1, 2]. [2024-02-07 19:20:39,548 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 07.02 07:20:39" (1/1) ... [2024-02-07 19:20:39,548 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 07.02 07:20:39" (1/1) ... [2024-02-07 19:20:39,563 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 07.02 07:20:39" (1/1) ... [2024-02-07 19:20:39,567 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 07.02 07:20:39" (1/1) ... [2024-02-07 19:20:39,568 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 07.02 07:20:39" (1/1) ... [2024-02-07 19:20:39,572 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 07.02 07:20:39" (1/1) ... [2024-02-07 19:20:39,574 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-02-07 19:20:39,576 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-02-07 19:20:39,576 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-02-07 19:20:39,577 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-02-07 19:20:39,577 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 07.02 07:20:39" (1/1) ... [2024-02-07 19:20:39,585 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-02-07 19:20:39,591 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-02-07 19:20:39,604 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-02-07 19:20:39,609 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-02-07 19:20:39,630 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-02-07 19:20:39,630 INFO L130 BoogieDeclarations]: Found specification of procedure thread1 [2024-02-07 19:20:39,630 INFO L138 BoogieDeclarations]: Found implementation of procedure thread1 [2024-02-07 19:20:39,630 INFO L130 BoogieDeclarations]: Found specification of procedure thread2 [2024-02-07 19:20:39,630 INFO L138 BoogieDeclarations]: Found implementation of procedure thread2 [2024-02-07 19:20:39,631 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2024-02-07 19:20:39,631 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#1 [2024-02-07 19:20:39,631 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#2 [2024-02-07 19:20:39,631 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#3 [2024-02-07 19:20:39,631 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2024-02-07 19:20:39,631 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#0 [2024-02-07 19:20:39,631 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#1 [2024-02-07 19:20:39,632 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#2 [2024-02-07 19:20:39,632 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#3 [2024-02-07 19:20:39,632 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_end [2024-02-07 19:20:39,632 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_begin [2024-02-07 19:20:39,632 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2024-02-07 19:20:39,632 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-02-07 19:20:39,632 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-02-07 19:20:39,632 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#0 [2024-02-07 19:20:39,633 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#1 [2024-02-07 19:20:39,633 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#2 [2024-02-07 19:20:39,633 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#3 [2024-02-07 19:20:39,633 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2024-02-07 19:20:39,634 WARN L214 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement [2024-02-07 19:20:39,724 INFO L244 CfgBuilder]: Building ICFG [2024-02-07 19:20:39,726 INFO L270 CfgBuilder]: Building CFG for each procedure with an implementation [2024-02-07 19:20:40,067 INFO L289 CfgBuilder]: Ommited future-live optimization because the input is a concurrent program. [2024-02-07 19:20:40,068 INFO L293 CfgBuilder]: Performing block encoding [2024-02-07 19:20:40,289 INFO L315 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-02-07 19:20:40,289 INFO L320 CfgBuilder]: Removed 4 assume(true) statements. [2024-02-07 19:20:40,290 INFO L201 PluginConnector]: Adding new model witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 07.02 07:20:40 BoogieIcfgContainer [2024-02-07 19:20:40,290 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-02-07 19:20:40,294 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2024-02-07 19:20:40,294 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2024-02-07 19:20:40,296 INFO L274 PluginConnector]: TraceAbstraction initialized [2024-02-07 19:20:40,297 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 07.02 07:20:39" (1/4) ... [2024-02-07 19:20:40,298 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@14ec1679 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 07.02 07:20:40, skipping insertion in model container [2024-02-07 19:20:40,298 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "witness.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 07.02 07:20:39" (2/4) ... [2024-02-07 19:20:40,298 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@14ec1679 and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CORRECTNESS_WITNESS 07.02 07:20:40, skipping insertion in model container [2024-02-07 19:20:40,298 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 07.02 07:20:39" (3/4) ... [2024-02-07 19:20:40,299 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@14ec1679 and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CORRECTNESS_WITNESS 07.02 07:20:40, skipping insertion in model container [2024-02-07 19:20:40,299 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 07.02 07:20:40" (4/4) ... [2024-02-07 19:20:40,300 INFO L112 eAbstractionObserver]: Analyzing ICFG popl20-two-queue.wvr.c [2024-02-07 19:20:40,313 INFO L204 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2024-02-07 19:20:40,314 INFO L163 ceAbstractionStarter]: Applying trace abstraction to program that has 13 error locations. [2024-02-07 19:20:40,314 INFO L518 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2024-02-07 19:20:40,372 INFO L144 ThreadInstanceAdder]: Constructed 2 joinOtherThreadTransitions. [2024-02-07 19:20:40,408 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 48 places, 45 transitions, 104 flow [2024-02-07 19:20:40,438 INFO L124 PetriNetUnfolderBase]: 4/43 cut-off events. [2024-02-07 19:20:40,439 INFO L125 PetriNetUnfolderBase]: For 2/2 co-relation queries the response was YES. [2024-02-07 19:20:40,442 INFO L83 FinitePrefix]: Finished finitePrefix Result has 52 conditions, 43 events. 4/43 cut-off events. For 2/2 co-relation queries the response was YES. Maximal size of possible extension queue 6. Compared 78 event pairs, 0 based on Foata normal form. 0/26 useless extension candidates. Maximal degree in co-relation 27. Up to 2 conditions per place. [2024-02-07 19:20:40,442 INFO L82 GeneralOperation]: Start removeDead. Operand has 48 places, 45 transitions, 104 flow [2024-02-07 19:20:40,445 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 45 places, 42 transitions, 96 flow [2024-02-07 19:20:40,455 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-02-07 19:20:40,462 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;@60ab83c1, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-02-07 19:20:40,462 INFO L358 AbstractCegarLoop]: Starting to check reachability of 23 error locations. [2024-02-07 19:20:40,466 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-02-07 19:20:40,466 INFO L124 PetriNetUnfolderBase]: 1/4 cut-off events. [2024-02-07 19:20:40,466 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-02-07 19:20:40,467 INFO L200 CegarLoopForPetriNet]: Found error trace [2024-02-07 19:20:40,468 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2024-02-07 19:20:40,468 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0ASSERT_VIOLATIONWITNESS_INVARIANT === [thread1Err0ASSERT_VIOLATIONWITNESS_INVARIANT, thread1Err1ASSERT_VIOLATIONWITNESS_INVARIANT, thread1Err2ASSERT_VIOLATIONWITNESS_INVARIANT (and 20 more)] === [2024-02-07 19:20:40,471 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2024-02-07 19:20:40,472 INFO L85 PathProgramCache]: Analyzing trace with hash 666898, now seen corresponding path program 1 times [2024-02-07 19:20:40,479 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-02-07 19:20:40,480 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [345625901] [2024-02-07 19:20:40,480 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-02-07 19:20:40,481 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-02-07 19:20:40,580 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-02-07 19:20:40,728 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-02-07 19:20:40,734 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-02-07 19:20:40,735 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [345625901] [2024-02-07 19:20:40,735 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [345625901] provided 1 perfect and 0 imperfect interpolant sequences [2024-02-07 19:20:40,736 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-02-07 19:20:40,736 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2024-02-07 19:20:40,737 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [480639977] [2024-02-07 19:20:40,737 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-02-07 19:20:40,780 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 4 states [2024-02-07 19:20:40,785 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-02-07 19:20:40,806 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2024-02-07 19:20:40,807 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=6, Invalid=6, Unknown=0, NotChecked=0, Total=12 [2024-02-07 19:20:40,826 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 9 out of 45 [2024-02-07 19:20:40,828 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 45 places, 42 transitions, 96 flow. Second operand has 4 states, 4 states have (on average 9.75) internal successors, (39), 4 states have internal predecessors, (39), 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-02-07 19:20:40,828 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-02-07 19:20:40,828 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 9 of 45 [2024-02-07 19:20:40,829 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-02-07 19:20:40,981 INFO L124 PetriNetUnfolderBase]: 224/394 cut-off events. [2024-02-07 19:20:40,981 INFO L125 PetriNetUnfolderBase]: For 17/17 co-relation queries the response was YES. [2024-02-07 19:20:40,983 INFO L83 FinitePrefix]: Finished finitePrefix Result has 782 conditions, 394 events. 224/394 cut-off events. For 17/17 co-relation queries the response was YES. Maximal size of possible extension queue 48. Compared 1671 event pairs, 134 based on Foata normal form. 0/290 useless extension candidates. Maximal degree in co-relation 659. Up to 357 conditions per place. [2024-02-07 19:20:40,987 INFO L140 encePairwiseOnDemand]: 31/45 looper letters, 29 selfloop transitions, 8 changer transitions 0/44 dead transitions. [2024-02-07 19:20:40,987 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 44 places, 44 transitions, 174 flow [2024-02-07 19:20:40,988 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2024-02-07 19:20:40,990 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2024-02-07 19:20:40,996 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 79 transitions. [2024-02-07 19:20:40,998 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.4388888888888889 [2024-02-07 19:20:40,999 INFO L175 Difference]: Start difference. First operand has 45 places, 42 transitions, 96 flow. Second operand 4 states and 79 transitions. [2024-02-07 19:20:41,000 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 44 places, 44 transitions, 174 flow [2024-02-07 19:20:41,002 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 40 places, 44 transitions, 166 flow, removed 0 selfloop flow, removed 4 redundant places. [2024-02-07 19:20:41,005 INFO L231 Difference]: Finished difference. Result has 42 places, 44 transitions, 134 flow [2024-02-07 19:20:41,007 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=45, PETRI_DIFFERENCE_MINUEND_FLOW=80, PETRI_DIFFERENCE_MINUEND_PLACES=37, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=38, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=30, PETRI_DIFFERENCE_SUBTRAHEND_STATES=4, PETRI_FLOW=134, PETRI_PLACES=42, PETRI_TRANSITIONS=44} [2024-02-07 19:20:41,010 INFO L281 CegarLoopForPetriNet]: 45 programPoint places, -3 predicate places. [2024-02-07 19:20:41,010 INFO L495 AbstractCegarLoop]: Abstraction has has 42 places, 44 transitions, 134 flow [2024-02-07 19:20:41,011 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 4 states, 4 states have (on average 9.75) internal successors, (39), 4 states have internal predecessors, (39), 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-02-07 19:20:41,011 INFO L200 CegarLoopForPetriNet]: Found error trace [2024-02-07 19:20:41,011 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2024-02-07 19:20:41,011 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2024-02-07 19:20:41,013 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1ASSERT_VIOLATIONWITNESS_INVARIANT === [thread1Err0ASSERT_VIOLATIONWITNESS_INVARIANT, thread1Err1ASSERT_VIOLATIONWITNESS_INVARIANT, thread1Err2ASSERT_VIOLATIONWITNESS_INVARIANT (and 20 more)] === [2024-02-07 19:20:41,013 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2024-02-07 19:20:41,013 INFO L85 PathProgramCache]: Analyzing trace with hash 666949, now seen corresponding path program 1 times [2024-02-07 19:20:41,013 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-02-07 19:20:41,014 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [334947754] [2024-02-07 19:20:41,014 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-02-07 19:20:41,015 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-02-07 19:20:41,038 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-02-07 19:20:41,107 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-02-07 19:20:41,107 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-02-07 19:20:41,107 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [334947754] [2024-02-07 19:20:41,108 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [334947754] provided 1 perfect and 0 imperfect interpolant sequences [2024-02-07 19:20:41,108 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-02-07 19:20:41,108 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2024-02-07 19:20:41,108 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [687082178] [2024-02-07 19:20:41,108 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-02-07 19:20:41,109 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 4 states [2024-02-07 19:20:41,109 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-02-07 19:20:41,109 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2024-02-07 19:20:41,109 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2024-02-07 19:20:41,129 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 9 out of 45 [2024-02-07 19:20:41,130 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 42 places, 44 transitions, 134 flow. Second operand has 4 states, 4 states have (on average 9.75) internal successors, (39), 4 states have internal predecessors, (39), 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-02-07 19:20:41,131 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-02-07 19:20:41,131 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 9 of 45 [2024-02-07 19:20:41,131 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-02-07 19:20:41,226 INFO L124 PetriNetUnfolderBase]: 225/399 cut-off events. [2024-02-07 19:20:41,228 INFO L125 PetriNetUnfolderBase]: For 5/5 co-relation queries the response was YES. [2024-02-07 19:20:41,230 INFO L83 FinitePrefix]: Finished finitePrefix Result has 803 conditions, 399 events. 225/399 cut-off events. For 5/5 co-relation queries the response was YES. Maximal size of possible extension queue 48. Compared 1697 event pairs, 134 based on Foata normal form. 1/299 useless extension candidates. Maximal degree in co-relation 742. Up to 359 conditions per place. [2024-02-07 19:20:41,234 INFO L140 encePairwiseOnDemand]: 36/45 looper letters, 32 selfloop transitions, 7 changer transitions 0/48 dead transitions. [2024-02-07 19:20:41,234 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 45 places, 48 transitions, 229 flow [2024-02-07 19:20:41,238 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2024-02-07 19:20:41,238 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2024-02-07 19:20:41,239 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 75 transitions. [2024-02-07 19:20:41,240 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.4166666666666667 [2024-02-07 19:20:41,240 INFO L175 Difference]: Start difference. First operand has 42 places, 44 transitions, 134 flow. Second operand 4 states and 75 transitions. [2024-02-07 19:20:41,240 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 45 places, 48 transitions, 229 flow [2024-02-07 19:20:41,241 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 44 places, 48 transitions, 220 flow, removed 0 selfloop flow, removed 1 redundant places. [2024-02-07 19:20:41,243 INFO L231 Difference]: Finished difference. Result has 46 places, 48 transitions, 178 flow [2024-02-07 19:20:41,243 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=45, PETRI_DIFFERENCE_MINUEND_FLOW=128, PETRI_DIFFERENCE_MINUEND_PLACES=41, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=44, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=3, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=37, PETRI_DIFFERENCE_SUBTRAHEND_STATES=4, PETRI_FLOW=178, PETRI_PLACES=46, PETRI_TRANSITIONS=48} [2024-02-07 19:20:41,243 INFO L281 CegarLoopForPetriNet]: 45 programPoint places, 1 predicate places. [2024-02-07 19:20:41,243 INFO L495 AbstractCegarLoop]: Abstraction has has 46 places, 48 transitions, 178 flow [2024-02-07 19:20:41,244 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 4 states, 4 states have (on average 9.75) internal successors, (39), 4 states have internal predecessors, (39), 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-02-07 19:20:41,248 INFO L200 CegarLoopForPetriNet]: Found error trace [2024-02-07 19:20:41,248 INFO L208 CegarLoopForPetriNet]: trace histogram [2, 1, 1, 1] [2024-02-07 19:20:41,248 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2024-02-07 19:20:41,249 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr0ASSERT_VIOLATIONWITNESS_INVARIANT === [thread1Err0ASSERT_VIOLATIONWITNESS_INVARIANT, thread1Err1ASSERT_VIOLATIONWITNESS_INVARIANT, thread1Err2ASSERT_VIOLATIONWITNESS_INVARIANT (and 20 more)] === [2024-02-07 19:20:41,249 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2024-02-07 19:20:41,249 INFO L85 PathProgramCache]: Analyzing trace with hash 640910084, now seen corresponding path program 1 times [2024-02-07 19:20:41,249 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-02-07 19:20:41,250 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1102564938] [2024-02-07 19:20:41,250 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-02-07 19:20:41,250 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-02-07 19:20:41,267 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-02-07 19:20:41,343 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 2 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-02-07 19:20:41,343 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-02-07 19:20:41,343 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1102564938] [2024-02-07 19:20:41,343 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1102564938] provided 0 perfect and 1 imperfect interpolant sequences [2024-02-07 19:20:41,344 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1257511032] [2024-02-07 19:20:41,344 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-02-07 19:20:41,344 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2024-02-07 19:20:41,344 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-02-07 19:20:41,349 INFO L229 MonitoredProcess]: Starting monitored process 2 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2024-02-07 19:20:41,365 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Waiting until timeout for monitored process [2024-02-07 19:20:41,424 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-02-07 19:20:41,426 INFO L262 TraceCheckSpWp]: Trace formula consists of 96 conjuncts, 6 conjunts are in the unsatisfiable core [2024-02-07 19:20:41,429 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2024-02-07 19:20:41,455 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 2 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-02-07 19:20:41,456 INFO L327 TraceCheckSpWp]: Computing backward predicates... [2024-02-07 19:20:41,703 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 2 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-02-07 19:20:41,703 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1257511032] provided 0 perfect and 2 imperfect interpolant sequences [2024-02-07 19:20:41,703 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2024-02-07 19:20:41,704 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [3, 3, 3] total 6 [2024-02-07 19:20:41,704 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [156391707] [2024-02-07 19:20:41,704 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2024-02-07 19:20:41,704 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 8 states [2024-02-07 19:20:41,705 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-02-07 19:20:41,705 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 8 interpolants. [2024-02-07 19:20:41,706 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=22, Invalid=34, Unknown=0, NotChecked=0, Total=56 [2024-02-07 19:20:41,723 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 9 out of 45 [2024-02-07 19:20:41,724 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 46 places, 48 transitions, 178 flow. Second operand has 8 states, 8 states have (on average 10.25) internal successors, (82), 8 states have internal predecessors, (82), 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-02-07 19:20:41,724 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-02-07 19:20:41,724 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 9 of 45 [2024-02-07 19:20:41,724 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-02-07 19:20:41,945 INFO L124 PetriNetUnfolderBase]: 231/417 cut-off events. [2024-02-07 19:20:41,945 INFO L125 PetriNetUnfolderBase]: For 3/3 co-relation queries the response was YES. [2024-02-07 19:20:41,946 INFO L83 FinitePrefix]: Finished finitePrefix Result has 875 conditions, 417 events. 231/417 cut-off events. For 3/3 co-relation queries the response was YES. Maximal size of possible extension queue 48. Compared 1798 event pairs, 134 based on Foata normal form. 0/309 useless extension candidates. Maximal degree in co-relation 749. Up to 365 conditions per place. [2024-02-07 19:20:41,947 INFO L140 encePairwiseOnDemand]: 35/45 looper letters, 30 selfloop transitions, 29 changer transitions 0/66 dead transitions. [2024-02-07 19:20:41,947 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 55 places, 66 transitions, 368 flow [2024-02-07 19:20:41,948 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 10 states. [2024-02-07 19:20:41,948 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 10 states. [2024-02-07 19:20:41,949 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 10 states to 10 states and 151 transitions. [2024-02-07 19:20:41,949 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.33555555555555555 [2024-02-07 19:20:41,949 INFO L175 Difference]: Start difference. First operand has 46 places, 48 transitions, 178 flow. Second operand 10 states and 151 transitions. [2024-02-07 19:20:41,949 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 55 places, 66 transitions, 368 flow [2024-02-07 19:20:41,950 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 54 places, 66 transitions, 364 flow, removed 0 selfloop flow, removed 1 redundant places. [2024-02-07 19:20:41,951 INFO L231 Difference]: Finished difference. Result has 57 places, 66 transitions, 340 flow [2024-02-07 19:20:41,952 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=45, PETRI_DIFFERENCE_MINUEND_FLOW=174, PETRI_DIFFERENCE_MINUEND_PLACES=45, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=48, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=17, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=31, PETRI_DIFFERENCE_SUBTRAHEND_STATES=10, PETRI_FLOW=340, PETRI_PLACES=57, PETRI_TRANSITIONS=66} [2024-02-07 19:20:41,952 INFO L281 CegarLoopForPetriNet]: 45 programPoint places, 12 predicate places. [2024-02-07 19:20:41,952 INFO L495 AbstractCegarLoop]: Abstraction has has 57 places, 66 transitions, 340 flow [2024-02-07 19:20:41,952 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 8 states, 8 states have (on average 10.25) internal successors, (82), 8 states have internal predecessors, (82), 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-02-07 19:20:41,953 INFO L200 CegarLoopForPetriNet]: Found error trace [2024-02-07 19:20:41,953 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1] [2024-02-07 19:20:41,964 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Forceful destruction successful, exit code 0 [2024-02-07 19:20:42,163 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2,2 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2024-02-07 19:20:42,164 INFO L420 AbstractCegarLoop]: === Iteration 4 === Targeting ULTIMATE.startErr1ASSERT_VIOLATIONWITNESS_INVARIANT === [thread1Err0ASSERT_VIOLATIONWITNESS_INVARIANT, thread1Err1ASSERT_VIOLATIONWITNESS_INVARIANT, thread1Err2ASSERT_VIOLATIONWITNESS_INVARIANT (and 20 more)] === [2024-02-07 19:20:42,164 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2024-02-07 19:20:42,164 INFO L85 PathProgramCache]: Analyzing trace with hash 640910135, now seen corresponding path program 1 times [2024-02-07 19:20:42,164 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-02-07 19:20:42,165 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [407265310] [2024-02-07 19:20:42,165 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-02-07 19:20:42,165 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-02-07 19:20:42,184 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-02-07 19:20:42,185 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-02-07 19:20:42,194 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-02-07 19:20:42,213 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-02-07 19:20:42,213 INFO L360 BasicCegarLoop]: Counterexample is feasible [2024-02-07 19:20:42,214 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr1ASSERT_VIOLATIONWITNESS_INVARIANT (22 of 23 remaining) [2024-02-07 19:20:42,215 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thread1Err0ASSERT_VIOLATIONWITNESS_INVARIANT (21 of 23 remaining) [2024-02-07 19:20:42,215 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thread1Err1ASSERT_VIOLATIONWITNESS_INVARIANT (20 of 23 remaining) [2024-02-07 19:20:42,216 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thread1Err2ASSERT_VIOLATIONWITNESS_INVARIANT (19 of 23 remaining) [2024-02-07 19:20:42,216 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thread1Err3ASSERT_VIOLATIONWITNESS_INVARIANT (18 of 23 remaining) [2024-02-07 19:20:42,216 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thread2Err0ASSERT_VIOLATIONWITNESS_INVARIANT (17 of 23 remaining) [2024-02-07 19:20:42,216 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thread2Err1ASSERT_VIOLATIONWITNESS_INVARIANT (16 of 23 remaining) [2024-02-07 19:20:42,216 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thread2Err2ASSERT_VIOLATIONWITNESS_INVARIANT (15 of 23 remaining) [2024-02-07 19:20:42,217 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thread2Err3ASSERT_VIOLATIONWITNESS_INVARIANT (14 of 23 remaining) [2024-02-07 19:20:42,217 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0ASSERT_VIOLATIONWITNESS_INVARIANT (13 of 23 remaining) [2024-02-07 19:20:42,217 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr2ASSERT_VIOLATIONWITNESS_INVARIANT (12 of 23 remaining) [2024-02-07 19:20:42,217 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr3ASSERT_VIOLATIONWITNESS_INVARIANT (11 of 23 remaining) [2024-02-07 19:20:42,217 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr4ASSERT_VIOLATIONERROR_FUNCTION (10 of 23 remaining) [2024-02-07 19:20:42,218 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (9 of 23 remaining) [2024-02-07 19:20:42,218 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (8 of 23 remaining) [2024-02-07 19:20:42,218 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thread1Err0ASSERT_VIOLATIONWITNESS_INVARIANT (7 of 23 remaining) [2024-02-07 19:20:42,218 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thread1Err1ASSERT_VIOLATIONWITNESS_INVARIANT (6 of 23 remaining) [2024-02-07 19:20:42,218 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thread1Err2ASSERT_VIOLATIONWITNESS_INVARIANT (5 of 23 remaining) [2024-02-07 19:20:42,218 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thread1Err3ASSERT_VIOLATIONWITNESS_INVARIANT (4 of 23 remaining) [2024-02-07 19:20:42,219 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thread2Err0ASSERT_VIOLATIONWITNESS_INVARIANT (3 of 23 remaining) [2024-02-07 19:20:42,219 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thread2Err1ASSERT_VIOLATIONWITNESS_INVARIANT (2 of 23 remaining) [2024-02-07 19:20:42,219 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thread2Err2ASSERT_VIOLATIONWITNESS_INVARIANT (1 of 23 remaining) [2024-02-07 19:20:42,219 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thread2Err3ASSERT_VIOLATIONWITNESS_INVARIANT (0 of 23 remaining) [2024-02-07 19:20:42,219 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3 [2024-02-07 19:20:42,219 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1, 1, 1] [2024-02-07 19:20:42,224 INFO L229 ceAbstractionStarter]: Analysis of concurrent program completed with 1 thread instances [2024-02-07 19:20:42,224 INFO L179 ceAbstractionStarter]: Computing trace abstraction results [2024-02-07 19:20:42,239 WARN L1574 BoogieBacktranslator]: Unfinished Backtranslation: Expected StepInfo for loop construct to contain Condition, but it did not [2024-02-07 19:20:42,249 INFO L503 ceAbstractionStarter]: Automizer considered 12 witness invariants [2024-02-07 19:20:42,249 INFO L504 ceAbstractionStarter]: WitnessConsidered=12 [2024-02-07 19:20:42,251 INFO L201 PluginConnector]: Adding new model witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 07.02 07:20:42 BasicIcfg [2024-02-07 19:20:42,251 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2024-02-07 19:20:42,251 INFO L158 Benchmark]: Toolchain (without parser) took 3117.54ms. Allocated memory was 136.3MB in the beginning and 182.5MB in the end (delta: 46.1MB). Free memory was 78.1MB in the beginning and 48.7MB in the end (delta: 29.4MB). Peak memory consumption was 77.0MB. Max. memory is 16.1GB. [2024-02-07 19:20:42,251 INFO L158 Benchmark]: CDTParser took 0.18ms. Allocated memory is still 136.3MB. Free memory is still 102.2MB. There was no memory consumed. Max. memory is 16.1GB. [2024-02-07 19:20:42,252 INFO L158 Benchmark]: Witness Parser took 0.15ms. Allocated memory is still 136.3MB. Free memory is still 80.7MB. There was no memory consumed. Max. memory is 16.1GB. [2024-02-07 19:20:42,252 INFO L158 Benchmark]: CACSL2BoogieTranslator took 302.55ms. Allocated memory is still 136.3MB. Free memory was 77.6MB in the beginning and 62.4MB in the end (delta: 15.2MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-02-07 19:20:42,253 INFO L158 Benchmark]: Boogie Procedure Inliner took 57.40ms. Allocated memory is still 136.3MB. Free memory was 62.4MB in the beginning and 59.8MB in the end (delta: 2.6MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-02-07 19:20:42,256 INFO L158 Benchmark]: Boogie Preprocessor took 78.06ms. Allocated memory is still 136.3MB. Free memory was 59.8MB in the beginning and 56.6MB in the end (delta: 3.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-02-07 19:20:42,256 INFO L158 Benchmark]: RCFGBuilder took 714.18ms. Allocated memory was 136.3MB in the beginning and 182.5MB in the end (delta: 46.1MB). Free memory was 56.6MB in the beginning and 98.2MB in the end (delta: -41.5MB). Peak memory consumption was 33.9MB. Max. memory is 16.1GB. [2024-02-07 19:20:42,257 INFO L158 Benchmark]: TraceAbstraction took 1957.07ms. Allocated memory is still 182.5MB. Free memory was 98.2MB in the beginning and 48.7MB in the end (delta: 49.4MB). Peak memory consumption was 49.4MB. Max. memory is 16.1GB. [2024-02-07 19:20:42,259 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.18ms. Allocated memory is still 136.3MB. Free memory is still 102.2MB. There was no memory consumed. Max. memory is 16.1GB. * Witness Parser took 0.15ms. Allocated memory is still 136.3MB. Free memory is still 80.7MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 302.55ms. Allocated memory is still 136.3MB. Free memory was 77.6MB in the beginning and 62.4MB in the end (delta: 15.2MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 57.40ms. Allocated memory is still 136.3MB. Free memory was 62.4MB in the beginning and 59.8MB in the end (delta: 2.6MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 78.06ms. Allocated memory is still 136.3MB. Free memory was 59.8MB in the beginning and 56.6MB in the end (delta: 3.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 714.18ms. Allocated memory was 136.3MB in the beginning and 182.5MB in the end (delta: 46.1MB). Free memory was 56.6MB in the beginning and 98.2MB in the end (delta: -41.5MB). Peak memory consumption was 33.9MB. Max. memory is 16.1GB. * TraceAbstraction took 1957.07ms. Allocated memory is still 182.5MB. Free memory was 98.2MB in the beginning and 48.7MB in the end (delta: 49.4MB). Peak memory consumption was 49.4MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Expected StepInfo for loop construct to contain Condition, but it did not - GenericResult: Unfinished Backtranslation The program execution was not completely translated back. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - CounterExampleResult [Line: 115]: invariant of correctness witness can be violated invariant of correctness witness can be violated We found a FailurePath: [L41] int *q1, *q2; [L42] int q1_front, q1_back, q2_front, q2_back, i, j, n1, n2, N; [L83] pthread_t t1, t2; [L85] N = __VERIFIER_nondet_int() [L86] n1 = __VERIFIER_nondet_int() [L87] n2 = __VERIFIER_nondet_int() [L88] q1_front = __VERIFIER_nondet_int() [L89] q1_back = q1_front [L90] q2_front = __VERIFIER_nondet_int() [L91] q2_back = q2_front [L92] CALL create_fresh_int_array(n1) [L108] CALL assume_abort_if_not(size >= 0) [L38] COND FALSE !(!cond) [L108] RET assume_abort_if_not(size >= 0) [L109] CALL assume_abort_if_not(size <= (((size_t) 4294967295) / sizeof(int))) [L38] COND FALSE !(!cond) [L109] RET assume_abort_if_not(size <= (((size_t) 4294967295) / sizeof(int))) [L111] int* arr = (int*)malloc(sizeof(int) * (size_t)size); [L112] int i = 0; VAL [N=0, \old(size)=1, arr={-1:0}, i=0, i=0, j=0, n1=1, n2=0, q1={0:0}, q1_back=0, q1_front=0, q2={0:0}, q2_back=0, q2_front=0, size=1] [L112] COND TRUE i < size VAL [N=0, \old(size)=1, arr={-1:0}, i=0, i=0, j=0, n1=1, n2=0, q1={0:0}, q1_back=0, q1_front=0, q2={0:0}, q2_back=0, q2_front=0, size=1] [L113] CodeAnnotStmt[Assertion[BinaryExpression[LOGICAND,BinaryExpression[COMPGEQ,BinaryExpression[ARITHPLUS,BinaryExpression[ARITHMINUS,UnaryExpression[MINUS,IntegerLiteral[1LL]],CastExpression[ACSLType[long long],IdentifierExpression[i]]],CastExpression[ACSLType[long long],IdentifierExpression[size]]],IntegerLiteral[0LL]],BinaryExpression[LOGICOR,BinaryExpression[LOGICOR,BinaryExpression[LOGICOR,BinaryExpression[LOGICOR,BinaryExpression[LOGICOR,BinaryExpression[LOGICOR,BinaryExpression[LOGICOR,BinaryExpression[LOGICOR,BinaryExpression[LOGICAND,BinaryExpression[COMPGEQ,BinaryExpression[ARITHPLUS,BinaryExpression[ARITHPLUS,UnaryExpression[MINUS,IntegerLiteral[15LL]],CastExpression[ACSLType[long long],IdentifierExpression[i]]],CastExpression[ACSLType[long long],IdentifierExpression[size]]],IntegerLiteral[0LL]],BinaryExpression[COMPEQ,IdentifierExpression[i],IntegerLiteral[7]]],BinaryExpression[LOGICAND,BinaryExpression[COMPGEQ,BinaryExpression[ARITHPLUS,BinaryExpression[ARITHPLUS,UnaryExpression[MINUS,IntegerLiteral[13LL]],CastExpression[ACSLType[long long],IdentifierExpression[i]]],CastExpression[ACSLType[long long],IdentifierExpression[size]]],IntegerLiteral[0LL]],BinaryExpression[COMPEQ,IdentifierExpression[i],IntegerLiteral[6]]]],BinaryExpression[LOGICAND,BinaryExpression[COMPGEQ,BinaryExpression[ARITHPLUS,BinaryExpression[ARITHPLUS,UnaryExpression[MINUS,IntegerLiteral[11LL]],CastExpression[ACSLType[long long],IdentifierExpression[i]]],CastExpression[ACSLType[long long],IdentifierExpression[size]]],IntegerLiteral[0LL]],BinaryExpression[COMPEQ,IdentifierExpression[i],IntegerLiteral[5]]]],BinaryExpression[LOGICAND,BinaryExpression[COMPGEQ,BinaryExpression[ARITHPLUS,BinaryExpression[ARITHPLUS,UnaryExpression[MINUS,IntegerLiteral[9LL]],CastExpression[ACSLType[long long],IdentifierExpression[i]]],CastExpression[ACSLType[long long],IdentifierExpression[size]]],IntegerLiteral[0LL]],BinaryExpression[COMPEQ,IdentifierExpression[i],IntegerLiteral[4]]]],BinaryExpression[LOGICAND,BinaryExpression[COMPGEQ,BinaryExpression[ARITHPLUS,BinaryExpression[ARITHPLUS,UnaryExpression[MINUS,IntegerLiteral[7LL]],CastExpression[ACSLType[long long],IdentifierExpression[i]]],CastExpression[ACSLType[long long],IdentifierExpression[size]]],IntegerLiteral[0LL]],BinaryExpression[COMPEQ,IdentifierExpression[i],IntegerLiteral[3]]]],BinaryExpression[LOGICAND,BinaryExpression[COMPGEQ,BinaryExpression[ARITHPLUS,BinaryExpression[ARITHPLUS,UnaryExpression[MINUS,IntegerLiteral[5LL]],CastExpression[ACSLType[long long],IdentifierExpression[i]]],CastExpression[ACSLType[long long],IdentifierExpression[size]]],IntegerLiteral[0LL]],BinaryExpression[COMPEQ,IdentifierExpression[i],IntegerLiteral[2]]]],BinaryExpression[LOGICAND,BinaryExpression[COMPGEQ,BinaryExpression[ARITHPLUS,BinaryExpression[ARITHPLUS,UnaryExpression[MINUS,IntegerLiteral[3LL]],CastExpression[ACSLType[long long],IdentifierExpression[i]]],CastExpression[ACSLType[long long],IdentifierExpression[size]]],IntegerLiteral[0LL]],BinaryExpression[COMPEQ,IdentifierExpression[i],IntegerLiteral[1]]]],BinaryExpression[LOGICAND,BinaryExpression[LOGICAND,BinaryExpression[COMPGEQ,BinaryExpression[ARITHPLUS,BinaryExpression[ARITHPLUS,UnaryExpression[MINUS,IntegerLiteral[1LL]],CastExpression[ACSLType[long long],IdentifierExpression[i]]],CastExpression[ACSLType[long long],IdentifierExpression[size]]],IntegerLiteral[0LL]],BinaryExpression[COMPEQ,IntegerLiteral[0],IdentifierExpression[i]]],BinaryExpression[COMPEQ,IdentifierExpression[i],IntegerLiteral[0]]]],BinaryExpression[LOGICAND,BinaryExpression[LOGICAND,BinaryExpression[LOGICAND,BinaryExpression[LOGICAND,BinaryExpression[COMPLEQ,IntegerLiteral[8],IdentifierExpression[i]],BinaryExpression[COMPLEQ,IdentifierExpression[i],IntegerLiteral[2147483646]]],BinaryExpression[COMPGEQ,BinaryExpression[ARITHPLUS,BinaryExpression[ARITHPLUS,UnaryExpression[MINUS,IntegerLiteral[17LL]],CastExpression[ACSLType[long long],IdentifierExpression[i]]],CastExpression[ACSLType[long long],IdentifierExpression[size]]],IntegerLiteral[0LL]]],BinaryExpression[COMPNEQ,IdentifierExpression[i],IntegerLiteral[0]]],BinaryExpression[COMPNEQ,IdentifierExpression[i],IntegerLiteral[1]]]]]]] [L113] arr[i] = __VERIFIER_nondet_int() [L112] i++ VAL [N=0, \old(size)=1, arr={-1:0}, i=0, i=1, j=0, n1=1, n2=0, q1={0:0}, q1_back=0, q1_front=0, q2={0:0}, q2_back=0, q2_front=0, size=1] [L112] COND FALSE !(i < size) [L115] CodeAnnotStmt[Assertion[BinaryExpression[COMPGEQ,BinaryExpression[ARITHMINUS,CastExpression[ACSLType[long long],IdentifierExpression[i]],CastExpression[ACSLType[long long],IdentifierExpression[size]]],IntegerLiteral[0LL]]]] VAL [N=0, \old(size)=1, arr={-1:0}, i=0, j=0, n1=1, n2=0, q1={0:0}, q1_back=0, q1_front=0, q2={0:0}, q2_back=0, q2_front=0, size=1] - UnprovableResult [Line: 49]: Unable to prove that invariant of correctness witness holds Unable to prove that invariant of correctness witness holds Reason: Not analyzed. - UnprovableResult [Line: 52]: Unable to prove that invariant of correctness witness holds Unable to prove that invariant of correctness witness holds Reason: Not analyzed. - UnprovableResult [Line: 54]: Unable to prove that invariant of correctness witness holds Unable to prove that invariant of correctness witness holds Reason: Not analyzed. - UnprovableResult [Line: 57]: Unable to prove that invariant of correctness witness holds Unable to prove that invariant of correctness witness holds Reason: Not analyzed. - UnprovableResult [Line: 67]: Unable to prove that invariant of correctness witness holds Unable to prove that invariant of correctness witness holds Reason: Not analyzed. - UnprovableResult [Line: 70]: Unable to prove that invariant of correctness witness holds Unable to prove that invariant of correctness witness holds Reason: Not analyzed. - UnprovableResult [Line: 72]: Unable to prove that invariant of correctness witness holds Unable to prove that invariant of correctness witness holds Reason: Not analyzed. - UnprovableResult [Line: 75]: Unable to prove that invariant of correctness witness holds Unable to prove that invariant of correctness witness holds Reason: Not analyzed. - UnprovableResult [Line: 113]: Unable to prove that invariant of correctness witness holds Unable to prove that invariant of correctness witness holds Reason: Not analyzed. - UnprovableResult [Line: 113]: Unable to prove that invariant of correctness witness holds Unable to prove that invariant of correctness witness holds Reason: Not analyzed. - UnprovableResult [Line: 115]: Unable to prove that invariant of correctness witness holds Unable to prove that invariant of correctness witness holds Reason: Not analyzed. - UnprovableResult [Line: 102]: Unable to prove that a call to reach_error is unreachable Unable to prove that a call to reach_error is unreachable Reason: Not analyzed. - UnprovableResult [Line: 96]: Unable to prove that petrification did provide enough thread instances (tool internal message) Unable to prove that petrification did provide enough thread instances (tool internal message) Reason: Not analyzed. - UnprovableResult [Line: 97]: Unable to prove that petrification did provide enough thread instances (tool internal message) Unable to prove that petrification did provide enough thread instances (tool internal message) Reason: Not analyzed. - StatisticsResult: Ultimate Automizer benchmark data with 1 thread instances CFG has 5 procedures, 64 locations, 23 error locations. Started 1 CEGAR loops. EmptinessCheckTime: 0.0s, RemoveRedundantFlowTime: 0.0s, RemoveRedundantFlowUnfoldingTime: 0.0s, BackfoldingTime: 0.0s, BackfoldingUnfoldingTime: 0.0s, FlowIncreaseByBackfolding: 0, BasicCegarLoop: OverallTime: 1.8s, OverallIterations: 4, TraceHistogramMax: 2, PathProgramHistogramMax: 1, EmptinessCheckTime: 0.0s, AutomataDifference: 0.6s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 58 SdHoareTripleChecker+Valid, 0.3s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 36 mSDsluCounter, 8 SdHoareTripleChecker+Invalid, 0.2s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 8 mSDsCounter, 28 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 382 IncrementalHoareTripleChecker+Invalid, 410 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 28 mSolverCounterUnsat, 0 mSDtfsCounter, 382 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 18 GetRequests, 5 SyntacticMatches, 0 SemanticMatches, 13 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 13 ImplicationChecksByTransitivity, 0.2s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=340occurred in iteration=3, InterpolantAutomatonStates: 18, traceCheckStatistics: No data available, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: No data available, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TRACE_CHECK: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.6s InterpolantComputationTime, 21 NumberOfCodeBlocks, 21 NumberOfCodeBlocksAsserted, 5 NumberOfCheckSat, 16 ConstructedInterpolants, 0 QuantifiedInterpolants, 194 SizeOfPredicates, 1 NumberOfNonLiveVariables, 96 ConjunctsInSsa, 6 ConjunctsInUnsatCore, 5 InterpolantComputations, 2 PerfectInterpolantSequences, 0/6 InterpolantCoveringCapability, INVARIANT_SYNTHESIS: No data available, INTERPOLANT_CONSOLIDATION: No data available, ABSTRACT_INTERPRETATION: No data available, PDR: No data available, ACCELERATED_INTERPOLATION: No data available, SIFA: No data available, ReuseStatistics: No data available RESULT: Ultimate proved your program to be incorrect! [2024-02-07 19:20:42,284 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Forceful destruction successful, exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Writing human readable error path to file UltimateCounterExample.errorpath Result: FALSE