/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 --rcfgbuilder.only.consider.context.switches.at.boundaries.of.atomic.blocks true -tc ../../../trunk/examples/toolchains/AutomizerCInline.xml -i ../../../trunk/examples/svcomp/pthread-atomic/read_write_lock-1-pthread.i -------------------------------------------------------------------------------- This is Ultimate 0.2.3-wip.dk.datarace-free-lbe-02cf818-m [2023-11-17 11:17:16,368 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-17 11:17:16,425 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 11:17:16,456 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-17 11:17:16,456 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-17 11:17:16,457 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-11-17 11:17:16,457 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-17 11:17:16,457 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-17 11:17:16,458 INFO L153 SettingsManager]: * Use SBE=true [2023-11-17 11:17:16,461 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-17 11:17:16,461 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-17 11:17:16,461 INFO L153 SettingsManager]: * sizeof long=4 [2023-11-17 11:17:16,461 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-17 11:17:16,462 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-11-17 11:17:16,463 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-17 11:17:16,463 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-17 11:17:16,463 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-17 11:17:16,463 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-17 11:17:16,463 INFO L153 SettingsManager]: * sizeof long double=12 [2023-11-17 11:17:16,463 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-17 11:17:16,463 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-17 11:17:16,464 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-17 11:17:16,464 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-11-17 11:17:16,464 INFO L153 SettingsManager]: * To the following directory=./dump/ [2023-11-17 11:17:16,465 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2023-11-17 11:17:16,465 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-11-17 11:17:16,465 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-17 11:17:16,465 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-17 11:17:16,465 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-11-17 11:17:16,465 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2023-11-17 11:17:16,466 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-11-17 11:17:16,466 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2023-11-17 11:17:16,466 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 Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder: Only consider context switches at boundaries of atomic blocks -> true [2023-11-17 11:17:16,680 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-17 11:17:16,694 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-17 11:17:16,696 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-17 11:17:16,697 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-17 11:17:16,697 INFO L274 PluginConnector]: CDTParser initialized [2023-11-17 11:17:16,698 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/pthread-atomic/read_write_lock-1-pthread.i [2023-11-17 11:17:17,780 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-17 11:17:17,992 INFO L384 CDTParser]: Found 1 translation units. [2023-11-17 11:17:17,993 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/pthread-atomic/read_write_lock-1-pthread.i [2023-11-17 11:17:18,013 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/64544b1d3/3329de631e0f4a5d899ff04a888697c6/FLAG818d49825 [2023-11-17 11:17:18,026 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/64544b1d3/3329de631e0f4a5d899ff04a888697c6 [2023-11-17 11:17:18,028 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-17 11:17:18,029 INFO L133 ToolchainWalker]: Walking toolchain with 5 elements. [2023-11-17 11:17:18,031 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-17 11:17:18,031 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-17 11:17:18,034 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-17 11:17:18,034 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 17.11 11:17:18" (1/1) ... [2023-11-17 11:17:18,035 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@78315a81 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 11:17:18, skipping insertion in model container [2023-11-17 11:17:18,035 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 17.11 11:17:18" (1/1) ... [2023-11-17 11:17:18,071 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-17 11:17:18,278 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-atomic/read_write_lock-1-pthread.i[30919,30932] [2023-11-17 11:17:18,286 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-17 11:17:18,297 INFO L202 MainTranslator]: Completed pre-run [2023-11-17 11:17:18,330 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-atomic/read_write_lock-1-pthread.i[30919,30932] [2023-11-17 11:17:18,332 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-17 11:17:18,356 WARN L675 CHandler]: The function __VERIFIER_atomic_begin is called, but not defined or handled by StandardFunctionHandler. [2023-11-17 11:17:18,356 WARN L675 CHandler]: The function __VERIFIER_atomic_end is called, but not defined or handled by StandardFunctionHandler. [2023-11-17 11:17:18,361 INFO L206 MainTranslator]: Completed translation [2023-11-17 11:17:18,361 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 11:17:18 WrapperNode [2023-11-17 11:17:18,361 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-17 11:17:18,362 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-17 11:17:18,362 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-17 11:17:18,362 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-17 11:17:18,367 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 11:17:18" (1/1) ... [2023-11-17 11:17:18,379 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 11:17:18" (1/1) ... [2023-11-17 11:17:18,392 INFO L138 Inliner]: procedures = 166, calls = 54, calls flagged for inlining = 2, calls inlined = 2, statements flattened = 81 [2023-11-17 11:17:18,392 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-17 11:17:18,393 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-17 11:17:18,393 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-17 11:17:18,393 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-17 11:17:18,398 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 11:17:18" (1/1) ... [2023-11-17 11:17:18,398 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 11:17:18" (1/1) ... [2023-11-17 11:17:18,400 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 11:17:18" (1/1) ... [2023-11-17 11:17:18,400 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 11:17:18" (1/1) ... [2023-11-17 11:17:18,404 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 11:17:18" (1/1) ... [2023-11-17 11:17:18,404 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 11:17:18" (1/1) ... [2023-11-17 11:17:18,405 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 11:17:18" (1/1) ... [2023-11-17 11:17:18,406 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 11:17:18" (1/1) ... [2023-11-17 11:17:18,408 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-17 11:17:18,408 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-17 11:17:18,408 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-17 11:17:18,408 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-17 11:17:18,409 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 11:17:18" (1/1) ... [2023-11-17 11:17:18,412 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-11-17 11:17:18,421 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-11-17 11:17:18,430 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 11:17:18,445 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 11:17:18,453 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsRwLockUnlock [2023-11-17 11:17:18,453 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2023-11-17 11:17:18,453 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2023-11-17 11:17:18,453 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsRwLockReadLock [2023-11-17 11:17:18,453 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_begin [2023-11-17 11:17:18,453 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-17 11:17:18,453 INFO L130 BoogieDeclarations]: Found specification of procedure reader [2023-11-17 11:17:18,453 INFO L138 BoogieDeclarations]: Found implementation of procedure reader [2023-11-17 11:17:18,454 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-17 11:17:18,454 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsRwLockWriteLock [2023-11-17 11:17:18,454 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-17 11:17:18,454 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2023-11-17 11:17:18,454 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_end [2023-11-17 11:17:18,454 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-17 11:17:18,454 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-17 11:17:18,454 INFO L130 BoogieDeclarations]: Found specification of procedure writer [2023-11-17 11:17:18,454 INFO L138 BoogieDeclarations]: Found implementation of procedure writer [2023-11-17 11:17:18,455 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 11:17:18,603 INFO L239 CfgBuilder]: Building ICFG [2023-11-17 11:17:18,604 INFO L265 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-17 11:17:18,776 INFO L280 CfgBuilder]: Performing block encoding [2023-11-17 11:17:18,874 INFO L302 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-17 11:17:18,875 INFO L307 CfgBuilder]: Removed 0 assume(true) statements. [2023-11-17 11:17:18,876 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 17.11 11:17:18 BoogieIcfgContainer [2023-11-17 11:17:18,876 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-17 11:17:18,877 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2023-11-17 11:17:18,877 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2023-11-17 11:17:18,879 INFO L274 PluginConnector]: TraceAbstraction initialized [2023-11-17 11:17:18,879 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 17.11 11:17:18" (1/3) ... [2023-11-17 11:17:18,880 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@27a3ab37 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 17.11 11:17:18, skipping insertion in model container [2023-11-17 11:17:18,880 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 11:17:18" (2/3) ... [2023-11-17 11:17:18,880 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@27a3ab37 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 17.11 11:17:18, skipping insertion in model container [2023-11-17 11:17:18,880 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 17.11 11:17:18" (3/3) ... [2023-11-17 11:17:18,881 INFO L112 eAbstractionObserver]: Analyzing ICFG read_write_lock-1-pthread.i [2023-11-17 11:17:18,893 INFO L203 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2023-11-17 11:17:18,893 INFO L162 ceAbstractionStarter]: Applying trace abstraction to program that has 1 error locations. [2023-11-17 11:17:18,893 INFO L514 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2023-11-17 11:17:18,967 INFO L144 ThreadInstanceAdder]: Constructed 4 joinOtherThreadTransitions. [2023-11-17 11:17:19,000 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 68 places, 57 transitions, 142 flow [2023-11-17 11:17:19,040 INFO L124 PetriNetUnfolderBase]: 2/53 cut-off events. [2023-11-17 11:17:19,041 INFO L125 PetriNetUnfolderBase]: For 4/4 co-relation queries the response was YES. [2023-11-17 11:17:19,045 INFO L83 FinitePrefix]: Finished finitePrefix Result has 70 conditions, 53 events. 2/53 cut-off events. For 4/4 co-relation queries the response was YES. Maximal size of possible extension queue 5. Compared 106 event pairs, 0 based on Foata normal form. 0/49 useless extension candidates. Maximal degree in co-relation 49. Up to 2 conditions per place. [2023-11-17 11:17:19,045 INFO L82 GeneralOperation]: Start removeDead. Operand has 68 places, 57 transitions, 142 flow [2023-11-17 11:17:19,050 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 62 places, 51 transitions, 123 flow [2023-11-17 11:17:19,055 INFO L115 etLargeBlockEncoding]: Petri net LBE is using semantic-based independence relation. [2023-11-17 11:17:19,073 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 62 places, 51 transitions, 123 flow [2023-11-17 11:17:19,076 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 62 places, 51 transitions, 123 flow [2023-11-17 11:17:19,076 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 62 places, 51 transitions, 123 flow [2023-11-17 11:17:19,096 INFO L124 PetriNetUnfolderBase]: 2/51 cut-off events. [2023-11-17 11:17:19,096 INFO L125 PetriNetUnfolderBase]: For 3/3 co-relation queries the response was YES. [2023-11-17 11:17:19,097 INFO L83 FinitePrefix]: Finished finitePrefix Result has 67 conditions, 51 events. 2/51 cut-off events. For 3/3 co-relation queries the response was YES. Maximal size of possible extension queue 5. Compared 106 event pairs, 0 based on Foata normal form. 0/47 useless extension candidates. Maximal degree in co-relation 49. Up to 2 conditions per place. [2023-11-17 11:17:19,098 INFO L119 LiptonReduction]: Number of co-enabled transitions 1412 [2023-11-17 11:17:20,095 INFO L134 LiptonReduction]: Checked pairs total: 3119 [2023-11-17 11:17:20,095 INFO L136 LiptonReduction]: Total number of compositions: 42 [2023-11-17 11:17:20,111 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-11-17 11:17:20,117 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;@31e48444, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-11-17 11:17:20,118 INFO L358 AbstractCegarLoop]: Starting to check reachability of 7 error locations. [2023-11-17 11:17:20,121 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-11-17 11:17:20,121 INFO L124 PetriNetUnfolderBase]: 0/7 cut-off events. [2023-11-17 11:17:20,121 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-17 11:17:20,121 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-17 11:17:20,122 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1] [2023-11-17 11:17:20,122 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting readerErr0ASSERT_VIOLATIONERROR_FUNCTION === [readerErr0ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES, ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 4 more)] === [2023-11-17 11:17:20,125 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-17 11:17:20,126 INFO L85 PathProgramCache]: Analyzing trace with hash 233292203, now seen corresponding path program 1 times [2023-11-17 11:17:20,134 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-17 11:17:20,134 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1366562568] [2023-11-17 11:17:20,134 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-17 11:17:20,134 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-17 11:17:20,224 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-17 11:17:20,332 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-17 11:17:20,333 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-17 11:17:20,333 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1366562568] [2023-11-17 11:17:20,334 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1366562568] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-17 11:17:20,334 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-17 11:17:20,334 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-17 11:17:20,335 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [651963261] [2023-11-17 11:17:20,335 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-17 11:17:20,341 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 2 states [2023-11-17 11:17:20,344 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-17 11:17:20,357 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2023-11-17 11:17:20,358 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2023-11-17 11:17:20,359 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 22 out of 99 [2023-11-17 11:17:20,360 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 34 places, 21 transitions, 63 flow. Second operand has 2 states, 2 states have (on average 24.5) internal successors, (49), 2 states have internal predecessors, (49), 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-11-17 11:17:20,360 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-17 11:17:20,360 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 22 of 99 [2023-11-17 11:17:20,361 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-17 11:17:20,382 INFO L124 PetriNetUnfolderBase]: 0/9 cut-off events. [2023-11-17 11:17:20,383 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-17 11:17:20,383 INFO L83 FinitePrefix]: Finished finitePrefix Result has 32 conditions, 9 events. 0/9 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 1. Compared 0 event pairs, 0 based on Foata normal form. 20/29 useless extension candidates. Maximal degree in co-relation 0. Up to 10 conditions per place. [2023-11-17 11:17:20,384 INFO L140 encePairwiseOnDemand]: 93/99 looper letters, 0 selfloop transitions, 0 changer transitions 9/9 dead transitions. [2023-11-17 11:17:20,384 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 23 places, 9 transitions, 48 flow [2023-11-17 11:17:20,385 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2023-11-17 11:17:20,387 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 2 states. [2023-11-17 11:17:20,392 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 2 states to 2 states and 59 transitions. [2023-11-17 11:17:20,393 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.29797979797979796 [2023-11-17 11:17:20,393 INFO L72 ComplementDD]: Start complementDD. Operand 2 states and 59 transitions. [2023-11-17 11:17:20,394 INFO L73 IsDeterministic]: Start isDeterministic. Operand 2 states and 59 transitions. [2023-11-17 11:17:20,395 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-17 11:17:20,397 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 2 states and 59 transitions. [2023-11-17 11:17:20,399 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 3 states, 2 states have (on average 29.5) internal successors, (59), 2 states have internal predecessors, (59), 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-11-17 11:17:20,404 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 3 states, 3 states have (on average 99.0) internal successors, (297), 3 states have internal predecessors, (297), 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-11-17 11:17:20,404 INFO L81 ComplementDD]: Finished complementDD. Result has 3 states, 3 states have (on average 99.0) internal successors, (297), 3 states have internal predecessors, (297), 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-11-17 11:17:20,406 INFO L175 Difference]: Start difference. First operand has 34 places, 21 transitions, 63 flow. Second operand 2 states and 59 transitions. [2023-11-17 11:17:20,406 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 23 places, 9 transitions, 48 flow [2023-11-17 11:17:20,408 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 19 places, 9 transitions, 44 flow, removed 0 selfloop flow, removed 4 redundant places. [2023-11-17 11:17:20,408 INFO L231 Difference]: Finished difference. Result has 19 places, 0 transitions, 0 flow [2023-11-17 11:17:20,409 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=99, PETRI_DIFFERENCE_MINUEND_FLOW=26, PETRI_DIFFERENCE_MINUEND_PLACES=18, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=9, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=9, PETRI_DIFFERENCE_SUBTRAHEND_STATES=2, PETRI_FLOW=0, PETRI_PLACES=19, PETRI_TRANSITIONS=0} [2023-11-17 11:17:20,414 INFO L281 CegarLoopForPetriNet]: 34 programPoint places, -15 predicate places. [2023-11-17 11:17:20,414 INFO L495 AbstractCegarLoop]: Abstraction has has 19 places, 0 transitions, 0 flow [2023-11-17 11:17:20,414 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 2 states, 2 states have (on average 24.5) internal successors, (49), 2 states have internal predecessors, (49), 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-11-17 11:17:20,416 INFO L805 garLoopResultBuilder]: Registering result SAFE for location readerErr0ASSERT_VIOLATIONERROR_FUNCTION (6 of 7 remaining) [2023-11-17 11:17:20,416 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (5 of 7 remaining) [2023-11-17 11:17:20,417 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (4 of 7 remaining) [2023-11-17 11:17:20,417 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr2INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (3 of 7 remaining) [2023-11-17 11:17:20,417 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr3INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (2 of 7 remaining) [2023-11-17 11:17:20,417 INFO L805 garLoopResultBuilder]: Registering result SAFE for location readerErr0ASSERT_VIOLATIONERROR_FUNCTION (1 of 7 remaining) [2023-11-17 11:17:20,418 INFO L805 garLoopResultBuilder]: Registering result SAFE for location readerErr0ASSERT_VIOLATIONERROR_FUNCTION (0 of 7 remaining) [2023-11-17 11:17:20,418 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2023-11-17 11:17:20,418 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-11-17 11:17:20,429 INFO L228 ceAbstractionStarter]: Analysis of concurrent program completed with 1 thread instances [2023-11-17 11:17:20,429 INFO L178 ceAbstractionStarter]: Computing trace abstraction results [2023-11-17 11:17:20,435 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 17.11 11:17:20 BasicIcfg [2023-11-17 11:17:20,436 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2023-11-17 11:17:20,436 INFO L158 Benchmark]: Toolchain (without parser) took 2407.19ms. Allocated memory is still 250.6MB. Free memory was 206.3MB in the beginning and 166.8MB in the end (delta: 39.5MB). Peak memory consumption was 39.8MB. Max. memory is 8.0GB. [2023-11-17 11:17:20,437 INFO L158 Benchmark]: CDTParser took 0.11ms. Allocated memory is still 189.8MB. Free memory is still 141.6MB. There was no memory consumed. Max. memory is 8.0GB. [2023-11-17 11:17:20,437 INFO L158 Benchmark]: CACSL2BoogieTranslator took 330.86ms. Allocated memory is still 250.6MB. Free memory was 206.0MB in the beginning and 186.1MB in the end (delta: 19.9MB). Peak memory consumption was 19.9MB. Max. memory is 8.0GB. [2023-11-17 11:17:20,438 INFO L158 Benchmark]: Boogie Procedure Inliner took 30.08ms. Allocated memory is still 250.6MB. Free memory was 186.1MB in the beginning and 184.0MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 8.0GB. [2023-11-17 11:17:20,440 INFO L158 Benchmark]: Boogie Preprocessor took 15.15ms. Allocated memory is still 250.6MB. Free memory was 184.0MB in the beginning and 182.2MB in the end (delta: 1.8MB). Peak memory consumption was 2.1MB. Max. memory is 8.0GB. [2023-11-17 11:17:20,440 INFO L158 Benchmark]: RCFGBuilder took 467.66ms. Allocated memory is still 250.6MB. Free memory was 182.2MB in the beginning and 209.4MB in the end (delta: -27.2MB). Peak memory consumption was 24.0MB. Max. memory is 8.0GB. [2023-11-17 11:17:20,442 INFO L158 Benchmark]: TraceAbstraction took 1558.37ms. Allocated memory is still 250.6MB. Free memory was 208.9MB in the beginning and 166.8MB in the end (delta: 42.1MB). Peak memory consumption was 42.1MB. Max. memory is 8.0GB. [2023-11-17 11:17:20,446 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.11ms. Allocated memory is still 189.8MB. Free memory is still 141.6MB. There was no memory consumed. Max. memory is 8.0GB. * CACSL2BoogieTranslator took 330.86ms. Allocated memory is still 250.6MB. Free memory was 206.0MB in the beginning and 186.1MB in the end (delta: 19.9MB). Peak memory consumption was 19.9MB. Max. memory is 8.0GB. * Boogie Procedure Inliner took 30.08ms. Allocated memory is still 250.6MB. Free memory was 186.1MB in the beginning and 184.0MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 8.0GB. * Boogie Preprocessor took 15.15ms. Allocated memory is still 250.6MB. Free memory was 184.0MB in the beginning and 182.2MB in the end (delta: 1.8MB). Peak memory consumption was 2.1MB. Max. memory is 8.0GB. * RCFGBuilder took 467.66ms. Allocated memory is still 250.6MB. Free memory was 182.2MB in the beginning and 209.4MB in the end (delta: -27.2MB). Peak memory consumption was 24.0MB. Max. memory is 8.0GB. * TraceAbstraction took 1558.37ms. Allocated memory is still 250.6MB. Free memory was 208.9MB in the beginning and 166.8MB in the end (delta: 42.1MB). Peak memory consumption was 42.1MB. Max. memory is 8.0GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - StatisticsResult: PetriNetLargeBlockEncoding benchmarks Lipton Reduction Statistics: ReductionTime: 1.0s, 62 PlacesBefore, 34 PlacesAfterwards, 51 TransitionsBefore, 21 TransitionsAfterwards, 1412 CoEnabledTransitionPairs, 5 FixpointIterations, 0 TrivialSequentialCompositions, 34 ConcurrentSequentialCompositions, 0 TrivialYvCompositions, 6 ConcurrentYvCompositions, 2 ChoiceCompositions, 42 TotalNumberOfCompositions, 3119 MoverChecksTotal, Independence Relation Statistics: CachedIndependenceRelation.Independence Queries: [ total: 2567, independent: 2504, independent conditional: 0, independent unconditional: 2504, dependent: 63, dependent conditional: 0, dependent unconditional: 63, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , CachedIndependenceRelation.Statistics on underlying relation: UnionIndependenceRelation.Independence Queries: [ total: 1241, independent: 1205, independent conditional: 0, independent unconditional: 1205, dependent: 36, dependent conditional: 0, dependent unconditional: 36, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , UnionIndependenceRelation.Statistics on underlying relations: [ SyntacticIndependenceRelation.Independence Queries: [ total: 1241, independent: 1136, independent conditional: 0, independent unconditional: 1136, dependent: 105, dependent conditional: 0, dependent unconditional: 105, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticIndependenceRelation.Independence Queries: [ total: 105, independent: 69, independent conditional: 0, independent unconditional: 69, dependent: 36, dependent conditional: 0, dependent unconditional: 36, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticIndependenceRelation.Query Time [ms]: [ total: 156, independent: 99, independent conditional: 0, independent unconditional: 99, dependent: 57, dependent conditional: 0, dependent unconditional: 57, unknown: 0, unknown conditional: 0, unknown unconditional: 0] ], Cache Queries: [ total: 2567, independent: 1299, independent conditional: 0, independent unconditional: 1299, dependent: 27, dependent conditional: 0, dependent unconditional: 27, unknown: 1241, unknown conditional: 0, unknown unconditional: 1241] , Statistics on independence cache: Total cache size (in pairs): 57, Positive cache size: 57, Positive conditional cache size: 0, Positive unconditional cache size: 57, 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 - PositiveResult [Line: 710]: a call to reach_error is unreachable For all program executions holds that a call to reach_error is unreachable at this location - StatisticsResult: Ultimate Automizer benchmark data with 1 thread instances CFG has 7 procedures, 79 locations, 7 error locations. Started 1 CEGAR loops. EmptinessCheckTime: 0.0s, RemoveRedundantFlowTime: 0.0s, RemoveRedundantFlowUnfoldingTime: 0.0s, BackfoldingTime: 0.0s, BackfoldingUnfoldingTime: 0.0s, FlowIncreaseByBackfolding: 0, BasicCegarLoop: OverallTime: 1.4s, OverallIterations: 1, TraceHistogramMax: 1, PathProgramHistogramMax: 1, EmptinessCheckTime: 0.0s, AutomataDifference: 0.1s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 1.1s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 0 SdHoareTripleChecker+Valid, 0.0s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 0 mSDsluCounter, 0 SdHoareTripleChecker+Invalid, 0.0s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 0 mSDsCounter, 0 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 9 IncrementalHoareTripleChecker+Invalid, 9 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 0 mSolverCounterUnsat, 0 mSDtfsCounter, 9 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 1 GetRequests, 1 SyntacticMatches, 0 SemanticMatches, 0 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=63occurred in iteration=0, InterpolantAutomatonStates: 2, 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.0s SatisfiabilityAnalysisTime, 0.1s InterpolantComputationTime, 5 NumberOfCodeBlocks, 5 NumberOfCodeBlocksAsserted, 1 NumberOfCheckSat, 4 ConstructedInterpolants, 0 QuantifiedInterpolants, 4 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 - AllSpecificationsHoldResult: All specifications hold 1 specifications checked. All of them hold RESULT: Ultimate proved your program to be correct! [2023-11-17 11:17:20,462 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...