/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_longer-1_bound2.i -------------------------------------------------------------------------------- This is Ultimate 0.2.3-dev-19404b3-m [2023-08-04 04:22:10,433 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-08-04 04:22:10,519 INFO L114 SettingsManager]: Loading settings from /storage/repos/CAV22/benchmarks/svcomp-Reach-32bit-Automizer_Default.epf [2023-08-04 04:22:10,526 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-08-04 04:22:10,527 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2023-08-04 04:22:10,527 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.Translation Mode: [2023-08-04 04:22:10,528 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.Checked method. Library mode if empty. [2023-08-04 04:22:10,552 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-08-04 04:22:10,553 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-08-04 04:22:10,557 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-08-04 04:22:10,557 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-08-04 04:22:10,558 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-08-04 04:22:10,558 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-08-04 04:22:10,560 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-08-04 04:22:10,560 INFO L153 SettingsManager]: * Use SBE=true [2023-08-04 04:22:10,560 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-08-04 04:22:10,560 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-08-04 04:22:10,561 INFO L153 SettingsManager]: * sizeof long=4 [2023-08-04 04:22:10,561 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-08-04 04:22:10,561 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-08-04 04:22:10,561 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-08-04 04:22:10,562 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-08-04 04:22:10,562 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-08-04 04:22:10,562 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-08-04 04:22:10,563 INFO L153 SettingsManager]: * sizeof long double=12 [2023-08-04 04:22:10,564 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-08-04 04:22:10,564 INFO L153 SettingsManager]: * Use constant arrays=true [2023-08-04 04:22:10,565 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-08-04 04:22:10,565 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-08-04 04:22:10,565 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2023-08-04 04:22:10,566 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-08-04 04:22:10,566 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-08-04 04:22:10,567 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-08-04 04:22:10,567 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2023-08-04 04:22:10,567 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2023-08-04 04:22:10,567 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-08-04 04:22:10,567 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2023-08-04 04:22:10,568 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-08-04 04:22:10,568 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2023-08-04 04:22:10,568 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-08-04 04:22:10,568 INFO L153 SettingsManager]: * Independence relation used for large block encoding in concurrent analysis=SYNTACTIC [2023-08-04 04:22:10,568 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:10,790 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-08-04 04:22:10,826 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-08-04 04:22:10,829 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-08-04 04:22:10,830 INFO L270 PluginConnector]: Initializing CDTParser... [2023-08-04 04:22:10,830 INFO L274 PluginConnector]: CDTParser initialized [2023-08-04 04:22:10,832 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/CAV22/benchmarks/added_bound_to_unbounded/pthread-ext_25_stack_longer-1_bound2.i [2023-08-04 04:22:12,028 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-08-04 04:22:12,321 INFO L384 CDTParser]: Found 1 translation units. [2023-08-04 04:22:12,321 INFO L180 CDTParser]: Scanning /storage/repos/CAV22/benchmarks/added_bound_to_unbounded/pthread-ext_25_stack_longer-1_bound2.i [2023-08-04 04:22:12,339 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/8eb7ec781/35126696bc37403d9effefbb2a719e26/FLAG82e8ed6b7 [2023-08-04 04:22:12,353 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/8eb7ec781/35126696bc37403d9effefbb2a719e26 [2023-08-04 04:22:12,355 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-08-04 04:22:12,357 INFO L133 ToolchainWalker]: Walking toolchain with 5 elements. [2023-08-04 04:22:12,358 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-08-04 04:22:12,358 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-08-04 04:22:12,367 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-08-04 04:22:12,367 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 04.08 04:22:12" (1/1) ... [2023-08-04 04:22:12,368 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@56d3a89f and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.08 04:22:12, skipping insertion in model container [2023-08-04 04:22:12,368 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 04.08 04:22:12" (1/1) ... [2023-08-04 04:22:12,416 INFO L176 MainTranslator]: Built tables and reachable declarations [2023-08-04 04:22:12,738 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_longer-1_bound2.i[31182,31195] [2023-08-04 04:22:12,752 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-08-04 04:22:12,764 INFO L201 MainTranslator]: Completed pre-run [2023-08-04 04:22:12,798 WARN L75 lationResultReporter]: Unsoundness Warning: unspecified type, defaulting to int C: short [256] [2023-08-04 04:22:12,799 WARN L75 lationResultReporter]: Unsoundness Warning: unspecified type, defaulting to int C: short [256] [2023-08-04 04:22:12,828 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_longer-1_bound2.i[31182,31195] [2023-08-04 04:22:12,839 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-08-04 04:22:12,871 WARN L667 CHandler]: The function __VERIFIER_atomic_begin is called, but not defined or handled by StandardFunctionHandler. [2023-08-04 04:22:12,871 WARN L667 CHandler]: The function __VERIFIER_atomic_end is called, but not defined or handled by StandardFunctionHandler. [2023-08-04 04:22:12,877 INFO L206 MainTranslator]: Completed translation [2023-08-04 04:22:12,878 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.08 04:22:12 WrapperNode [2023-08-04 04:22:12,878 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-08-04 04:22:12,879 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-08-04 04:22:12,880 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-08-04 04:22:12,880 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-08-04 04:22:12,886 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:12" (1/1) ... [2023-08-04 04:22:12,920 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:12" (1/1) ... [2023-08-04 04:22:12,951 INFO L138 Inliner]: procedures = 179, calls = 36, calls flagged for inlining = 18, calls inlined = 22, statements flattened = 179 [2023-08-04 04:22:12,952 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-08-04 04:22:12,953 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-08-04 04:22:12,953 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-08-04 04:22:12,953 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-08-04 04:22:12,961 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:12" (1/1) ... [2023-08-04 04:22:12,961 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:12" (1/1) ... [2023-08-04 04:22:12,975 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:12" (1/1) ... [2023-08-04 04:22:12,975 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:12" (1/1) ... [2023-08-04 04:22:12,980 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:12" (1/1) ... [2023-08-04 04:22:12,984 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:12" (1/1) ... [2023-08-04 04:22:13,001 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:12" (1/1) ... [2023-08-04 04:22:13,003 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:12" (1/1) ... [2023-08-04 04:22:13,006 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-08-04 04:22:13,006 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-08-04 04:22:13,006 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-08-04 04:22:13,007 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-08-04 04:22:13,007 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.08 04:22:12" (1/1) ... [2023-08-04 04:22:13,021 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-08-04 04:22:13,032 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-08-04 04:22:13,045 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:13,076 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:13,090 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2023-08-04 04:22:13,090 INFO L130 BoogieDeclarations]: Found specification of procedure thr1 [2023-08-04 04:22:13,090 INFO L138 BoogieDeclarations]: Found implementation of procedure thr1 [2023-08-04 04:22:13,090 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2023-08-04 04:22:13,090 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_begin [2023-08-04 04:22:13,092 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-08-04 04:22:13,092 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-08-04 04:22:13,092 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-08-04 04:22:13,093 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2023-08-04 04:22:13,093 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_end [2023-08-04 04:22:13,093 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-08-04 04:22:13,093 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-08-04 04:22:13,095 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:13,250 INFO L236 CfgBuilder]: Building ICFG [2023-08-04 04:22:13,260 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2023-08-04 04:22:13,553 INFO L277 CfgBuilder]: Performing block encoding [2023-08-04 04:22:13,719 INFO L297 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-08-04 04:22:13,720 INFO L302 CfgBuilder]: Removed 2 assume(true) statements. [2023-08-04 04:22:13,722 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 04.08 04:22:13 BoogieIcfgContainer [2023-08-04 04:22:13,722 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-08-04 04:22:13,724 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2023-08-04 04:22:13,724 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2023-08-04 04:22:13,727 INFO L274 PluginConnector]: TraceAbstraction initialized [2023-08-04 04:22:13,728 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 04.08 04:22:12" (1/3) ... [2023-08-04 04:22:13,728 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@c6bc147 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 04.08 04:22:13, skipping insertion in model container [2023-08-04 04:22:13,728 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.08 04:22:12" (2/3) ... [2023-08-04 04:22:13,731 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@c6bc147 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 04.08 04:22:13, skipping insertion in model container [2023-08-04 04:22:13,731 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 04.08 04:22:13" (3/3) ... [2023-08-04 04:22:13,733 INFO L112 eAbstractionObserver]: Analyzing ICFG pthread-ext_25_stack_longer-1_bound2.i [2023-08-04 04:22:13,742 WARN L145 ceAbstractionStarter]: Switching off computation of Hoare annotation because input is a concurrent program [2023-08-04 04:22:13,749 INFO L203 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2023-08-04 04:22:13,749 INFO L162 ceAbstractionStarter]: Applying trace abstraction to program that has 1 error locations. [2023-08-04 04:22:13,749 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2023-08-04 04:22:13,828 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-08-04 04:22:13,863 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 96 places, 100 transitions, 205 flow [2023-08-04 04:22:13,923 INFO L124 PetriNetUnfolderBase]: 8/110 cut-off events. [2023-08-04 04:22:13,923 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-08-04 04:22:13,929 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:13,930 INFO L82 GeneralOperation]: Start removeDead. Operand has 96 places, 100 transitions, 205 flow [2023-08-04 04:22:13,933 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 96 places, 100 transitions, 205 flow [2023-08-04 04:22:13,937 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-04 04:22:13,945 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 96 places, 100 transitions, 205 flow [2023-08-04 04:22:13,951 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 96 places, 100 transitions, 205 flow [2023-08-04 04:22:13,952 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 96 places, 100 transitions, 205 flow [2023-08-04 04:22:13,981 INFO L124 PetriNetUnfolderBase]: 8/110 cut-off events. [2023-08-04 04:22:13,982 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-08-04 04:22:13,983 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:13,985 INFO L119 LiptonReduction]: Number of co-enabled transitions 1984 [2023-08-04 04:22:19,219 INFO L134 LiptonReduction]: Checked pairs total: 1726 [2023-08-04 04:22:19,220 INFO L136 LiptonReduction]: Total number of compositions: 99 [2023-08-04 04:22:19,239 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-08-04 04:22:19,247 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;@32c5442c, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-04 04:22:19,247 INFO L358 AbstractCegarLoop]: Starting to check reachability of 2 error locations. [2023-08-04 04:22:19,253 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-08-04 04:22:19,254 INFO L124 PetriNetUnfolderBase]: 3/18 cut-off events. [2023-08-04 04:22:19,254 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-08-04 04:22:19,254 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-04 04:22:19,254 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1] [2023-08-04 04:22:19,255 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting thr1Err0ASSERT_VIOLATIONERROR_FUNCTION === [thr1Err0ASSERT_VIOLATIONERROR_FUNCTION, thr1Err0ASSERT_VIOLATIONERROR_FUNCTION] === [2023-08-04 04:22:19,260 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-04 04:22:19,261 INFO L85 PathProgramCache]: Analyzing trace with hash 2003785546, now seen corresponding path program 1 times [2023-08-04 04:22:19,268 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-04 04:22:19,269 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1838740317] [2023-08-04 04:22:19,269 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-04 04:22:19,269 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-04 04:22:19,441 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-04 04:22:19,701 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:22:19,702 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-04 04:22:19,702 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1838740317] [2023-08-04 04:22:19,702 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1838740317] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-04 04:22:19,702 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-04 04:22:19,703 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2023-08-04 04:22:19,704 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [926341670] [2023-08-04 04:22:19,704 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-04 04:22:19,711 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-04 04:22:19,715 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-04 04:22:19,732 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-04 04:22:19,732 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-04 04:22:19,745 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 84 out of 199 [2023-08-04 04:22:19,749 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:22:19,749 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-04 04:22:19,750 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 84 of 199 [2023-08-04 04:22:19,750 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-04 04:22:19,813 INFO L124 PetriNetUnfolderBase]: 38/86 cut-off events. [2023-08-04 04:22:19,814 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-08-04 04:22:19,814 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:22:19,816 INFO L140 encePairwiseOnDemand]: 195/199 looper letters, 17 selfloop transitions, 2 changer transitions 1/21 dead transitions. [2023-08-04 04:22:19,816 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 19 places, 21 transitions, 87 flow [2023-08-04 04:22:19,818 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-04 04:22:19,820 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-04 04:22:19,832 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 275 transitions. [2023-08-04 04:22:19,836 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.46063651591289784 [2023-08-04 04:22:19,836 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 275 transitions. [2023-08-04 04:22:19,837 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 275 transitions. [2023-08-04 04:22:19,839 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-04 04:22:19,841 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 275 transitions. [2023-08-04 04:22:19,847 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:22:19,851 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:22:19,851 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:22:19,853 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:22:19,853 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 19 places, 21 transitions, 87 flow [2023-08-04 04:22:19,855 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:22:19,856 INFO L231 Difference]: Finished difference. Result has 20 places, 16 transitions, 47 flow [2023-08-04 04:22:19,858 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:22:19,861 INFO L281 CegarLoopForPetriNet]: 17 programPoint places, 3 predicate places. [2023-08-04 04:22:19,861 INFO L495 AbstractCegarLoop]: Abstraction has has 20 places, 16 transitions, 47 flow [2023-08-04 04:22:19,862 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:22:19,862 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-04 04:22:19,862 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2023-08-04 04:22:19,862 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2023-08-04 04:22:19,862 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting thr1Err0ASSERT_VIOLATIONERROR_FUNCTION === [thr1Err0ASSERT_VIOLATIONERROR_FUNCTION, thr1Err0ASSERT_VIOLATIONERROR_FUNCTION] === [2023-08-04 04:22:19,863 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-04 04:22:19,863 INFO L85 PathProgramCache]: Analyzing trace with hash 1492585613, now seen corresponding path program 1 times [2023-08-04 04:22:19,863 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-04 04:22:19,863 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [477121358] [2023-08-04 04:22:19,863 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-04 04:22:19,864 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-04 04:22:19,936 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-04 04:22:19,936 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-08-04 04:22:19,965 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-04 04:22:19,986 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-08-04 04:22:19,986 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-08-04 04:22:19,988 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location thr1Err0ASSERT_VIOLATIONERROR_FUNCTION (1 of 2 remaining) [2023-08-04 04:22:19,989 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONERROR_FUNCTION (0 of 2 remaining) [2023-08-04 04:22:19,990 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2023-08-04 04:22:19,990 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1] [2023-08-04 04:22:19,991 INFO L307 ceAbstractionStarter]: Result for error location AllErrorsAtOnce was UNSAFE,UNKNOWN (1/2) [2023-08-04 04:22:19,995 INFO L228 ceAbstractionStarter]: Analysis of concurrent program completed with 1 thread instances [2023-08-04 04:22:19,995 INFO L178 ceAbstractionStarter]: Computing trace abstraction results [2023-08-04 04:22:20,034 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 04.08 04:22:20 BasicIcfg [2023-08-04 04:22:20,034 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2023-08-04 04:22:20,035 INFO L158 Benchmark]: Toolchain (without parser) took 7678.04ms. Allocated memory is still 450.9MB. Free memory was 404.4MB in the beginning and 256.2MB in the end (delta: 148.3MB). Peak memory consumption was 149.0MB. Max. memory is 16.0GB. [2023-08-04 04:22:20,035 INFO L158 Benchmark]: CDTParser took 0.13ms. Allocated memory is still 341.8MB. Free memory was 298.5MB in the beginning and 298.4MB in the end (delta: 160.8kB). There was no memory consumed. Max. memory is 16.0GB. [2023-08-04 04:22:20,035 INFO L158 Benchmark]: CACSL2BoogieTranslator took 520.86ms. Allocated memory is still 450.9MB. Free memory was 404.4MB in the beginning and 383.4MB in the end (delta: 21.1MB). Peak memory consumption was 21.0MB. Max. memory is 16.0GB. [2023-08-04 04:22:20,036 INFO L158 Benchmark]: Boogie Procedure Inliner took 72.59ms. Allocated memory is still 450.9MB. Free memory was 383.4MB in the beginning and 381.3MB in the end (delta: 2.0MB). Peak memory consumption was 2.1MB. Max. memory is 16.0GB. [2023-08-04 04:22:20,036 INFO L158 Benchmark]: Boogie Preprocessor took 53.16ms. Allocated memory is still 450.9MB. Free memory was 381.3MB in the beginning and 379.3MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.0GB. [2023-08-04 04:22:20,036 INFO L158 Benchmark]: RCFGBuilder took 715.80ms. Allocated memory is still 450.9MB. Free memory was 379.3MB in the beginning and 341.5MB in the end (delta: 37.7MB). Peak memory consumption was 37.7MB. Max. memory is 16.0GB. [2023-08-04 04:22:20,037 INFO L158 Benchmark]: TraceAbstraction took 6309.92ms. Allocated memory is still 450.9MB. Free memory was 340.7MB in the beginning and 256.2MB in the end (delta: 84.6MB). Peak memory consumption was 86.1MB. Max. memory is 16.0GB. [2023-08-04 04:22:20,039 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.13ms. Allocated memory is still 341.8MB. Free memory was 298.5MB in the beginning and 298.4MB in the end (delta: 160.8kB). There was no memory consumed. Max. memory is 16.0GB. * CACSL2BoogieTranslator took 520.86ms. Allocated memory is still 450.9MB. Free memory was 404.4MB in the beginning and 383.4MB in the end (delta: 21.1MB). Peak memory consumption was 21.0MB. Max. memory is 16.0GB. * Boogie Procedure Inliner took 72.59ms. Allocated memory is still 450.9MB. Free memory was 383.4MB in the beginning and 381.3MB in the end (delta: 2.0MB). Peak memory consumption was 2.1MB. Max. memory is 16.0GB. * Boogie Preprocessor took 53.16ms. Allocated memory is still 450.9MB. Free memory was 381.3MB in the beginning and 379.3MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.0GB. * RCFGBuilder took 715.80ms. Allocated memory is still 450.9MB. Free memory was 379.3MB in the beginning and 341.5MB in the end (delta: 37.7MB). Peak memory consumption was 37.7MB. Max. memory is 16.0GB. * TraceAbstraction took 6309.92ms. Allocated memory is still 450.9MB. Free memory was 340.7MB in the beginning and 256.2MB in the end (delta: 84.6MB). Peak memory consumption was 86.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.3s, 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*320+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*320+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: 6.1s, OverallIterations: 2, TraceHistogramMax: 1, PathProgramHistogramMax: 1, EmptinessCheckTime: 0.0s, AutomataDifference: 0.1s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 5.4s, 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.3s 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:22:20,066 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...