/usr/bin/java -Xmx16000000000 -Xss4m -jar ./plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata ./data -s /storage/repos/CAV22/benchmarks/svcomp-Reach-32bit-Automizer_Default.epf --traceabstraction.order.of.the.error.locations.to.be.checked PROGRAM_FIRST -tc /storage/repos/CAV22/benchmarks/AutomizerCInline.xml -i /storage/repos/CAV22/benchmarks/added_bound_to_unbounded/pthread-ext_25_stack_longest-2_bound2.i -------------------------------------------------------------------------------- This is Ultimate 0.2.3-dev-19404b3-m [2023-08-04 04:22:52,548 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-08-04 04:22:52,620 INFO L114 SettingsManager]: Loading settings from /storage/repos/CAV22/benchmarks/svcomp-Reach-32bit-Automizer_Default.epf [2023-08-04 04:22:52,625 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-08-04 04:22:52,626 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2023-08-04 04:22:52,626 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.Translation Mode: [2023-08-04 04:22:52,627 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.Checked method. Library mode if empty. [2023-08-04 04:22:52,653 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-08-04 04:22:52,654 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-08-04 04:22:52,657 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-08-04 04:22:52,657 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-08-04 04:22:52,658 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-08-04 04:22:52,659 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-08-04 04:22:52,660 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-08-04 04:22:52,660 INFO L153 SettingsManager]: * Use SBE=true [2023-08-04 04:22:52,660 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-08-04 04:22:52,660 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-08-04 04:22:52,660 INFO L153 SettingsManager]: * sizeof long=4 [2023-08-04 04:22:52,661 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-08-04 04:22:52,661 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-08-04 04:22:52,661 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-08-04 04:22:52,661 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-08-04 04:22:52,662 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-08-04 04:22:52,662 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-08-04 04:22:52,663 INFO L153 SettingsManager]: * sizeof long double=12 [2023-08-04 04:22:52,663 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-08-04 04:22:52,663 INFO L153 SettingsManager]: * Use constant arrays=true [2023-08-04 04:22:52,664 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-08-04 04:22:52,664 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-08-04 04:22:52,664 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2023-08-04 04:22:52,665 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-08-04 04:22:52,665 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-08-04 04:22:52,665 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-08-04 04:22:52,666 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2023-08-04 04:22:52,666 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2023-08-04 04:22:52,666 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-08-04 04:22:52,666 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2023-08-04 04:22:52,666 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-08-04 04:22:52,666 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2023-08-04 04:22:52,666 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-08-04 04:22:52,667 INFO L153 SettingsManager]: * Independence relation used for large block encoding in concurrent analysis=SYNTACTIC [2023-08-04 04:22:52,667 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.traceabstraction: Order of the error locations to be checked -> PROGRAM_FIRST [2023-08-04 04:22:52,877 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-08-04 04:22:52,900 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-08-04 04:22:52,904 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-08-04 04:22:52,905 INFO L270 PluginConnector]: Initializing CDTParser... [2023-08-04 04:22:52,905 INFO L274 PluginConnector]: CDTParser initialized [2023-08-04 04:22:52,906 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/CAV22/benchmarks/added_bound_to_unbounded/pthread-ext_25_stack_longest-2_bound2.i [2023-08-04 04:22:53,999 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-08-04 04:22:54,212 INFO L384 CDTParser]: Found 1 translation units. [2023-08-04 04:22:54,213 INFO L180 CDTParser]: Scanning /storage/repos/CAV22/benchmarks/added_bound_to_unbounded/pthread-ext_25_stack_longest-2_bound2.i [2023-08-04 04:22:54,225 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/d93f993e2/c6c500442a9147b984a6338ea9de3776/FLAG0707b4c4b [2023-08-04 04:22:54,236 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/d93f993e2/c6c500442a9147b984a6338ea9de3776 [2023-08-04 04:22:54,238 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-08-04 04:22:54,239 INFO L133 ToolchainWalker]: Walking toolchain with 5 elements. [2023-08-04 04:22:54,240 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-08-04 04:22:54,240 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-08-04 04:22:54,243 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-08-04 04:22:54,243 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 04.08 04:22:54" (1/1) ... [2023-08-04 04:22:54,244 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@382a92f1 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.08 04:22:54, skipping insertion in model container [2023-08-04 04:22:54,244 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 04.08 04:22:54" (1/1) ... [2023-08-04 04:22:54,293 INFO L176 MainTranslator]: Built tables and reachable declarations [2023-08-04 04:22:54,592 WARN L240 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/CAV22/benchmarks/added_bound_to_unbounded/pthread-ext_25_stack_longest-2_bound2.i[31183,31196] [2023-08-04 04:22:54,602 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-08-04 04:22:54,612 INFO L201 MainTranslator]: Completed pre-run [2023-08-04 04:22:54,628 WARN L75 lationResultReporter]: Unsoundness Warning: unspecified type, defaulting to int C: short [256] [2023-08-04 04:22:54,634 WARN L75 lationResultReporter]: Unsoundness Warning: unspecified type, defaulting to int C: short [256] [2023-08-04 04:22:54,647 WARN L240 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/CAV22/benchmarks/added_bound_to_unbounded/pthread-ext_25_stack_longest-2_bound2.i[31183,31196] [2023-08-04 04:22:54,650 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-08-04 04:22:54,681 WARN L667 CHandler]: The function __VERIFIER_atomic_begin is called, but not defined or handled by StandardFunctionHandler. [2023-08-04 04:22:54,681 WARN L667 CHandler]: The function __VERIFIER_atomic_end is called, but not defined or handled by StandardFunctionHandler. [2023-08-04 04:22:54,687 INFO L206 MainTranslator]: Completed translation [2023-08-04 04:22:54,687 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.08 04:22:54 WrapperNode [2023-08-04 04:22:54,688 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-08-04 04:22:54,689 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-08-04 04:22:54,689 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-08-04 04:22:54,689 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-08-04 04:22:54,694 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.08 04:22:54" (1/1) ... [2023-08-04 04:22:54,713 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.08 04:22:54" (1/1) ... [2023-08-04 04:22:54,736 INFO L138 Inliner]: procedures = 179, calls = 36, calls flagged for inlining = 18, calls inlined = 22, statements flattened = 179 [2023-08-04 04:22:54,737 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-08-04 04:22:54,737 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-08-04 04:22:54,737 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-08-04 04:22:54,738 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-08-04 04:22:54,744 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.08 04:22:54" (1/1) ... [2023-08-04 04:22:54,744 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.08 04:22:54" (1/1) ... [2023-08-04 04:22:54,758 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.08 04:22:54" (1/1) ... [2023-08-04 04:22:54,758 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.08 04:22:54" (1/1) ... [2023-08-04 04:22:54,763 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.08 04:22:54" (1/1) ... [2023-08-04 04:22:54,766 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.08 04:22:54" (1/1) ... [2023-08-04 04:22:54,767 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.08 04:22:54" (1/1) ... [2023-08-04 04:22:54,768 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.08 04:22:54" (1/1) ... [2023-08-04 04:22:54,775 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-08-04 04:22:54,776 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-08-04 04:22:54,776 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-08-04 04:22:54,776 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-08-04 04:22:54,777 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.08 04:22:54" (1/1) ... [2023-08-04 04:22:54,785 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-08-04 04:22:54,793 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-08-04 04:22:54,805 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) [2023-08-04 04:22:54,834 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Waiting until timeout for monitored process [2023-08-04 04:22:54,850 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2023-08-04 04:22:54,851 INFO L130 BoogieDeclarations]: Found specification of procedure thr1 [2023-08-04 04:22:54,851 INFO L138 BoogieDeclarations]: Found implementation of procedure thr1 [2023-08-04 04:22:54,851 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2023-08-04 04:22:54,851 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_begin [2023-08-04 04:22:54,852 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-08-04 04:22:54,852 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-08-04 04:22:54,853 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-08-04 04:22:54,853 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2023-08-04 04:22:54,853 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_end [2023-08-04 04:22:54,853 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-08-04 04:22:54,853 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-08-04 04:22:54,855 WARN L210 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement [2023-08-04 04:22:54,986 INFO L236 CfgBuilder]: Building ICFG [2023-08-04 04:22:54,988 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2023-08-04 04:22:55,290 INFO L277 CfgBuilder]: Performing block encoding [2023-08-04 04:22:55,414 INFO L297 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-08-04 04:22:55,414 INFO L302 CfgBuilder]: Removed 2 assume(true) statements. [2023-08-04 04:22:55,416 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 04.08 04:22:55 BoogieIcfgContainer [2023-08-04 04:22:55,416 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-08-04 04:22:55,418 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2023-08-04 04:22:55,418 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2023-08-04 04:22:55,421 INFO L274 PluginConnector]: TraceAbstraction initialized [2023-08-04 04:22:55,421 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 04.08 04:22:54" (1/3) ... [2023-08-04 04:22:55,422 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@49921122 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 04.08 04:22:55, skipping insertion in model container [2023-08-04 04:22:55,422 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.08 04:22:54" (2/3) ... [2023-08-04 04:22:55,422 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@49921122 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 04.08 04:22:55, skipping insertion in model container [2023-08-04 04:22:55,422 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 04.08 04:22:55" (3/3) ... [2023-08-04 04:22:55,423 INFO L112 eAbstractionObserver]: Analyzing ICFG pthread-ext_25_stack_longest-2_bound2.i [2023-08-04 04:22:55,429 WARN L145 ceAbstractionStarter]: Switching off computation of Hoare annotation because input is a concurrent program [2023-08-04 04:22:55,437 INFO L203 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2023-08-04 04:22:55,437 INFO L162 ceAbstractionStarter]: Applying trace abstraction to program that has 1 error locations. [2023-08-04 04:22:55,438 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2023-08-04 04:22:55,502 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-08-04 04:22:55,532 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 96 places, 100 transitions, 205 flow [2023-08-04 04:22:55,576 INFO L124 PetriNetUnfolderBase]: 8/110 cut-off events. [2023-08-04 04:22:55,576 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-08-04 04:22:55,581 INFO L83 FinitePrefix]: Finished finitePrefix Result has 115 conditions, 110 events. 8/110 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 4. Compared 113 event pairs, 0 based on Foata normal form. 0/99 useless extension candidates. Maximal degree in co-relation 77. Up to 4 conditions per place. [2023-08-04 04:22:55,582 INFO L82 GeneralOperation]: Start removeDead. Operand has 96 places, 100 transitions, 205 flow [2023-08-04 04:22:55,585 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 96 places, 100 transitions, 205 flow [2023-08-04 04:22:55,588 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-04 04:22:55,595 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 96 places, 100 transitions, 205 flow [2023-08-04 04:22:55,597 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 96 places, 100 transitions, 205 flow [2023-08-04 04:22:55,598 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 96 places, 100 transitions, 205 flow [2023-08-04 04:22:55,635 INFO L124 PetriNetUnfolderBase]: 8/110 cut-off events. [2023-08-04 04:22:55,635 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-08-04 04:22:55,636 INFO L83 FinitePrefix]: Finished finitePrefix Result has 115 conditions, 110 events. 8/110 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 4. Compared 113 event pairs, 0 based on Foata normal form. 0/99 useless extension candidates. Maximal degree in co-relation 77. Up to 4 conditions per place. [2023-08-04 04:22:55,639 INFO L119 LiptonReduction]: Number of co-enabled transitions 1984 [2023-08-04 04:23:00,747 INFO L134 LiptonReduction]: Checked pairs total: 1726 [2023-08-04 04:23:00,747 INFO L136 LiptonReduction]: Total number of compositions: 99 [2023-08-04 04:23:00,758 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-08-04 04:23:00,763 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=true, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=LoopsAndPotentialCycles, mDumpOnlyReuseAutomata=false, mLimitTraceHistogram=0, mErrorLocTimeLimit=0, mLimitPathProgramCount=0, mCollectInterpolantStatistics=true, mHeuristicEmptinessCheck=false, mHeuristicEmptinessCheckAStarHeuristic=ZERO, mHeuristicEmptinessCheckAStarHeuristicRandomSeed=1337, mHeuristicEmptinessCheckSmtFeatureScoringMethod=DAGSIZE, mSMTFeatureExtraction=false, mSMTFeatureExtractionDumpPath=., mOverrideInterpolantAutomaton=false, mMcrInterpolantMethod=WP, mPorIndependenceSettings=[Lde.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.partialorder.independence.IndependenceSettings;@37700432, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-04 04:23:00,763 INFO L358 AbstractCegarLoop]: Starting to check reachability of 2 error locations. [2023-08-04 04:23:00,768 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-08-04 04:23:00,768 INFO L124 PetriNetUnfolderBase]: 3/18 cut-off events. [2023-08-04 04:23:00,768 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-08-04 04:23:00,769 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-04 04:23:00,769 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1] [2023-08-04 04:23:00,769 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting thr1Err0ASSERT_VIOLATIONERROR_FUNCTION === [thr1Err0ASSERT_VIOLATIONERROR_FUNCTION, thr1Err0ASSERT_VIOLATIONERROR_FUNCTION] === [2023-08-04 04:23:00,773 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-04 04:23:00,773 INFO L85 PathProgramCache]: Analyzing trace with hash 2003785546, now seen corresponding path program 1 times [2023-08-04 04:23:00,780 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-04 04:23:00,780 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1811615305] [2023-08-04 04:23:00,781 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-04 04:23:00,781 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-04 04:23:00,888 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-04 04:23:01,120 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-04 04:23:01,121 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-04 04:23:01,121 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1811615305] [2023-08-04 04:23:01,122 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1811615305] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-04 04:23:01,122 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-04 04:23:01,122 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2023-08-04 04:23:01,123 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [611316224] [2023-08-04 04:23:01,124 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-04 04:23:01,130 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-04 04:23:01,134 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-04 04:23:01,151 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-04 04:23:01,151 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-04 04:23:01,172 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 84 out of 199 [2023-08-04 04:23:01,176 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 17 places, 17 transitions, 39 flow. Second operand has 3 states, 3 states have (on average 86.66666666666667) internal successors, (260), 3 states have internal predecessors, (260), 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) [2023-08-04 04:23:01,176 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-04 04:23:01,176 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 84 of 199 [2023-08-04 04:23:01,177 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-04 04:23:01,246 INFO L124 PetriNetUnfolderBase]: 38/86 cut-off events. [2023-08-04 04:23:01,246 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-08-04 04:23:01,247 INFO L83 FinitePrefix]: Finished finitePrefix Result has 177 conditions, 86 events. 38/86 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 8. Compared 195 event pairs, 12 based on Foata normal form. 0/62 useless extension candidates. Maximal degree in co-relation 162. Up to 51 conditions per place. [2023-08-04 04:23:01,249 INFO L140 encePairwiseOnDemand]: 195/199 looper letters, 17 selfloop transitions, 2 changer transitions 1/21 dead transitions. [2023-08-04 04:23:01,249 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 19 places, 21 transitions, 87 flow [2023-08-04 04:23:01,250 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-04 04:23:01,252 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-04 04:23:01,264 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 275 transitions. [2023-08-04 04:23:01,269 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.46063651591289784 [2023-08-04 04:23:01,269 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 275 transitions. [2023-08-04 04:23:01,270 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 275 transitions. [2023-08-04 04:23:01,273 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-04 04:23:01,275 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 275 transitions. [2023-08-04 04:23:01,281 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 91.66666666666667) internal successors, (275), 3 states have internal predecessors, (275), 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) [2023-08-04 04:23:01,284 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 199.0) internal successors, (796), 4 states have internal predecessors, (796), 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) [2023-08-04 04:23:01,285 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 199.0) internal successors, (796), 4 states have internal predecessors, (796), 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) [2023-08-04 04:23:01,286 INFO L175 Difference]: Start difference. First operand has 17 places, 17 transitions, 39 flow. Second operand 3 states and 275 transitions. [2023-08-04 04:23:01,287 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 19 places, 21 transitions, 87 flow [2023-08-04 04:23:01,289 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 19 places, 21 transitions, 87 flow, removed 0 selfloop flow, removed 0 redundant places. [2023-08-04 04:23:01,290 INFO L231 Difference]: Finished difference. Result has 20 places, 16 transitions, 47 flow [2023-08-04 04:23:01,292 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=199, PETRI_DIFFERENCE_MINUEND_FLOW=37, PETRI_DIFFERENCE_MINUEND_PLACES=17, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=16, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=14, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=47, PETRI_PLACES=20, PETRI_TRANSITIONS=16} [2023-08-04 04:23:01,295 INFO L281 CegarLoopForPetriNet]: 17 programPoint places, 3 predicate places. [2023-08-04 04:23:01,295 INFO L495 AbstractCegarLoop]: Abstraction has has 20 places, 16 transitions, 47 flow [2023-08-04 04:23:01,296 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 86.66666666666667) internal successors, (260), 3 states have internal predecessors, (260), 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) [2023-08-04 04:23:01,296 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-04 04:23:01,296 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2023-08-04 04:23:01,296 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2023-08-04 04:23:01,296 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting thr1Err0ASSERT_VIOLATIONERROR_FUNCTION === [thr1Err0ASSERT_VIOLATIONERROR_FUNCTION, thr1Err0ASSERT_VIOLATIONERROR_FUNCTION] === [2023-08-04 04:23:01,304 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-04 04:23:01,304 INFO L85 PathProgramCache]: Analyzing trace with hash 1492585613, now seen corresponding path program 1 times [2023-08-04 04:23:01,304 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-04 04:23:01,304 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2046664613] [2023-08-04 04:23:01,304 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-04 04:23:01,305 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-04 04:23:01,381 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-04 04:23:01,382 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-08-04 04:23:01,422 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-04 04:23:01,452 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-08-04 04:23:01,452 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-08-04 04:23:01,454 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location thr1Err0ASSERT_VIOLATIONERROR_FUNCTION (1 of 2 remaining) [2023-08-04 04:23:01,455 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONERROR_FUNCTION (0 of 2 remaining) [2023-08-04 04:23:01,456 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2023-08-04 04:23:01,456 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1] [2023-08-04 04:23:01,458 INFO L307 ceAbstractionStarter]: Result for error location AllErrorsAtOnce was UNSAFE,UNKNOWN (1/2) [2023-08-04 04:23:01,461 INFO L228 ceAbstractionStarter]: Analysis of concurrent program completed with 1 thread instances [2023-08-04 04:23:01,461 INFO L178 ceAbstractionStarter]: Computing trace abstraction results [2023-08-04 04:23:01,516 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 04.08 04:23:01 BasicIcfg [2023-08-04 04:23:01,516 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2023-08-04 04:23:01,518 INFO L158 Benchmark]: Toolchain (without parser) took 7277.93ms. Allocated memory was 367.0MB in the beginning and 551.6MB in the end (delta: 184.5MB). Free memory was 314.2MB in the beginning and 364.8MB in the end (delta: -50.5MB). Peak memory consumption was 135.5MB. Max. memory is 16.0GB. [2023-08-04 04:23:01,519 INFO L158 Benchmark]: CDTParser took 0.09ms. Allocated memory is still 367.0MB. Free memory is still 315.8MB. There was no memory consumed. Max. memory is 16.0GB. [2023-08-04 04:23:01,519 INFO L158 Benchmark]: CACSL2BoogieTranslator took 448.26ms. Allocated memory is still 367.0MB. Free memory was 313.9MB in the beginning and 293.3MB in the end (delta: 20.6MB). Peak memory consumption was 21.0MB. Max. memory is 16.0GB. [2023-08-04 04:23:01,520 INFO L158 Benchmark]: Boogie Procedure Inliner took 48.04ms. Allocated memory is still 367.0MB. Free memory was 293.3MB in the beginning and 290.9MB in the end (delta: 2.5MB). Peak memory consumption was 2.1MB. Max. memory is 16.0GB. [2023-08-04 04:23:01,523 INFO L158 Benchmark]: Boogie Preprocessor took 37.81ms. Allocated memory is still 367.0MB. Free memory was 290.9MB in the beginning and 289.1MB in the end (delta: 1.7MB). Peak memory consumption was 2.1MB. Max. memory is 16.0GB. [2023-08-04 04:23:01,523 INFO L158 Benchmark]: RCFGBuilder took 640.72ms. Allocated memory was 367.0MB in the beginning and 551.6MB in the end (delta: 184.5MB). Free memory was 289.1MB in the beginning and 496.3MB in the end (delta: -207.2MB). Peak memory consumption was 27.4MB. Max. memory is 16.0GB. [2023-08-04 04:23:01,525 INFO L158 Benchmark]: TraceAbstraction took 6098.20ms. Allocated memory is still 551.6MB. Free memory was 496.3MB in the beginning and 364.8MB in the end (delta: 131.6MB). Peak memory consumption was 131.1MB. Max. memory is 16.0GB. [2023-08-04 04:23:01,529 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.09ms. Allocated memory is still 367.0MB. Free memory is still 315.8MB. There was no memory consumed. Max. memory is 16.0GB. * CACSL2BoogieTranslator took 448.26ms. Allocated memory is still 367.0MB. Free memory was 313.9MB in the beginning and 293.3MB in the end (delta: 20.6MB). Peak memory consumption was 21.0MB. Max. memory is 16.0GB. * Boogie Procedure Inliner took 48.04ms. Allocated memory is still 367.0MB. Free memory was 293.3MB in the beginning and 290.9MB in the end (delta: 2.5MB). Peak memory consumption was 2.1MB. Max. memory is 16.0GB. * Boogie Preprocessor took 37.81ms. Allocated memory is still 367.0MB. Free memory was 290.9MB in the beginning and 289.1MB in the end (delta: 1.7MB). Peak memory consumption was 2.1MB. Max. memory is 16.0GB. * RCFGBuilder took 640.72ms. Allocated memory was 367.0MB in the beginning and 551.6MB in the end (delta: 184.5MB). Free memory was 289.1MB in the beginning and 496.3MB in the end (delta: -207.2MB). Peak memory consumption was 27.4MB. Max. memory is 16.0GB. * TraceAbstraction took 6098.20ms. Allocated memory is still 551.6MB. Free memory was 496.3MB in the beginning and 364.8MB in the end (delta: 131.6MB). Peak memory consumption was 131.1MB. Max. memory is 16.0GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: - GenericResultAtLocation [Line: 256]: Unsoundness Warning unspecified type, defaulting to int C: short [256] - GenericResultAtLocation [Line: 256]: Unsoundness Warning unspecified type, defaulting to int C: short [256] * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - StatisticsResult: PetriNetLargeBlockEncoding benchmarks Lipton Reduction Statistics: ReductionTime: 5.2s, 96 PlacesBefore, 17 PlacesAfterwards, 100 TransitionsBefore, 17 TransitionsAfterwards, 1984 CoEnabledTransitionPairs, 5 FixpointIterations, 20 TrivialSequentialCompositions, 59 ConcurrentSequentialCompositions, 0 TrivialYvCompositions, 16 ConcurrentYvCompositions, 4 ChoiceCompositions, 99 TotalNumberOfCompositions, 1726 MoverChecksTotal, Independence Relation Statistics: CachedIndependenceRelation.Independence Queries: [ total: 1518, independent: 1471, independent conditional: 0, independent unconditional: 1471, dependent: 47, dependent conditional: 0, dependent unconditional: 47, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , CachedIndependenceRelation.Statistics on underlying relation: SyntacticIndependenceRelation.Independence Queries: [ total: 1073, independent: 1049, independent conditional: 0, independent unconditional: 1049, dependent: 24, dependent conditional: 0, dependent unconditional: 24, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , Cache Queries: [ total: 1518, independent: 422, independent conditional: 0, independent unconditional: 422, dependent: 23, dependent conditional: 0, dependent unconditional: 23, unknown: 1073, unknown conditional: 0, unknown unconditional: 1073] , Statistics on independence cache: Total cache size (in pairs): 26, Positive cache size: 19, Positive conditional cache size: 0, Positive unconditional cache size: 19, Negative cache size: 7, Negative conditional cache size: 0, Negative unconditional cache size: 7, Unknown cache size: 0, Unknown conditional cache size: 0, Unknown unconditional cache size: 0 - CounterExampleResult [Line: 749]: a call to reach_error is reachable a call to reach_error is reachable We found a FailurePath: [L701] 0 int memory[(2*960+1)]; [L702] 0 int next_alloc_idx = 1; [L703] 0 int m = 0; [L704] 0 int top; [L759] 0 int m2 = 0; [L760] 0 int state = 0; [L778] 0 pthread_t t; [L779] 0 int asdf=0; VAL [asdf=0, m2={4:0}, m={3:0}, next_alloc_idx=1, state=0, t={5:0}, top=0] [L779] COND TRUE 0 asdf<2 [L779] FCALL, FORK 0 pthread_create(&t, 0, thr1, 0) VAL [asdf=0, m2={4:0}, m={3:0}, next_alloc_idx=1, pthread_create(&t, 0, thr1, 0)=-1, state=0, t={5:0}, top=0] [L763] CALL 1 __VERIFIER_atomic_acquire(&m2) [L693] EXPR 1 \read(*m) [L693] CALL 1 assume_abort_if_not(*m==0) [L4] COND FALSE 1 !(!cond) [L693] RET 1 assume_abort_if_not(*m==0) [L694] 1 *m = 1 [L763] RET 1 __VERIFIER_atomic_acquire(&m2) [L766] 1 case 0: [L767] CALL 1 EBStack_init() [L719] 1 top = 0 [L767] RET 1 EBStack_init() [L768] 1 state = 1 [L769] 1 case 1: [L770] CALL 1 __VERIFIER_atomic_release(&m2) [L698] EXPR 1 \read(*m) [L698] CALL 1 assume_abort_if_not(*m==1) [L4] COND FALSE 1 !(!cond) [L698] RET 1 assume_abort_if_not(*m==1) [L699] 1 *m = 0 [L770] RET 1 __VERIFIER_atomic_release(&m2) [L771] CALL 1 push_loop() [L752] 1 int r = -1; [L753] 1 int arg = __VERIFIER_nondet_int(); [L754] COND TRUE 1 1 [L755] CALL, EXPR 1 push(arg) [L728] 1 int oldTop = -1, newTop = -1; [L729] CALL, EXPR 1 index_malloc() [L706] 1 int curr_alloc_idx = -1; [L707] CALL 1 __VERIFIER_atomic_acquire(&m) [L693] EXPR 1 \read(*m) [L693] CALL 1 assume_abort_if_not(*m==0) [L4] COND FALSE 1 !(!cond) [L693] RET 1 assume_abort_if_not(*m==0) [L694] 1 *m = 1 [L707] RET 1 __VERIFIER_atomic_acquire(&m) [L708] COND FALSE 1 !(next_alloc_idx+2-1 > (2*960+1)) [L712] 1 curr_alloc_idx = next_alloc_idx [L713] 1 next_alloc_idx += 2 [L714] CALL 1 __VERIFIER_atomic_release(&m) [L698] EXPR 1 \read(*m) [L698] CALL 1 assume_abort_if_not(*m==1) [L4] COND FALSE 1 !(!cond) [L698] RET 1 assume_abort_if_not(*m==1) [L699] 1 *m = 0 [L714] RET 1 __VERIFIER_atomic_release(&m) [L716] 1 return curr_alloc_idx; [L729] RET, EXPR 1 index_malloc() [L729] 1 newTop = index_malloc() VAL [\old(d)=0, d=0, index_malloc()=1, m2={4:0}, m={3:0}, newTop=1, next_alloc_idx=3, oldTop=-1, state=1, top=0] [L730] COND FALSE 1 !(newTop == 0) [L733] 1 memory[newTop+0] = d [L734] CALL 1 __VERIFIER_atomic_acquire(&m) [L693] EXPR 1 \read(*m) [L693] CALL 1 assume_abort_if_not(*m==0) [L4] COND FALSE 1 !(!cond) [L693] RET 1 assume_abort_if_not(*m==0) [L694] 1 *m = 1 [L734] RET 1 __VERIFIER_atomic_acquire(&m) [L735] 1 oldTop = top [L736] 1 memory[newTop+1] = oldTop [L738] 1 top = newTop VAL [\old(d)=0, d=0, m2={4:0}, m={3:0}, newTop=1, next_alloc_idx=3, oldTop=0, state=1, top=1] [L740] CALL 1 __VERIFIER_atomic_release(&m) [L698] EXPR 1 \read(*m) [L698] CALL 1 assume_abort_if_not(*m==1) [L4] COND FALSE 1 !(!cond) [L698] RET 1 assume_abort_if_not(*m==1) [L699] 1 *m = 0 [L740] RET 1 __VERIFIER_atomic_release(&m) [L741] 1 return 1; [L755] RET, EXPR 1 push(arg) [L755] 1 r = push(arg) VAL [arg=0, m2={4:0}, m={3:0}, next_alloc_idx=3, push(arg)=1, r=1, state=1, top=1] [L756] CALL 1 __VERIFIER_atomic_assert(r) [L749] EXPR 1 !r || !isEmpty() [L749] CALL, EXPR 1 isEmpty() [L722] COND FALSE 1 !(top == 0) [L725] 1 return 0; [L749] RET, EXPR 1 isEmpty() [L749] EXPR 1 !r || !isEmpty() [L749] COND TRUE 1 !(!(!r || !isEmpty())) [L749] 1 reach_error() VAL [\old(r)=1, m2={4:0}, m={3:0}, next_alloc_idx=3, r=1, state=1, top=1] - StatisticsResult: Ultimate Automizer benchmark data with 1 thread instances CFG has 3 procedures, 151 locations, 3 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: 5.9s, OverallIterations: 2, TraceHistogramMax: 1, PathProgramHistogramMax: 1, EmptinessCheckTime: 0.0s, AutomataDifference: 0.1s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 5.2s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 11 SdHoareTripleChecker+Valid, 0.0s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 6 mSDsluCounter, 1 SdHoareTripleChecker+Invalid, 0.0s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 0 mSDsCounter, 3 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 30 IncrementalHoareTripleChecker+Invalid, 33 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 3 mSolverCounterUnsat, 1 mSDtfsCounter, 30 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 2 GetRequests, 1 SyntacticMatches, 0 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=47occurred in iteration=1, InterpolantAutomatonStates: 3, 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.2s InterpolantComputationTime, 18 NumberOfCodeBlocks, 18 NumberOfCodeBlocksAsserted, 2 NumberOfCheckSat, 7 ConstructedInterpolants, 0 QuantifiedInterpolants, 49 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 1 InterpolantComputations, 1 PerfectInterpolantSequences, 0/0 InterpolantCoveringCapability, INVARIANT_SYNTHESIS: No data available, INTERPOLANT_CONSOLIDATION: No data available, ABSTRACT_INTERPRETATION: No data available, PDR: No data available, ACCELERATED_INTERPOLATION: No data available, SIFA: No data available, ReuseStatistics: No data available RESULT: Ultimate proved your program to be incorrect! [2023-08-04 04:23:01,549 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Forceful destruction successful, exit code 0 Received shutdown request...