/usr/lib/jvm/java-1.11.0-openjdk-amd64/bin/java -Xmx8000000000 -Xss4m -jar ./plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata ./data -s ../../../trunk/examples/settings/automizer/concurrent/svcomp-Reach-32bit-Automizer_Default-noMmResRef-PN-SemanticLbe.epf -tc ../../../trunk/examples/toolchains/AutomizerCInline.xml -i ../../../trunk/examples/svcomp/pthread-ext/28_buggy_simple_loop1_vf.i -------------------------------------------------------------------------------- This is Ultimate 0.2.3-wip.dk.datarace-free-lbe-02cf818-m [2023-11-17 15:09:10,844 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-17 15:09:10,927 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/settings/automizer/concurrent/svcomp-Reach-32bit-Automizer_Default-noMmResRef-PN-SemanticLbe.epf [2023-11-17 15:09:10,957 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-17 15:09:10,959 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-17 15:09:10,959 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-11-17 15:09:10,960 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-17 15:09:10,960 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-17 15:09:10,961 INFO L153 SettingsManager]: * Use SBE=true [2023-11-17 15:09:10,964 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-17 15:09:10,964 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-17 15:09:10,965 INFO L153 SettingsManager]: * sizeof long=4 [2023-11-17 15:09:10,965 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-17 15:09:10,966 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-11-17 15:09:10,966 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-17 15:09:10,966 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-17 15:09:10,966 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-17 15:09:10,966 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-17 15:09:10,967 INFO L153 SettingsManager]: * sizeof long double=12 [2023-11-17 15:09:10,967 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-17 15:09:10,967 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-17 15:09:10,967 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-17 15:09:10,968 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-11-17 15:09:10,968 INFO L153 SettingsManager]: * To the following directory=./dump/ [2023-11-17 15:09:10,968 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2023-11-17 15:09:10,968 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-11-17 15:09:10,968 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-17 15:09:10,968 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-17 15:09:10,969 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-11-17 15:09:10,969 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2023-11-17 15:09:10,969 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-11-17 15:09:10,970 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2023-11-17 15:09:10,970 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode 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 [2023-11-17 15:09:11,158 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-17 15:09:11,173 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-17 15:09:11,175 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-17 15:09:11,176 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-17 15:09:11,177 INFO L274 PluginConnector]: CDTParser initialized [2023-11-17 15:09:11,178 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/pthread-ext/28_buggy_simple_loop1_vf.i [2023-11-17 15:09:12,291 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-17 15:09:12,520 INFO L384 CDTParser]: Found 1 translation units. [2023-11-17 15:09:12,521 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/pthread-ext/28_buggy_simple_loop1_vf.i [2023-11-17 15:09:12,531 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/cc8f30e13/5addb02557ae479ca21aae1aa4f91196/FLAG952b4ae85 [2023-11-17 15:09:12,545 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/cc8f30e13/5addb02557ae479ca21aae1aa4f91196 [2023-11-17 15:09:12,547 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-17 15:09:12,548 INFO L133 ToolchainWalker]: Walking toolchain with 5 elements. [2023-11-17 15:09:12,549 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-17 15:09:12,549 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-17 15:09:12,553 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-17 15:09:12,553 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 17.11 03:09:12" (1/1) ... [2023-11-17 15:09:12,554 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@6517c274 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:09:12, skipping insertion in model container [2023-11-17 15:09:12,554 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 17.11 03:09:12" (1/1) ... [2023-11-17 15:09:12,594 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-17 15:09:12,862 WARN L240 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/pthread-ext/28_buggy_simple_loop1_vf.i[30287,30300] [2023-11-17 15:09:12,872 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-17 15:09:12,880 INFO L202 MainTranslator]: Completed pre-run [2023-11-17 15:09:12,918 WARN L240 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/pthread-ext/28_buggy_simple_loop1_vf.i[30287,30300] [2023-11-17 15:09:12,920 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-17 15:09:12,948 INFO L206 MainTranslator]: Completed translation [2023-11-17 15:09:12,948 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:09:12 WrapperNode [2023-11-17 15:09:12,949 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-17 15:09:12,950 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-17 15:09:12,950 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-17 15:09:12,950 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-17 15:09:12,955 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:09:12" (1/1) ... [2023-11-17 15:09:12,977 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:09:12" (1/1) ... [2023-11-17 15:09:12,993 INFO L138 Inliner]: procedures = 167, calls = 10, calls flagged for inlining = 2, calls inlined = 2, statements flattened = 21 [2023-11-17 15:09:12,994 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-17 15:09:12,994 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-17 15:09:12,995 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-17 15:09:12,995 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-17 15:09:13,000 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:09:12" (1/1) ... [2023-11-17 15:09:13,001 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:09:12" (1/1) ... [2023-11-17 15:09:13,005 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:09:12" (1/1) ... [2023-11-17 15:09:13,005 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:09:12" (1/1) ... [2023-11-17 15:09:13,018 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:09:12" (1/1) ... [2023-11-17 15:09:13,022 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:09:12" (1/1) ... [2023-11-17 15:09:13,037 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:09:12" (1/1) ... [2023-11-17 15:09:13,038 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:09:12" (1/1) ... [2023-11-17 15:09:13,040 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-17 15:09:13,041 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-17 15:09:13,041 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-17 15:09:13,041 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-17 15:09:13,041 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:09:12" (1/1) ... [2023-11-17 15:09:13,045 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-11-17 15:09:13,057 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-11-17 15:09:13,068 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-11-17 15:09:13,071 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-11-17 15:09:13,091 INFO L130 BoogieDeclarations]: Found specification of procedure thr1 [2023-11-17 15:09:13,091 INFO L138 BoogieDeclarations]: Found implementation of procedure thr1 [2023-11-17 15:09:13,091 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2023-11-17 15:09:13,091 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-17 15:09:13,091 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-17 15:09:13,092 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-17 15:09:13,092 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2023-11-17 15:09:13,092 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-17 15:09:13,093 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-17 15:09:13,094 WARN L211 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement [2023-11-17 15:09:13,178 INFO L239 CfgBuilder]: Building ICFG [2023-11-17 15:09:13,180 INFO L265 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-17 15:09:13,305 INFO L280 CfgBuilder]: Performing block encoding [2023-11-17 15:09:13,312 INFO L302 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-17 15:09:13,313 INFO L307 CfgBuilder]: Removed 4 assume(true) statements. [2023-11-17 15:09:13,314 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 17.11 03:09:13 BoogieIcfgContainer [2023-11-17 15:09:13,314 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-17 15:09:13,316 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2023-11-17 15:09:13,316 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2023-11-17 15:09:13,318 INFO L274 PluginConnector]: TraceAbstraction initialized [2023-11-17 15:09:13,318 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 17.11 03:09:12" (1/3) ... [2023-11-17 15:09:13,319 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@e6c2dcf and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 17.11 03:09:13, skipping insertion in model container [2023-11-17 15:09:13,319 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:09:12" (2/3) ... [2023-11-17 15:09:13,319 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@e6c2dcf and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 17.11 03:09:13, skipping insertion in model container [2023-11-17 15:09:13,319 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 17.11 03:09:13" (3/3) ... [2023-11-17 15:09:13,320 INFO L112 eAbstractionObserver]: Analyzing ICFG 28_buggy_simple_loop1_vf.i [2023-11-17 15:09:13,333 INFO L203 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2023-11-17 15:09:13,333 INFO L162 ceAbstractionStarter]: Applying trace abstraction to program that has 1 error locations. [2023-11-17 15:09:13,333 INFO L514 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2023-11-17 15:09:13,383 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-11-17 15:09:13,422 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 61 places, 67 transitions, 138 flow [2023-11-17 15:09:13,452 INFO L124 PetriNetUnfolderBase]: 10/78 cut-off events. [2023-11-17 15:09:13,453 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-17 15:09:13,457 INFO L83 FinitePrefix]: Finished finitePrefix Result has 82 conditions, 78 events. 10/78 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 5. Compared 107 event pairs, 0 based on Foata normal form. 0/65 useless extension candidates. Maximal degree in co-relation 56. Up to 4 conditions per place. [2023-11-17 15:09:13,457 INFO L82 GeneralOperation]: Start removeDead. Operand has 61 places, 67 transitions, 138 flow [2023-11-17 15:09:13,459 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 61 places, 67 transitions, 138 flow [2023-11-17 15:09:13,461 INFO L115 etLargeBlockEncoding]: Petri net LBE is using semantic-based independence relation. [2023-11-17 15:09:13,469 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 61 places, 67 transitions, 138 flow [2023-11-17 15:09:13,471 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 61 places, 67 transitions, 138 flow [2023-11-17 15:09:13,471 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 61 places, 67 transitions, 138 flow [2023-11-17 15:09:13,483 INFO L124 PetriNetUnfolderBase]: 10/78 cut-off events. [2023-11-17 15:09:13,483 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-17 15:09:13,484 INFO L83 FinitePrefix]: Finished finitePrefix Result has 82 conditions, 78 events. 10/78 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 5. Compared 107 event pairs, 0 based on Foata normal form. 0/65 useless extension candidates. Maximal degree in co-relation 56. Up to 4 conditions per place. [2023-11-17 15:09:13,485 INFO L119 LiptonReduction]: Number of co-enabled transitions 1204 [2023-11-17 15:09:14,708 INFO L134 LiptonReduction]: Checked pairs total: 964 [2023-11-17 15:09:14,708 INFO L136 LiptonReduction]: Total number of compositions: 57 [2023-11-17 15:09:14,726 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-11-17 15:09:14,730 INFO L357 AbstractCegarLoop]: Settings: SEPARATE_VIOLATION_CHECK=true, mInterprocedural=true, mMaxIterations=1000000, mWatchIteration=1000000, mArtifact=RCFG, mInterpolation=FPandBP, mInterpolantAutomaton=STRAIGHT_LINE, mDumpAutomata=false, mAutomataFormat=ATS_NUMERATE, mDumpPath=., mDeterminiation=PREDICATE_ABSTRACTION, mMinimize=MINIMIZE_SEVPA, mHoare=false, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=LoopHeads, mDumpOnlyReuseAutomata=false, mLimitTraceHistogram=0, mErrorLocTimeLimit=0, mLimitPathProgramCount=0, mCollectInterpolantStatistics=true, mHeuristicEmptinessCheck=false, mHeuristicEmptinessCheckAStarHeuristic=ZERO, mHeuristicEmptinessCheckAStarHeuristicRandomSeed=1337, mHeuristicEmptinessCheckSmtFeatureScoringMethod=DAGSIZE, mSMTFeatureExtraction=false, mSMTFeatureExtractionDumpPath=., mOverrideInterpolantAutomaton=false, mMcrInterpolantMethod=WP, mPorIndependenceSettings=[Lde.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.partialorder.independence.IndependenceSettings;@7f348949, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-11-17 15:09:14,730 INFO L358 AbstractCegarLoop]: Starting to check reachability of 3 error locations. [2023-11-17 15:09:14,747 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-11-17 15:09:14,747 INFO L124 PetriNetUnfolderBase]: 2/13 cut-off events. [2023-11-17 15:09:14,747 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-17 15:09:14,747 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-17 15:09:14,748 INFO L208 CegarLoopForPetriNet]: trace histogram [2, 1, 1, 1, 1] [2023-11-17 15:09:14,748 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [thr1Err0ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES, thr1Err0ASSERT_VIOLATIONERROR_FUNCTION] === [2023-11-17 15:09:14,751 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-17 15:09:14,752 INFO L85 PathProgramCache]: Analyzing trace with hash 457210593, now seen corresponding path program 1 times [2023-11-17 15:09:14,759 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-17 15:09:14,759 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1383212056] [2023-11-17 15:09:14,760 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-17 15:09:14,760 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-17 15:09:14,840 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-17 15:09:14,840 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-17 15:09:14,863 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-17 15:09:14,878 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-11-17 15:09:14,879 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-11-17 15:09:14,881 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (2 of 3 remaining) [2023-11-17 15:09:14,883 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONERROR_FUNCTION (1 of 3 remaining) [2023-11-17 15:09:14,883 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONERROR_FUNCTION (0 of 3 remaining) [2023-11-17 15:09:14,884 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2023-11-17 15:09:14,884 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-11-17 15:09:14,894 WARN L233 ceAbstractionStarter]: 1 thread instances were not sufficient, I will increase this number and restart the analysis [2023-11-17 15:09:14,894 INFO L514 ceAbstractionStarter]: Constructing petrified ICFG for 2 thread instances. [2023-11-17 15:09:14,938 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-11-17 15:09:14,946 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 99 places, 111 transitions, 232 flow [2023-11-17 15:09:14,971 INFO L124 PetriNetUnfolderBase]: 19/135 cut-off events. [2023-11-17 15:09:14,971 INFO L125 PetriNetUnfolderBase]: For 2/2 co-relation queries the response was YES. [2023-11-17 15:09:14,973 INFO L83 FinitePrefix]: Finished finitePrefix Result has 143 conditions, 135 events. 19/135 cut-off events. For 2/2 co-relation queries the response was YES. Maximal size of possible extension queue 6. Compared 283 event pairs, 0 based on Foata normal form. 0/111 useless extension candidates. Maximal degree in co-relation 99. Up to 6 conditions per place. [2023-11-17 15:09:14,974 INFO L82 GeneralOperation]: Start removeDead. Operand has 99 places, 111 transitions, 232 flow [2023-11-17 15:09:14,975 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 99 places, 111 transitions, 232 flow [2023-11-17 15:09:14,975 INFO L115 etLargeBlockEncoding]: Petri net LBE is using semantic-based independence relation. [2023-11-17 15:09:14,975 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 99 places, 111 transitions, 232 flow [2023-11-17 15:09:14,975 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 99 places, 111 transitions, 232 flow [2023-11-17 15:09:14,975 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 99 places, 111 transitions, 232 flow [2023-11-17 15:09:15,004 INFO L124 PetriNetUnfolderBase]: 19/135 cut-off events. [2023-11-17 15:09:15,005 INFO L125 PetriNetUnfolderBase]: For 2/2 co-relation queries the response was YES. [2023-11-17 15:09:15,008 INFO L83 FinitePrefix]: Finished finitePrefix Result has 143 conditions, 135 events. 19/135 cut-off events. For 2/2 co-relation queries the response was YES. Maximal size of possible extension queue 6. Compared 283 event pairs, 0 based on Foata normal form. 0/111 useless extension candidates. Maximal degree in co-relation 99. Up to 6 conditions per place. [2023-11-17 15:09:15,011 INFO L119 LiptonReduction]: Number of co-enabled transitions 6192 [2023-11-17 15:09:16,775 INFO L134 LiptonReduction]: Checked pairs total: 4589 [2023-11-17 15:09:16,775 INFO L136 LiptonReduction]: Total number of compositions: 94 [2023-11-17 15:09:16,776 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-11-17 15:09:16,777 INFO L357 AbstractCegarLoop]: Settings: SEPARATE_VIOLATION_CHECK=true, mInterprocedural=true, mMaxIterations=1000000, mWatchIteration=1000000, mArtifact=RCFG, mInterpolation=FPandBP, mInterpolantAutomaton=STRAIGHT_LINE, mDumpAutomata=false, mAutomataFormat=ATS_NUMERATE, mDumpPath=., mDeterminiation=PREDICATE_ABSTRACTION, mMinimize=MINIMIZE_SEVPA, mHoare=false, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=LoopHeads, mDumpOnlyReuseAutomata=false, mLimitTraceHistogram=0, mErrorLocTimeLimit=0, mLimitPathProgramCount=0, mCollectInterpolantStatistics=true, mHeuristicEmptinessCheck=false, mHeuristicEmptinessCheckAStarHeuristic=ZERO, mHeuristicEmptinessCheckAStarHeuristicRandomSeed=1337, mHeuristicEmptinessCheckSmtFeatureScoringMethod=DAGSIZE, mSMTFeatureExtraction=false, mSMTFeatureExtractionDumpPath=., mOverrideInterpolantAutomaton=false, mMcrInterpolantMethod=WP, mPorIndependenceSettings=[Lde.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.partialorder.independence.IndependenceSettings;@7f348949, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-11-17 15:09:16,777 INFO L358 AbstractCegarLoop]: Starting to check reachability of 4 error locations. [2023-11-17 15:09:16,779 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-11-17 15:09:16,779 INFO L124 PetriNetUnfolderBase]: 2/14 cut-off events. [2023-11-17 15:09:16,780 INFO L125 PetriNetUnfolderBase]: For 1/1 co-relation queries the response was YES. [2023-11-17 15:09:16,780 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-17 15:09:16,780 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1] [2023-11-17 15:09:16,780 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting thr1Err0ASSERT_VIOLATIONERROR_FUNCTION === [thr1Err0ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES, thr1Err0ASSERT_VIOLATIONERROR_FUNCTION (and 1 more)] === [2023-11-17 15:09:16,780 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-17 15:09:16,780 INFO L85 PathProgramCache]: Analyzing trace with hash -798946052, now seen corresponding path program 1 times [2023-11-17 15:09:16,781 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-17 15:09:16,781 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2127446564] [2023-11-17 15:09:16,781 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-17 15:09:16,781 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-17 15:09:16,834 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-17 15:09:16,834 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-17 15:09:16,862 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-17 15:09:16,866 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-11-17 15:09:16,866 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-11-17 15:09:16,866 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location thr1Err0ASSERT_VIOLATIONERROR_FUNCTION (3 of 4 remaining) [2023-11-17 15:09:16,866 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONERROR_FUNCTION (2 of 4 remaining) [2023-11-17 15:09:16,866 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (1 of 4 remaining) [2023-11-17 15:09:16,867 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONERROR_FUNCTION (0 of 4 remaining) [2023-11-17 15:09:16,867 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2023-11-17 15:09:16,867 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-11-17 15:09:16,872 INFO L228 ceAbstractionStarter]: Analysis of concurrent program completed with 2 thread instances [2023-11-17 15:09:16,873 INFO L178 ceAbstractionStarter]: Computing trace abstraction results [2023-11-17 15:09:16,884 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~pre9 could not be translated [2023-11-17 15:09:16,890 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 17.11 03:09:16 BasicIcfg [2023-11-17 15:09:16,890 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2023-11-17 15:09:16,893 INFO L158 Benchmark]: Toolchain (without parser) took 4342.53ms. Allocated memory is still 265.3MB. Free memory was 213.0MB in the beginning and 124.6MB in the end (delta: 88.4MB). Peak memory consumption was 89.2MB. Max. memory is 8.0GB. [2023-11-17 15:09:16,894 INFO L158 Benchmark]: CDTParser took 0.17ms. Allocated memory is still 176.2MB. Free memory is still 129.2MB. There was no memory consumed. Max. memory is 8.0GB. [2023-11-17 15:09:16,895 INFO L158 Benchmark]: CACSL2BoogieTranslator took 400.15ms. Allocated memory is still 265.3MB. Free memory was 212.7MB in the beginning and 193.5MB in the end (delta: 19.3MB). Peak memory consumption was 19.9MB. Max. memory is 8.0GB. [2023-11-17 15:09:16,895 INFO L158 Benchmark]: Boogie Procedure Inliner took 43.78ms. Allocated memory is still 265.3MB. Free memory was 193.5MB in the beginning and 191.8MB in the end (delta: 1.7MB). Peak memory consumption was 1.0MB. Max. memory is 8.0GB. [2023-11-17 15:09:16,895 INFO L158 Benchmark]: Boogie Preprocessor took 45.98ms. Allocated memory is still 265.3MB. Free memory was 191.8MB in the beginning and 190.3MB in the end (delta: 1.5MB). Peak memory consumption was 2.1MB. Max. memory is 8.0GB. [2023-11-17 15:09:16,895 INFO L158 Benchmark]: RCFGBuilder took 273.35ms. Allocated memory is still 265.3MB. Free memory was 190.3MB in the beginning and 177.3MB in the end (delta: 13.0MB). Peak memory consumption was 12.6MB. Max. memory is 8.0GB. [2023-11-17 15:09:16,897 INFO L158 Benchmark]: TraceAbstraction took 3574.40ms. Allocated memory is still 265.3MB. Free memory was 176.7MB in the beginning and 124.6MB in the end (delta: 52.1MB). Peak memory consumption was 52.5MB. Max. memory is 8.0GB. [2023-11-17 15:09:16,903 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.17ms. Allocated memory is still 176.2MB. Free memory is still 129.2MB. There was no memory consumed. Max. memory is 8.0GB. * CACSL2BoogieTranslator took 400.15ms. Allocated memory is still 265.3MB. Free memory was 212.7MB in the beginning and 193.5MB in the end (delta: 19.3MB). Peak memory consumption was 19.9MB. Max. memory is 8.0GB. * Boogie Procedure Inliner took 43.78ms. Allocated memory is still 265.3MB. Free memory was 193.5MB in the beginning and 191.8MB in the end (delta: 1.7MB). Peak memory consumption was 1.0MB. Max. memory is 8.0GB. * Boogie Preprocessor took 45.98ms. Allocated memory is still 265.3MB. Free memory was 191.8MB in the beginning and 190.3MB in the end (delta: 1.5MB). Peak memory consumption was 2.1MB. Max. memory is 8.0GB. * RCFGBuilder took 273.35ms. Allocated memory is still 265.3MB. Free memory was 190.3MB in the beginning and 177.3MB in the end (delta: 13.0MB). Peak memory consumption was 12.6MB. Max. memory is 8.0GB. * TraceAbstraction took 3574.40ms. Allocated memory is still 265.3MB. Free memory was 176.7MB in the beginning and 124.6MB in the end (delta: 52.1MB). Peak memory consumption was 52.5MB. Max. memory is 8.0GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: IdentifierExpression #t~pre9 could not be translated - GenericResult: Unfinished Backtranslation The program execution was not completely translated back. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - StatisticsResult: PetriNetLargeBlockEncoding benchmarks Lipton Reduction Statistics: ReductionTime: 1.2s, 61 PlacesBefore, 15 PlacesAfterwards, 67 TransitionsBefore, 17 TransitionsAfterwards, 1204 CoEnabledTransitionPairs, 5 FixpointIterations, 8 TrivialSequentialCompositions, 36 ConcurrentSequentialCompositions, 0 TrivialYvCompositions, 9 ConcurrentYvCompositions, 4 ChoiceCompositions, 57 TotalNumberOfCompositions, 964 MoverChecksTotal, Independence Relation Statistics: CachedIndependenceRelation.Independence Queries: [ total: 964, independent: 964, independent conditional: 0, independent unconditional: 964, dependent: 0, dependent conditional: 0, dependent unconditional: 0, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , CachedIndependenceRelation.Statistics on underlying relation: UnionIndependenceRelation.Independence Queries: [ total: 749, independent: 749, independent conditional: 0, independent unconditional: 749, dependent: 0, dependent conditional: 0, dependent unconditional: 0, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , UnionIndependenceRelation.Statistics on underlying relations: [ SyntacticIndependenceRelation.Independence Queries: [ total: 749, independent: 749, independent conditional: 0, independent unconditional: 749, dependent: 0, dependent conditional: 0, dependent unconditional: 0, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticIndependenceRelation.Independence Queries: [ total: 0, independent: 0, independent conditional: 0, independent unconditional: 0, dependent: 0, dependent conditional: 0, dependent unconditional: 0, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticIndependenceRelation.Query Time [ms]: [ total: 0, independent: 0, independent conditional: 0, independent unconditional: 0, dependent: 0, dependent conditional: 0, dependent unconditional: 0, unknown: 0, unknown conditional: 0, unknown unconditional: 0] ], Cache Queries: [ total: 964, independent: 215, independent conditional: 0, independent unconditional: 215, dependent: 0, dependent conditional: 0, dependent unconditional: 0, unknown: 749, unknown conditional: 0, unknown unconditional: 749] , Statistics on independence cache: Total cache size (in pairs): 11, Positive cache size: 11, Positive conditional cache size: 0, Positive unconditional cache size: 11, Negative cache size: 0, Negative conditional cache size: 0, Negative unconditional cache size: 0, Unknown cache size: 0, Unknown conditional cache size: 0, Unknown unconditional cache size: 0 - StatisticsResult: PetriNetLargeBlockEncoding benchmarks Lipton Reduction Statistics: ReductionTime: 1.8s, 99 PlacesBefore, 25 PlacesAfterwards, 111 TransitionsBefore, 30 TransitionsAfterwards, 6192 CoEnabledTransitionPairs, 5 FixpointIterations, 8 TrivialSequentialCompositions, 61 ConcurrentSequentialCompositions, 0 TrivialYvCompositions, 18 ConcurrentYvCompositions, 7 ChoiceCompositions, 94 TotalNumberOfCompositions, 4589 MoverChecksTotal, Independence Relation Statistics: CachedIndependenceRelation.Independence Queries: [ total: 4589, independent: 4589, independent conditional: 0, independent unconditional: 4589, dependent: 0, dependent conditional: 0, dependent unconditional: 0, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , CachedIndependenceRelation.Statistics on underlying relation: UnionIndependenceRelation.Independence Queries: [ total: 3698, independent: 3698, independent conditional: 0, independent unconditional: 3698, dependent: 0, dependent conditional: 0, dependent unconditional: 0, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , UnionIndependenceRelation.Statistics on underlying relations: [ SyntacticIndependenceRelation.Independence Queries: [ total: 3698, independent: 3698, independent conditional: 0, independent unconditional: 3698, dependent: 0, dependent conditional: 0, dependent unconditional: 0, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticIndependenceRelation.Independence Queries: [ total: 0, independent: 0, independent conditional: 0, independent unconditional: 0, dependent: 0, dependent conditional: 0, dependent unconditional: 0, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticIndependenceRelation.Query Time [ms]: [ total: 0, independent: 0, independent conditional: 0, independent unconditional: 0, dependent: 0, dependent conditional: 0, dependent unconditional: 0, unknown: 0, unknown conditional: 0, unknown unconditional: 0] ], Cache Queries: [ total: 4589, independent: 891, independent conditional: 0, independent unconditional: 891, dependent: 0, dependent conditional: 0, dependent unconditional: 0, unknown: 3698, unknown conditional: 0, unknown unconditional: 3698] , Statistics on independence cache: Total cache size (in pairs): 33, Positive cache size: 33, Positive conditional cache size: 0, Positive unconditional cache size: 33, Negative cache size: 0, Negative conditional cache size: 0, Negative unconditional cache size: 0, Unknown cache size: 0, Unknown conditional cache size: 0, Unknown unconditional cache size: 0 - CounterExampleResult [Line: 695]: a call to reach_error is reachable a call to reach_error is reachable We found a FailurePath: [L700] 0 pthread_t t; VAL [t={3:0}] [L701] COND TRUE 0 1 [L703] FCALL, FORK 0 pthread_create(&t, 0, thr1, 0) VAL [arg={0:0}, t={3:0}] [L686] 1 unsigned int x=__VERIFIER_nondet_uint(), y=__VERIFIER_nondet_uint(), z=__VERIFIER_nondet_uint(); [L686] 1 unsigned int x=__VERIFIER_nondet_uint(), y=__VERIFIER_nondet_uint(), z=__VERIFIER_nondet_uint(); [L686] 1 unsigned int x=__VERIFIER_nondet_uint(), y=__VERIFIER_nondet_uint(), z=__VERIFIER_nondet_uint(); [L687] 1 int i, j=1, k=1; [L688] 1 i=0 VAL [arg={0:0}, arg={0:0}, i=0, j=1, k=1] [L688] COND FALSE 1 !(i