./Ultimate.py --spec ../../../trunk/examples/svcomp/properties/unreach-call.prp --file ../../../trunk/examples/svcomp/pthread/twostage_3.i --full-output --traceabstraction.dfs.order.used.in.por LOOP_LOCKSTEP --traceabstraction.additional.conditional.commutativity.checking COUNTEREXAMPLE --traceabstraction.criterion.for.conditional.commutativity.checking RANDOM --traceabstraction.probability.for.random.criterion 50 --traceabstraction.seed.for.random.criterion 213 -tc /storage/repos/ultimate/releaseScripts/default/benchexec/../../../trunk/examples/toolchains/AutomizerCInline.xml --architecture 32bit -------------------------------------------------------------------------------- Checking for ERROR reachability Using default analysis Version b86fb0b7 Calling Ultimate with: /root/.sdkman/candidates/java/current/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/config/GemCutterReach.xml -i ../../../trunk/examples/svcomp/pthread/twostage_3.i -s /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/config/svcomp-Reach-32bit-GemCutter_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G ! call(reach_error())) ) --witnessprinter.graph.data.producer GemCutter --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 1032ef3fe166161226ca7e81ea27802cfc3f516ad1e4b45c387461fe1ddeccf8 --traceabstraction.dfs.order.used.in.por LOOP_LOCKSTEP --traceabstraction.additional.conditional.commutativity.checking COUNTEREXAMPLE --traceabstraction.criterion.for.conditional.commutativity.checking RANDOM --traceabstraction.probability.for.random.criterion 50 --traceabstraction.seed.for.random.criterion 213 -tc /storage/repos/ultimate/releaseScripts/default/benchexec/../../../trunk/examples/toolchains/AutomizerCInline.xml --- Real Ultimate output --- This is Ultimate 0.2.5-wip.dk.conditional-comm-b86fb0b-m [2024-10-18 03:43:15,928 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-10-18 03:43:15,977 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/config/svcomp-Reach-32bit-GemCutter_Default.epf [2024-10-18 03:43:15,983 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-10-18 03:43:15,984 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-10-18 03:43:16,006 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-10-18 03:43:16,007 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-10-18 03:43:16,007 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-10-18 03:43:16,008 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-10-18 03:43:16,010 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-10-18 03:43:16,011 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-10-18 03:43:16,011 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-10-18 03:43:16,011 INFO L153 SettingsManager]: * Use SBE=true [2024-10-18 03:43:16,011 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-10-18 03:43:16,012 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-10-18 03:43:16,012 INFO L153 SettingsManager]: * sizeof long=4 [2024-10-18 03:43:16,012 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-10-18 03:43:16,012 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-10-18 03:43:16,012 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-10-18 03:43:16,013 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-10-18 03:43:16,013 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-10-18 03:43:16,014 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-10-18 03:43:16,014 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-10-18 03:43:16,014 INFO L153 SettingsManager]: * sizeof long double=12 [2024-10-18 03:43:16,014 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-10-18 03:43:16,015 INFO L153 SettingsManager]: * Use constant arrays=true [2024-10-18 03:43:16,016 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-10-18 03:43:16,016 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-10-18 03:43:16,016 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-10-18 03:43:16,016 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-10-18 03:43:16,017 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2024-10-18 03:43:16,017 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-10-18 03:43:16,017 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-10-18 03:43:16,018 INFO L153 SettingsManager]: * DFS Order used in POR=LOOP_LOCKSTEP [2024-10-18 03:43:16,018 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-10-18 03:43:16,018 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-10-18 03:43:16,018 INFO L153 SettingsManager]: * Partial Order Reduction in concurrent analysis=PERSISTENT_SLEEP_NEW_STATES_FIXEDORDER [2024-10-18 03:43:16,018 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-10-18 03:43:16,018 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-10-18 03:43:16,019 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PARTIAL_ORDER_FA [2024-10-18 03:43:16,019 INFO L153 SettingsManager]: * CEGAR restart behaviour=ONE_CEGAR_PER_THREAD_INSTANCE [2024-10-18 03:43:16,019 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/UGemCutter-linux/plugins/com.sun.xml.bind_2.2.0.v201505121915.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(G ! call(reach_error())) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> GemCutter Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> 1032ef3fe166161226ca7e81ea27802cfc3f516ad1e4b45c387461fe1ddeccf8 Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: DFS Order used in POR -> LOOP_LOCKSTEP Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: Additional conditional commutativity checking -> COUNTEREXAMPLE Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: Criterion for conditional commutativity checking -> RANDOM Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: Probability for random criterion as percentage -> 50 Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: Seed for random criterion -> 213 [2024-10-18 03:43:16,258 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-10-18 03:43:16,279 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-10-18 03:43:16,284 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-10-18 03:43:16,285 INFO L270 PluginConnector]: Initializing CDTParser... [2024-10-18 03:43:16,285 INFO L274 PluginConnector]: CDTParser initialized [2024-10-18 03:43:16,286 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/../../../trunk/examples/svcomp/pthread/twostage_3.i [2024-10-18 03:43:17,518 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-10-18 03:43:17,750 INFO L384 CDTParser]: Found 1 translation units. [2024-10-18 03:43:17,751 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/pthread/twostage_3.i [2024-10-18 03:43:17,763 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/data/fd1ee6678/aca0f93b6ede4da09b7ce641c657f364/FLAG025b5c199 [2024-10-18 03:43:18,091 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/data/fd1ee6678/aca0f93b6ede4da09b7ce641c657f364 [2024-10-18 03:43:18,093 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-10-18 03:43:18,095 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-10-18 03:43:18,097 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-10-18 03:43:18,097 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-10-18 03:43:18,101 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-10-18 03:43:18,102 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 18.10 03:43:18" (1/1) ... [2024-10-18 03:43:18,103 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@7e4adf5b and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.10 03:43:18, skipping insertion in model container [2024-10-18 03:43:18,103 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 18.10 03:43:18" (1/1) ... [2024-10-18 03:43:18,142 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-10-18 03:43:18,547 WARN L247 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/pthread/twostage_3.i[59093,59106] [2024-10-18 03:43:18,566 WARN L1659 CHandler]: Possible shadowing of function lock [2024-10-18 03:43:18,568 WARN L1659 CHandler]: Possible shadowing of function lock [2024-10-18 03:43:18,568 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-10-18 03:43:18,577 INFO L200 MainTranslator]: Completed pre-run [2024-10-18 03:43:18,634 WARN L247 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/pthread/twostage_3.i[59093,59106] [2024-10-18 03:43:18,641 WARN L1659 CHandler]: Possible shadowing of function lock [2024-10-18 03:43:18,645 WARN L1659 CHandler]: Possible shadowing of function lock [2024-10-18 03:43:18,646 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-10-18 03:43:18,700 INFO L204 MainTranslator]: Completed translation [2024-10-18 03:43:18,701 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.10 03:43:18 WrapperNode [2024-10-18 03:43:18,701 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-10-18 03:43:18,702 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-10-18 03:43:18,702 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-10-18 03:43:18,702 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-10-18 03:43:18,707 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.10 03:43:18" (1/1) ... [2024-10-18 03:43:18,726 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.10 03:43:18" (1/1) ... [2024-10-18 03:43:18,743 INFO L138 Inliner]: procedures = 373, calls = 33, calls flagged for inlining = 2, calls inlined = 2, statements flattened = 140 [2024-10-18 03:43:18,745 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-10-18 03:43:18,746 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-10-18 03:43:18,746 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-10-18 03:43:18,746 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-10-18 03:43:18,752 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.10 03:43:18" (1/1) ... [2024-10-18 03:43:18,752 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.10 03:43:18" (1/1) ... [2024-10-18 03:43:18,755 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.10 03:43:18" (1/1) ... [2024-10-18 03:43:18,755 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.10 03:43:18" (1/1) ... [2024-10-18 03:43:18,761 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.10 03:43:18" (1/1) ... [2024-10-18 03:43:18,764 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.10 03:43:18" (1/1) ... [2024-10-18 03:43:18,765 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.10 03:43:18" (1/1) ... [2024-10-18 03:43:18,766 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.10 03:43:18" (1/1) ... [2024-10-18 03:43:18,769 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-10-18 03:43:18,769 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-10-18 03:43:18,769 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-10-18 03:43:18,769 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-10-18 03:43:18,772 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.10 03:43:18" (1/1) ... [2024-10-18 03:43:18,778 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2024-10-18 03:43:18,786 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/z3 [2024-10-18 03:43:18,804 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) [2024-10-18 03:43:18,806 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Waiting until timeout for monitored process [2024-10-18 03:43:18,862 INFO L130 BoogieDeclarations]: Found specification of procedure funcA [2024-10-18 03:43:18,867 INFO L138 BoogieDeclarations]: Found implementation of procedure funcA [2024-10-18 03:43:18,867 INFO L130 BoogieDeclarations]: Found specification of procedure funcB [2024-10-18 03:43:18,867 INFO L138 BoogieDeclarations]: Found implementation of procedure funcB [2024-10-18 03:43:18,867 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2024-10-18 03:43:18,867 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2024-10-18 03:43:18,867 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexUnlock [2024-10-18 03:43:18,867 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2024-10-18 03:43:18,867 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2024-10-18 03:43:18,867 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2024-10-18 03:43:18,867 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2024-10-18 03:43:18,868 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-10-18 03:43:18,868 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2024-10-18 03:43:18,868 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-10-18 03:43:18,868 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-10-18 03:43:18,871 WARN L207 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement. [2024-10-18 03:43:19,036 INFO L238 CfgBuilder]: Building ICFG [2024-10-18 03:43:19,038 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-10-18 03:43:19,281 INFO L283 CfgBuilder]: Omitted future-live optimization because the input is a concurrent program. [2024-10-18 03:43:19,281 INFO L287 CfgBuilder]: Performing block encoding [2024-10-18 03:43:19,424 INFO L309 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-10-18 03:43:19,425 INFO L314 CfgBuilder]: Removed 4 assume(true) statements. [2024-10-18 03:43:19,425 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 18.10 03:43:19 BoogieIcfgContainer [2024-10-18 03:43:19,425 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-10-18 03:43:19,427 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2024-10-18 03:43:19,428 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2024-10-18 03:43:19,430 INFO L274 PluginConnector]: TraceAbstraction initialized [2024-10-18 03:43:19,430 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 18.10 03:43:18" (1/3) ... [2024-10-18 03:43:19,431 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@528b9634 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 18.10 03:43:19, skipping insertion in model container [2024-10-18 03:43:19,431 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.10 03:43:18" (2/3) ... [2024-10-18 03:43:19,432 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@528b9634 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 18.10 03:43:19, skipping insertion in model container [2024-10-18 03:43:19,432 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 18.10 03:43:19" (3/3) ... [2024-10-18 03:43:19,433 INFO L112 eAbstractionObserver]: Analyzing ICFG twostage_3.i [2024-10-18 03:43:19,448 INFO L209 ceAbstractionStarter]: Automizer settings: Hoare:LoopHeads NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2024-10-18 03:43:19,448 INFO L149 ceAbstractionStarter]: Applying trace abstraction to program that has 1 error locations. [2024-10-18 03:43:19,449 INFO L484 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2024-10-18 03:43:19,486 INFO L143 ThreadInstanceAdder]: Constructed 4 joinOtherThreadTransitions. [2024-10-18 03:43:19,524 INFO L106 denceProviderFactory]: Independence Relation #1: [IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=true, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-10-18 03:43:19,524 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 [2024-10-18 03:43:19,524 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/z3 [2024-10-18 03:43:19,528 INFO L229 MonitoredProcess]: Starting monitored process 2 with /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 (exit command is (exit), workingDir is null) [2024-10-18 03:43:19,529 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 (2)] Waiting until timeout for monitored process [2024-10-18 03:43:19,612 INFO L194 artialOrderCegarLoop]: Running PartialOrderCegarLoop with 1 independence relations. [2024-10-18 03:43:19,630 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-18 03:43:19,634 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == funcBThread1of1ForFork1 ======== [2024-10-18 03:43:19,640 INFO L333 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, mAutomataTypeConcurrency=PARTIAL_ORDER_FA, 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;@52463fec, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms], mConComChecker=COUNTEREXAMPLE, mConComCheckerCriterion=RANDOM, mConComCheckerTraceCheckMode=GENERATOR, mConComCheckerLimitedChecksCriterion=false, mConComCheckerCriterionLimit=1, mConComCheckerRandomProb=50, mConComCheckerRandomSeed=213, mConComCheckerConditionCriterion=false [2024-10-18 03:43:19,640 INFO L334 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2024-10-18 03:43:20,477 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting funcBErr0ASSERT_VIOLATIONERROR_FUNCTION === [funcBErr0ASSERT_VIOLATIONERROR_FUNCTION] === [2024-10-18 03:43:20,480 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-18 03:43:20,480 INFO L85 PathProgramCache]: Analyzing trace with hash -1846882738, now seen corresponding path program 1 times [2024-10-18 03:43:20,486 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-18 03:43:20,487 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [884470163] [2024-10-18 03:43:20,487 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-18 03:43:20,488 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-18 03:43:20,633 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-18 03:43:20,924 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 1 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-10-18 03:43:20,925 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-10-18 03:43:20,925 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [884470163] [2024-10-18 03:43:20,926 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [884470163] provided 1 perfect and 0 imperfect interpolant sequences [2024-10-18 03:43:20,926 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-10-18 03:43:20,926 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [7] imperfect sequences [] total 7 [2024-10-18 03:43:20,928 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1140440427] [2024-10-18 03:43:20,928 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-10-18 03:43:20,931 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 7 states [2024-10-18 03:43:20,932 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-10-18 03:43:20,951 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 7 interpolants. [2024-10-18 03:43:20,952 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=13, Invalid=29, Unknown=0, NotChecked=0, Total=42 [2024-10-18 03:43:20,952 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2024-10-18 03:43:20,954 INFO L471 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2024-10-18 03:43:20,954 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 7 states, 7 states have (on average 4.571428571428571) internal successors, (32), 7 states have internal predecessors, (32), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-10-18 03:43:20,954 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2024-10-18 03:43:21,585 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2024-10-18 03:43:21,585 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2024-10-18 03:43:21,585 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting funcBErr0ASSERT_VIOLATIONERROR_FUNCTION === [funcBErr0ASSERT_VIOLATIONERROR_FUNCTION] === [2024-10-18 03:43:21,619 INFO L85 PathProgramCache]: Analyzing trace with hash -890364333, now seen corresponding path program 1 times [2024-10-18 03:43:21,620 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-18 03:43:21,621 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-18 03:43:21,648 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-18 03:43:21,858 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-10-18 03:43:21,859 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-18 03:43:21,860 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-18 03:43:21,892 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-18 03:43:22,029 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-10-18 03:43:22,033 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 7 states [2024-10-18 03:43:22,033 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 7 interpolants. [2024-10-18 03:43:22,033 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=14, Invalid=28, Unknown=0, NotChecked=0, Total=42 [2024-10-18 03:43:22,034 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2024-10-18 03:43:22,034 INFO L471 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2024-10-18 03:43:22,034 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 7 states, 6 states have (on average 4.0) internal successors, (24), 6 states have internal predecessors, (24), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-10-18 03:43:22,034 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 7 states. [2024-10-18 03:43:22,034 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2024-10-18 03:43:22,322 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2024-10-18 03:43:22,322 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2024-10-18 03:43:22,322 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2,SelfDestructingSolverStorable1 [2024-10-18 03:43:22,322 INFO L396 AbstractCegarLoop]: === Iteration 3 === Targeting funcBErr0ASSERT_VIOLATIONERROR_FUNCTION === [funcBErr0ASSERT_VIOLATIONERROR_FUNCTION] === [2024-10-18 03:43:22,335 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-18 03:43:22,335 INFO L85 PathProgramCache]: Analyzing trace with hash -1389779958, now seen corresponding path program 2 times [2024-10-18 03:43:22,336 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-18 03:43:22,336 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1664660686] [2024-10-18 03:43:22,336 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-18 03:43:22,336 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-18 03:43:22,355 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-18 03:43:22,355 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-10-18 03:43:22,394 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-18 03:43:22,420 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-10-18 03:43:22,420 INFO L332 BasicCegarLoop]: Counterexample is feasible [2024-10-18 03:43:22,422 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location funcBErr0ASSERT_VIOLATIONERROR_FUNCTION (0 of 1 remaining) [2024-10-18 03:43:22,423 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3 [2024-10-18 03:43:22,435 INFO L414 BasicCegarLoop]: Path program histogram: [2, 1] [2024-10-18 03:43:22,437 INFO L312 ceAbstractionStarter]: Result for error location funcBThread1of1ForFork1 was UNSAFE (1/2) [2024-10-18 03:43:22,489 INFO L234 ceAbstractionStarter]: Analysis of concurrent program completed with 1 thread instances [2024-10-18 03:43:22,491 INFO L165 ceAbstractionStarter]: Computing trace abstraction results [2024-10-18 03:43:22,493 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 18.10 03:43:22 BasicIcfg [2024-10-18 03:43:22,494 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2024-10-18 03:43:22,494 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-10-18 03:43:22,495 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-10-18 03:43:22,495 INFO L274 PluginConnector]: Witness Printer initialized [2024-10-18 03:43:22,495 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 18.10 03:43:19" (3/4) ... [2024-10-18 03:43:22,496 INFO L142 WitnessPrinter]: No result that supports witness generation found [2024-10-18 03:43:22,497 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-10-18 03:43:22,498 INFO L158 Benchmark]: Toolchain (without parser) took 4403.61ms. Allocated memory was 148.9MB in the beginning and 218.1MB in the end (delta: 69.2MB). Free memory was 92.2MB in the beginning and 164.2MB in the end (delta: -72.0MB). There was no memory consumed. Max. memory is 16.1GB. [2024-10-18 03:43:22,498 INFO L158 Benchmark]: CDTParser took 0.13ms. Allocated memory is still 92.3MB. Free memory is still 53.5MB. There was no memory consumed. Max. memory is 16.1GB. [2024-10-18 03:43:22,499 INFO L158 Benchmark]: CACSL2BoogieTranslator took 604.01ms. Allocated memory is still 148.9MB. Free memory was 91.7MB in the beginning and 94.4MB in the end (delta: -2.7MB). Peak memory consumption was 23.4MB. Max. memory is 16.1GB. [2024-10-18 03:43:22,500 INFO L158 Benchmark]: Boogie Procedure Inliner took 43.53ms. Allocated memory is still 148.9MB. Free memory was 94.4MB in the beginning and 91.0MB in the end (delta: 3.3MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2024-10-18 03:43:22,500 INFO L158 Benchmark]: Boogie Preprocessor took 23.01ms. Allocated memory is still 148.9MB. Free memory was 91.0MB in the beginning and 89.8MB in the end (delta: 1.2MB). There was no memory consumed. Max. memory is 16.1GB. [2024-10-18 03:43:22,500 INFO L158 Benchmark]: RCFGBuilder took 656.42ms. Allocated memory is still 148.9MB. Free memory was 88.9MB in the beginning and 73.2MB in the end (delta: 15.8MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. [2024-10-18 03:43:22,501 INFO L158 Benchmark]: TraceAbstraction took 3067.01ms. Allocated memory was 148.9MB in the beginning and 218.1MB in the end (delta: 69.2MB). Free memory was 72.3MB in the beginning and 164.2MB in the end (delta: -91.9MB). Peak memory consumption was 61.9MB. Max. memory is 16.1GB. [2024-10-18 03:43:22,501 INFO L158 Benchmark]: Witness Printer took 3.11ms. Allocated memory is still 218.1MB. Free memory is still 164.2MB. There was no memory consumed. Max. memory is 16.1GB. [2024-10-18 03:43:22,502 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 92.3MB. Free memory is still 53.5MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 604.01ms. Allocated memory is still 148.9MB. Free memory was 91.7MB in the beginning and 94.4MB in the end (delta: -2.7MB). Peak memory consumption was 23.4MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 43.53ms. Allocated memory is still 148.9MB. Free memory was 94.4MB in the beginning and 91.0MB in the end (delta: 3.3MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * Boogie Preprocessor took 23.01ms. Allocated memory is still 148.9MB. Free memory was 91.0MB in the beginning and 89.8MB in the end (delta: 1.2MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 656.42ms. Allocated memory is still 148.9MB. Free memory was 88.9MB in the beginning and 73.2MB in the end (delta: 15.8MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. * TraceAbstraction took 3067.01ms. Allocated memory was 148.9MB in the beginning and 218.1MB in the end (delta: 69.2MB). Free memory was 72.3MB in the beginning and 164.2MB in the end (delta: -91.9MB). Peak memory consumption was 61.9MB. Max. memory is 16.1GB. * Witness Printer took 3.11ms. Allocated memory is still 218.1MB. Free memory is still 164.2MB. There was no memory consumed. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - StatisticsResult: Partial order reduction statistics Independence relation #1 benchmarks: ThreadSeparatingIndependenceRelation.Independence Queries: [ total: 2321, independent: 2158, independent conditional: 893, independent unconditional: 1265, dependent: 163, dependent conditional: 131, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ThreadSeparatingIndependenceRelation.Statistics on underlying relation: UnionIndependenceRelation.Independence Queries: [ total: 2196, independent: 2158, independent conditional: 893, independent unconditional: 1265, dependent: 38, dependent conditional: 6, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , UnionIndependenceRelation.Statistics on underlying relations: [ ConditionTransformingIndependenceRelation.Independence Queries: [ total: 2196, independent: 2158, independent conditional: 893, independent unconditional: 1265, dependent: 38, dependent conditional: 6, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: DisjunctiveConditionalIndependenceRelation.Independence Queries: [ total: 2196, independent: 2158, independent conditional: 893, independent unconditional: 1265, dependent: 38, dependent conditional: 6, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , DisjunctiveConditionalIndependenceRelation.Statistics on underlying relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 2241, independent: 2158, independent conditional: 893, independent unconditional: 1265, dependent: 83, dependent conditional: 19, dependent unconditional: 64, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: SemanticConditionEliminator.Independence Queries: [ total: 2241, independent: 2158, independent conditional: 2, independent unconditional: 2156, dependent: 83, dependent conditional: 6, dependent unconditional: 77, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticConditionEliminator.Statistics on underlying relation: CachedIndependenceRelation.Independence Queries: [ total: 2241, independent: 2158, independent conditional: 2, independent unconditional: 2156, dependent: 83, dependent conditional: 6, dependent unconditional: 77, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , CachedIndependenceRelation.Statistics on underlying relation: UnionIndependenceRelation.Independence Queries: [ total: 1213, independent: 1177, independent conditional: 2, independent unconditional: 1175, dependent: 36, dependent conditional: 4, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , UnionIndependenceRelation.Statistics on underlying relations: [ SyntacticIndependenceRelation.Independence Queries: [ total: 1213, independent: 1146, independent conditional: 0, independent unconditional: 1146, dependent: 67, dependent conditional: 0, dependent unconditional: 67, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ProtectedIndependenceRelation.Independence Queries: [ total: 67, independent: 31, independent conditional: 2, independent unconditional: 29, dependent: 36, dependent conditional: 4, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ProtectedIndependenceRelation.Statistics on underlying relation: SemanticIndependenceRelation.Independence Queries: [ total: 67, independent: 31, independent conditional: 2, independent unconditional: 29, dependent: 36, dependent conditional: 4, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticIndependenceRelation.Query Time [ms]: [ total: 1301, independent: 608, independent conditional: 35, independent unconditional: 573, dependent: 693, dependent conditional: 38, dependent unconditional: 654, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , Protected Queries: 0 ], Cache Queries: [ total: 2241, independent: 981, independent conditional: 0, independent unconditional: 981, dependent: 47, dependent conditional: 2, dependent unconditional: 45, unknown: 1213, unknown conditional: 6, unknown unconditional: 1207] , Statistics on independence cache: Total cache size (in pairs): 1213, Positive cache size: 1177, Positive conditional cache size: 2, Positive unconditional cache size: 1175, Negative cache size: 36, Negative conditional cache size: 4, Negative unconditional cache size: 32, Unknown cache size: 0, Unknown conditional cache size: 0, Unknown unconditional cache size: 0, Eliminated conditions: 904, Maximal queried relation: 2, ConditionTransformingIndependenceRelation.Independence Queries: [ total: 2241, independent: 2158, independent conditional: 893, independent unconditional: 1265, dependent: 83, dependent conditional: 19, dependent unconditional: 64, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: SemanticConditionEliminator.Independence Queries: [ total: 2241, independent: 2158, independent conditional: 2, independent unconditional: 2156, dependent: 83, dependent conditional: 6, dependent unconditional: 77, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticConditionEliminator.Statistics on underlying relation: CachedIndependenceRelation.Independence Queries: [ total: 2241, independent: 2158, independent conditional: 2, independent unconditional: 2156, dependent: 83, dependent conditional: 6, dependent unconditional: 77, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , CachedIndependenceRelation.Statistics on underlying relation: UnionIndependenceRelation.Independence Queries: [ total: 1213, independent: 1177, independent conditional: 2, independent unconditional: 1175, dependent: 36, dependent conditional: 4, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , UnionIndependenceRelation.Statistics on underlying relations: [ SyntacticIndependenceRelation.Independence Queries: [ total: 1213, independent: 1146, independent conditional: 0, independent unconditional: 1146, dependent: 67, dependent conditional: 0, dependent unconditional: 67, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ProtectedIndependenceRelation.Independence Queries: [ total: 67, independent: 31, independent conditional: 2, independent unconditional: 29, dependent: 36, dependent conditional: 4, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ProtectedIndependenceRelation.Statistics on underlying relation: SemanticIndependenceRelation.Independence Queries: [ total: 67, independent: 31, independent conditional: 2, independent unconditional: 29, dependent: 36, dependent conditional: 4, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticIndependenceRelation.Query Time [ms]: [ total: 1301, independent: 608, independent conditional: 35, independent unconditional: 573, dependent: 693, dependent conditional: 38, dependent unconditional: 654, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , Protected Queries: 0 ], Cache Queries: [ total: 2241, independent: 981, independent conditional: 0, independent unconditional: 981, dependent: 47, dependent conditional: 2, dependent unconditional: 45, unknown: 1213, unknown conditional: 6, unknown unconditional: 1207] , Statistics on independence cache: Total cache size (in pairs): 1213, Positive cache size: 1177, Positive conditional cache size: 2, Positive unconditional cache size: 1175, Negative cache size: 36, Negative conditional cache size: 4, Negative unconditional cache size: 32, Unknown cache size: 0, Unknown conditional cache size: 0, Unknown unconditional cache size: 0, Eliminated conditions: 904 ], Independence queries for same thread: 125, Persistent sets #1 benchmarks: Persistent set computation time: 1.3s, Number of persistent set computation: 220, Number of trivial persistent sets: 173, Underlying independence relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 1297, independent: 1265, independent conditional: 0, independent unconditional: 1265, dependent: 32, dependent conditional: 0, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: ThreadSeparatingIndependenceRelation.Independence Queries: [ total: 2321, independent: 2158, independent conditional: 893, independent unconditional: 1265, dependent: 163, dependent conditional: 131, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ThreadSeparatingIndependenceRelation.Statistics on underlying relation: UnionIndependenceRelation.Independence Queries: [ total: 2196, independent: 2158, independent conditional: 893, independent unconditional: 1265, dependent: 38, dependent conditional: 6, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , UnionIndependenceRelation.Statistics on underlying relations: [ ConditionTransformingIndependenceRelation.Independence Queries: [ total: 2196, independent: 2158, independent conditional: 893, independent unconditional: 1265, dependent: 38, dependent conditional: 6, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: DisjunctiveConditionalIndependenceRelation.Independence Queries: [ total: 2196, independent: 2158, independent conditional: 893, independent unconditional: 1265, dependent: 38, dependent conditional: 6, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , DisjunctiveConditionalIndependenceRelation.Statistics on underlying relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 2241, independent: 2158, independent conditional: 893, independent unconditional: 1265, dependent: 83, dependent conditional: 19, dependent unconditional: 64, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: SemanticConditionEliminator.Independence Queries: [ total: 2241, independent: 2158, independent conditional: 2, independent unconditional: 2156, dependent: 83, dependent conditional: 6, dependent unconditional: 77, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticConditionEliminator.Statistics on underlying relation: CachedIndependenceRelation.Independence Queries: [ total: 2241, independent: 2158, independent conditional: 2, independent unconditional: 2156, dependent: 83, dependent conditional: 6, dependent unconditional: 77, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , CachedIndependenceRelation.Statistics on underlying relation: UnionIndependenceRelation.Independence Queries: [ total: 1213, independent: 1177, independent conditional: 2, independent unconditional: 1175, dependent: 36, dependent conditional: 4, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , UnionIndependenceRelation.Statistics on underlying relations: [ SyntacticIndependenceRelation.Independence Queries: [ total: 1213, independent: 1146, independent conditional: 0, independent unconditional: 1146, dependent: 67, dependent conditional: 0, dependent unconditional: 67, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ProtectedIndependenceRelation.Independence Queries: [ total: 67, independent: 31, independent conditional: 2, independent unconditional: 29, dependent: 36, dependent conditional: 4, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ProtectedIndependenceRelation.Statistics on underlying relation: SemanticIndependenceRelation.Independence Queries: [ total: 67, independent: 31, independent conditional: 2, independent unconditional: 29, dependent: 36, dependent conditional: 4, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticIndependenceRelation.Query Time [ms]: [ total: 1301, independent: 608, independent conditional: 35, independent unconditional: 573, dependent: 693, dependent conditional: 38, dependent unconditional: 654, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , Protected Queries: 0 ], Cache Queries: [ total: 2241, independent: 981, independent conditional: 0, independent unconditional: 981, dependent: 47, dependent conditional: 2, dependent unconditional: 45, unknown: 1213, unknown conditional: 6, unknown unconditional: 1207] , Statistics on independence cache: Total cache size (in pairs): 1213, Positive cache size: 1177, Positive conditional cache size: 2, Positive unconditional cache size: 1175, Negative cache size: 36, Negative conditional cache size: 4, Negative unconditional cache size: 32, Unknown cache size: 0, Unknown conditional cache size: 0, Unknown unconditional cache size: 0, Eliminated conditions: 904, Maximal queried relation: 2, ConditionTransformingIndependenceRelation.Independence Queries: [ total: 2241, independent: 2158, independent conditional: 893, independent unconditional: 1265, dependent: 83, dependent conditional: 19, dependent unconditional: 64, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: SemanticConditionEliminator.Independence Queries: [ total: 2241, independent: 2158, independent conditional: 2, independent unconditional: 2156, dependent: 83, dependent conditional: 6, dependent unconditional: 77, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticConditionEliminator.Statistics on underlying relation: CachedIndependenceRelation.Independence Queries: [ total: 2241, independent: 2158, independent conditional: 2, independent unconditional: 2156, dependent: 83, dependent conditional: 6, dependent unconditional: 77, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , CachedIndependenceRelation.Statistics on underlying relation: UnionIndependenceRelation.Independence Queries: [ total: 1213, independent: 1177, independent conditional: 2, independent unconditional: 1175, dependent: 36, dependent conditional: 4, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , UnionIndependenceRelation.Statistics on underlying relations: [ SyntacticIndependenceRelation.Independence Queries: [ total: 1213, independent: 1146, independent conditional: 0, independent unconditional: 1146, dependent: 67, dependent conditional: 0, dependent unconditional: 67, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ProtectedIndependenceRelation.Independence Queries: [ total: 67, independent: 31, independent conditional: 2, independent unconditional: 29, dependent: 36, dependent conditional: 4, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ProtectedIndependenceRelation.Statistics on underlying relation: SemanticIndependenceRelation.Independence Queries: [ total: 67, independent: 31, independent conditional: 2, independent unconditional: 29, dependent: 36, dependent conditional: 4, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticIndependenceRelation.Query Time [ms]: [ total: 1301, independent: 608, independent conditional: 35, independent unconditional: 573, dependent: 693, dependent conditional: 38, dependent unconditional: 654, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , Protected Queries: 0 ], Cache Queries: [ total: 2241, independent: 981, independent conditional: 0, independent unconditional: 981, dependent: 47, dependent conditional: 2, dependent unconditional: 45, unknown: 1213, unknown conditional: 6, unknown unconditional: 1207] , Statistics on independence cache: Total cache size (in pairs): 1213, Positive cache size: 1177, Positive conditional cache size: 2, Positive unconditional cache size: 1175, Negative cache size: 36, Negative conditional cache size: 4, Negative unconditional cache size: 32, Unknown cache size: 0, Unknown conditional cache size: 0, Unknown unconditional cache size: 0, Eliminated conditions: 904 ], Independence queries for same thread: 125 - UnprovableResult [Line: 1272]: Unable to prove that a call to reach_error is unreachable Unable to prove that a call to reach_error is unreachable Reason: overapproximation of sscanf at line 1284. Possible FailurePath: [L1236] 0 static int iTThreads = 2; [L1237] 0 static int iRThreads = 1; [L1238] 0 static int data1Value = 0; [L1239] 0 static int data2Value = 0; [L1240] 0 pthread_mutex_t *data1Lock; [L1241] 0 pthread_mutex_t *data2Lock; [L1278] 0 int i,err; [L1279] COND TRUE 0 argc != 1 [L1280] COND FALSE 0 !(argc != 3) [L1288] COND FALSE 0 !(iTThreads > 100000 || iRThreads > 100000) [L1291] 0 data1Lock = (pthread_mutex_t *) malloc(sizeof(pthread_mutex_t)) [L1292] 0 data2Lock = (pthread_mutex_t *) malloc(sizeof(pthread_mutex_t)) [L1293] EXPR 0 err = pthread_mutex_init(data1Lock, ((void *)0)) [L1293] COND FALSE 0 !(0 != (err = pthread_mutex_init(data1Lock, ((void *)0)))) [L1297] EXPR 0 err = pthread_mutex_init(data2Lock, ((void *)0)) [L1297] COND FALSE 0 !(0 != (err = pthread_mutex_init(data2Lock, ((void *)0)))) [L1301] 0 pthread_t tPool[iTThreads]; [L1302] 0 pthread_t rPool[iRThreads]; [L1303] 0 i = 0 VAL [\old(argc)=3, \old(argv)={50:53}, argc=3, data1Lock={-3:0}, data1Value=0, data2Lock={-2:0}, data2Value=0, err=0, i=0, iRThreads=1, iTThreads=1, rPool={5:0}, tPool={6:0}] [L1303] COND TRUE 0 i < iTThreads [L1304] EXPR, FCALL, FORK 0 pthread_create(&tPool[i], ((void *)0), &funcA, ((void *)0)) VAL [\old(argc)=3, \old(argv)={50:53}, \old(param)={0:0}, argc=3, data1Lock={-3:0}, data1Value=0, data2Lock={-2:0}, data2Value=0, err=0, i=0, iRThreads=1, iTThreads=1, rPool={5:0}, tPool={6:0}] [L1245] 1 int t1 = -1; VAL [\old(param)={0:0}, data1Lock={-3:0}, data1Value=0, data2Lock={-2:0}, data2Value=0, iRThreads=1, iTThreads=1, param={0:0}, t1=-1] [L1247] 1 data1Value = 1 VAL [\old(param)={0:0}, data1Lock={-3:0}, data1Value=1, data2Lock={-2:0}, data2Value=0, iRThreads=1, iTThreads=1, param={0:0}, t1=-1] [L1250] 1 t1 = data1Value VAL [\old(param)={0:0}, data1Lock={-3:0}, data1Value=1, data2Lock={-2:0}, data2Value=0, iRThreads=1, iTThreads=1, param={0:0}, t1=1] [L1304] EXPR 0 err = pthread_create(&tPool[i], ((void *)0), &funcA, ((void *)0)) [L1304] COND FALSE 0 !(0 != (err = pthread_create(&tPool[i], ((void *)0), &funcA, ((void *)0)))) [L1303] 0 i++ VAL [\old(argc)=3, \old(argv)={50:53}, \old(param)={0:0}, argc=3, data1Lock={-3:0}, data1Value=1, data2Lock={-2:0}, data2Value=0, err=0, i=1, iRThreads=1, iTThreads=1, param={0:0}, rPool={5:0}, t1=1, tPool={6:0}] [L1303] COND FALSE 0 !(i < iTThreads) [L1309] 0 i = 0 VAL [\old(argc)=3, \old(argv)={50:53}, \old(param)={0:0}, argc=3, data1Lock={-3:0}, data1Value=1, data2Lock={-2:0}, data2Value=0, err=0, i=0, iRThreads=1, iTThreads=1, param={0:0}, rPool={5:0}, t1=1, tPool={6:0}] [L1309] COND TRUE 0 i < iRThreads [L1310] FCALL, FORK 0 pthread_create(&rPool[i], ((void *)0), &funcB, ((void *)0)) VAL [\old(argc)=3, \old(argv)={50:53}, \old(param)={0:0}, \old(param)={0:0}, argc=3, data1Lock={-3:0}, data1Value=1, data2Lock={-2:0}, data2Value=0, err=0, i=0, iRThreads=1, iTThreads=1, param={0:0}, rPool={5:0}, t1=1, tPool={6:0}] [L1258] 2 int t1 = -1; [L1259] 2 int t2 = -1; VAL [\old(param)={0:0}, \old(param)={0:0}, data1Lock={-3:0}, data1Value=1, data2Lock={-2:0}, data2Value=0, iRThreads=1, iTThreads=1, param={0:0}, param={0:0}, t1=-1, t1=1, t2=-1] [L1261] COND FALSE 2 !(data1Value == 0) [L1265] 2 t1 = data1Value VAL [\old(param)={0:0}, \old(param)={0:0}, data1Lock={-3:0}, data1Value=1, data2Lock={-2:0}, data2Value=0, iRThreads=1, iTThreads=1, param={0:0}, param={0:0}, t1=1, t1=1, t2=-1] [L1268] 2 t2 = data2Value VAL [\old(param)={0:0}, \old(param)={0:0}, data1Lock={-3:0}, data1Value=1, data2Lock={-2:0}, data2Value=0, iRThreads=1, iTThreads=1, param={0:0}, param={0:0}, t1=1, t1=1, t2=0] [L1253] 1 data2Value = t1 + 1 VAL [\old(param)={0:0}, \old(param)={0:0}, data1Lock={-3:0}, data1Value=1, data2Lock={-2:0}, data2Value=2, iRThreads=1, iTThreads=1, param={0:0}, param={0:0}, t1=1, t1=1, t2=0] [L1255] 1 return ((void *)0); [L1270] COND TRUE 2 t2 != (t1 + 1) [L1272] 2 reach_error() VAL [\old(param)={0:0}, \old(param)={0:0}, \result={0:0}, data1Lock={-3:0}, data1Value=1, data2Lock={-2:0}, data2Value=2, iRThreads=1, iTThreads=1, param={0:0}, param={0:0}, t1=1, t1=1, t2=0] - StatisticsResult: Ultimate Automizer benchmark data for errors in thread instance: funcBThread1of1ForFork1 with 1 thread instances CFG has 5 procedures, 80 locations, 4 error locations. Started 1 CEGAR loops. OverallTime: 2.8s, OverallIterations: 3, TraceHistogramMax: 0, PathProgramHistogramMax: 2, EmptinessCheckTime: 1.8s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: , PredicateUnifierStatistics: No data available, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=0occurred in iteration=0, InterpolantAutomatonStates: 12, 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, 64 NumberOfCodeBlocks, 64 NumberOfCodeBlocksAsserted, 2 NumberOfCheckSat, 31 ConstructedInterpolants, 0 QuantifiedInterpolants, 165 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 1 InterpolantComputations, 1 PerfectInterpolantSequences, 1/1 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, ConComCheckerStatistics: ConditionalCommutativityOverallTime: 0.5s, ConditionalCommutativityCheckTime: 0.5s, ConditionalCommutativityIAIntegrations: 0, ConditionalCommutativityDFSRestarts: 0, ConditionalCommutativityCommutingCounterexamples: 1, ConditionalCommutativityConditionCalculations: 1, ConditionalCommutativityTraceChecks: 1, ConditionalCommutativityImperfectProofs: 0 RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2024-10-18 03:43:22,531 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 (2)] Forceful destruction successful, exit code 0 [2024-10-18 03:43:22,730 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Forceful destruction successful, exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Using bit-precise analysis Retrying with bit-precise analysis ### Bit-precise run ### Calling Ultimate with: /root/.sdkman/candidates/java/current/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/config/GemCutterReach.xml -i ../../../trunk/examples/svcomp/pthread/twostage_3.i -s /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/config/svcomp-Reach-32bit-GemCutter_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G ! call(reach_error())) ) --witnessprinter.graph.data.producer GemCutter --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 1032ef3fe166161226ca7e81ea27802cfc3f516ad1e4b45c387461fe1ddeccf8 --traceabstraction.dfs.order.used.in.por LOOP_LOCKSTEP --traceabstraction.additional.conditional.commutativity.checking COUNTEREXAMPLE --traceabstraction.criterion.for.conditional.commutativity.checking RANDOM --traceabstraction.probability.for.random.criterion 50 --traceabstraction.seed.for.random.criterion 213 -tc /storage/repos/ultimate/releaseScripts/default/benchexec/../../../trunk/examples/toolchains/AutomizerCInline.xml --- Real Ultimate output --- This is Ultimate 0.2.5-wip.dk.conditional-comm-b86fb0b-m [2024-10-18 03:43:24,522 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-10-18 03:43:24,584 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/config/svcomp-Reach-32bit-GemCutter_Bitvector.epf [2024-10-18 03:43:24,587 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-10-18 03:43:24,588 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-10-18 03:43:24,614 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-10-18 03:43:24,614 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-10-18 03:43:24,614 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-10-18 03:43:24,615 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-10-18 03:43:24,615 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-10-18 03:43:24,616 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-10-18 03:43:24,616 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-10-18 03:43:24,617 INFO L153 SettingsManager]: * Use SBE=true [2024-10-18 03:43:24,620 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-10-18 03:43:24,620 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-10-18 03:43:24,620 INFO L153 SettingsManager]: * sizeof long=4 [2024-10-18 03:43:24,620 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-10-18 03:43:24,621 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-10-18 03:43:24,621 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-10-18 03:43:24,622 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-10-18 03:43:24,622 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-10-18 03:43:24,623 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-10-18 03:43:24,624 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-10-18 03:43:24,624 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-10-18 03:43:24,624 INFO L153 SettingsManager]: * sizeof long double=12 [2024-10-18 03:43:24,624 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-10-18 03:43:24,625 INFO L153 SettingsManager]: * Use constant arrays=true [2024-10-18 03:43:24,625 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-10-18 03:43:24,625 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-10-18 03:43:24,625 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-10-18 03:43:24,625 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-10-18 03:43:24,626 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2024-10-18 03:43:24,626 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-10-18 03:43:24,626 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-10-18 03:43:24,627 INFO L153 SettingsManager]: * DFS Order used in POR=LOOP_LOCKSTEP [2024-10-18 03:43:24,627 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-10-18 03:43:24,627 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-10-18 03:43:24,627 INFO L153 SettingsManager]: * Partial Order Reduction in concurrent analysis=PERSISTENT_SLEEP_NEW_STATES_FIXEDORDER [2024-10-18 03:43:24,628 INFO L153 SettingsManager]: * Logic for external solver=AUFBV [2024-10-18 03:43:24,628 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-10-18 03:43:24,628 INFO L153 SettingsManager]: * Trace refinement strategy=WOLF [2024-10-18 03:43:24,629 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PARTIAL_ORDER_FA [2024-10-18 03:43:24,629 INFO L153 SettingsManager]: * CEGAR restart behaviour=ONE_CEGAR_PER_THREAD_INSTANCE [2024-10-18 03:43:24,629 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/UGemCutter-linux/plugins/com.sun.xml.bind_2.2.0.v201505121915.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(G ! call(reach_error())) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> GemCutter Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> 1032ef3fe166161226ca7e81ea27802cfc3f516ad1e4b45c387461fe1ddeccf8 Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: DFS Order used in POR -> LOOP_LOCKSTEP Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: Additional conditional commutativity checking -> COUNTEREXAMPLE Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: Criterion for conditional commutativity checking -> RANDOM Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: Probability for random criterion as percentage -> 50 Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: Seed for random criterion -> 213 [2024-10-18 03:43:24,858 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-10-18 03:43:24,881 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-10-18 03:43:24,884 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-10-18 03:43:24,885 INFO L270 PluginConnector]: Initializing CDTParser... [2024-10-18 03:43:24,885 INFO L274 PluginConnector]: CDTParser initialized [2024-10-18 03:43:24,886 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/../../../trunk/examples/svcomp/pthread/twostage_3.i [2024-10-18 03:43:26,152 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-10-18 03:43:26,362 INFO L384 CDTParser]: Found 1 translation units. [2024-10-18 03:43:26,363 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/pthread/twostage_3.i [2024-10-18 03:43:26,379 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/data/e088089f9/12ed506d0d7845f98b32dcb339b95f80/FLAG58251c1bf [2024-10-18 03:43:26,390 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/data/e088089f9/12ed506d0d7845f98b32dcb339b95f80 [2024-10-18 03:43:26,391 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-10-18 03:43:26,392 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-10-18 03:43:26,393 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-10-18 03:43:26,394 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-10-18 03:43:26,397 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-10-18 03:43:26,398 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 18.10 03:43:26" (1/1) ... [2024-10-18 03:43:26,399 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@42179134 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.10 03:43:26, skipping insertion in model container [2024-10-18 03:43:26,399 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 18.10 03:43:26" (1/1) ... [2024-10-18 03:43:26,447 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-10-18 03:43:26,900 WARN L247 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/pthread/twostage_3.i[59093,59106] [2024-10-18 03:43:26,920 WARN L1659 CHandler]: Possible shadowing of function lock [2024-10-18 03:43:26,921 WARN L1659 CHandler]: Possible shadowing of function lock [2024-10-18 03:43:26,922 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-10-18 03:43:26,930 INFO L200 MainTranslator]: Completed pre-run [2024-10-18 03:43:26,968 WARN L247 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/pthread/twostage_3.i[59093,59106] [2024-10-18 03:43:26,977 WARN L1659 CHandler]: Possible shadowing of function lock [2024-10-18 03:43:26,978 WARN L1659 CHandler]: Possible shadowing of function lock [2024-10-18 03:43:26,978 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-10-18 03:43:27,058 INFO L204 MainTranslator]: Completed translation [2024-10-18 03:43:27,059 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.10 03:43:27 WrapperNode [2024-10-18 03:43:27,059 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-10-18 03:43:27,060 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-10-18 03:43:27,060 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-10-18 03:43:27,060 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-10-18 03:43:27,065 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.10 03:43:27" (1/1) ... [2024-10-18 03:43:27,089 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.10 03:43:27" (1/1) ... [2024-10-18 03:43:27,108 INFO L138 Inliner]: procedures = 376, calls = 33, calls flagged for inlining = 2, calls inlined = 2, statements flattened = 139 [2024-10-18 03:43:27,109 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-10-18 03:43:27,109 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-10-18 03:43:27,109 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-10-18 03:43:27,109 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-10-18 03:43:27,116 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.10 03:43:27" (1/1) ... [2024-10-18 03:43:27,116 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.10 03:43:27" (1/1) ... [2024-10-18 03:43:27,120 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.10 03:43:27" (1/1) ... [2024-10-18 03:43:27,120 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.10 03:43:27" (1/1) ... [2024-10-18 03:43:27,128 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.10 03:43:27" (1/1) ... [2024-10-18 03:43:27,131 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.10 03:43:27" (1/1) ... [2024-10-18 03:43:27,133 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.10 03:43:27" (1/1) ... [2024-10-18 03:43:27,134 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.10 03:43:27" (1/1) ... [2024-10-18 03:43:27,142 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-10-18 03:43:27,142 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-10-18 03:43:27,142 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-10-18 03:43:27,143 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-10-18 03:43:27,143 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.10 03:43:27" (1/1) ... [2024-10-18 03:43:27,149 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2024-10-18 03:43:27,158 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/z3 [2024-10-18 03:43:27,172 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) [2024-10-18 03:43:27,174 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Waiting until timeout for monitored process [2024-10-18 03:43:27,207 INFO L130 BoogieDeclarations]: Found specification of procedure read~intINTTYPE4 [2024-10-18 03:43:27,207 INFO L130 BoogieDeclarations]: Found specification of procedure funcA [2024-10-18 03:43:27,207 INFO L138 BoogieDeclarations]: Found implementation of procedure funcA [2024-10-18 03:43:27,207 INFO L130 BoogieDeclarations]: Found specification of procedure funcB [2024-10-18 03:43:27,207 INFO L138 BoogieDeclarations]: Found implementation of procedure funcB [2024-10-18 03:43:27,207 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2024-10-18 03:43:27,208 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2024-10-18 03:43:27,208 INFO L130 BoogieDeclarations]: Found specification of procedure write~intINTTYPE4 [2024-10-18 03:43:27,208 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1 [2024-10-18 03:43:27,208 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexUnlock [2024-10-18 03:43:27,208 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2024-10-18 03:43:27,208 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2024-10-18 03:43:27,208 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-10-18 03:43:27,208 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-10-18 03:43:27,208 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-10-18 03:43:27,209 WARN L207 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement. [2024-10-18 03:43:27,357 INFO L238 CfgBuilder]: Building ICFG [2024-10-18 03:43:27,360 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-10-18 03:43:27,670 INFO L283 CfgBuilder]: Omitted future-live optimization because the input is a concurrent program. [2024-10-18 03:43:27,670 INFO L287 CfgBuilder]: Performing block encoding [2024-10-18 03:43:27,870 INFO L309 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-10-18 03:43:27,870 INFO L314 CfgBuilder]: Removed 4 assume(true) statements. [2024-10-18 03:43:27,871 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 18.10 03:43:27 BoogieIcfgContainer [2024-10-18 03:43:27,871 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-10-18 03:43:27,873 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2024-10-18 03:43:27,873 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2024-10-18 03:43:27,876 INFO L274 PluginConnector]: TraceAbstraction initialized [2024-10-18 03:43:27,876 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 18.10 03:43:26" (1/3) ... [2024-10-18 03:43:27,877 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@5dea1f27 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 18.10 03:43:27, skipping insertion in model container [2024-10-18 03:43:27,877 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.10 03:43:27" (2/3) ... [2024-10-18 03:43:27,877 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@5dea1f27 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 18.10 03:43:27, skipping insertion in model container [2024-10-18 03:43:27,877 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 18.10 03:43:27" (3/3) ... [2024-10-18 03:43:27,878 INFO L112 eAbstractionObserver]: Analyzing ICFG twostage_3.i [2024-10-18 03:43:27,890 INFO L209 ceAbstractionStarter]: Automizer settings: Hoare:LoopHeads NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2024-10-18 03:43:27,891 INFO L149 ceAbstractionStarter]: Applying trace abstraction to program that has 1 error locations. [2024-10-18 03:43:27,891 INFO L484 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2024-10-18 03:43:27,935 INFO L143 ThreadInstanceAdder]: Constructed 4 joinOtherThreadTransitions. [2024-10-18 03:43:27,972 INFO L106 denceProviderFactory]: Independence Relation #1: [IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=true, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-10-18 03:43:27,973 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 [2024-10-18 03:43:27,973 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/z3 [2024-10-18 03:43:27,975 INFO L229 MonitoredProcess]: Starting monitored process 2 with /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 (exit command is (exit), workingDir is null) [2024-10-18 03:43:27,976 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 (2)] Waiting until timeout for monitored process [2024-10-18 03:43:28,056 INFO L194 artialOrderCegarLoop]: Running PartialOrderCegarLoop with 1 independence relations. [2024-10-18 03:43:28,072 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-18 03:43:28,074 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == funcBThread1of1ForFork1 ======== [2024-10-18 03:43:28,079 INFO L333 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, mAutomataTypeConcurrency=PARTIAL_ORDER_FA, 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;@fa7b46, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms], mConComChecker=COUNTEREXAMPLE, mConComCheckerCriterion=RANDOM, mConComCheckerTraceCheckMode=GENERATOR, mConComCheckerLimitedChecksCriterion=false, mConComCheckerCriterionLimit=1, mConComCheckerRandomProb=50, mConComCheckerRandomSeed=213, mConComCheckerConditionCriterion=false [2024-10-18 03:43:28,080 INFO L334 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2024-10-18 03:43:28,973 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting funcBErr0ASSERT_VIOLATIONERROR_FUNCTION === [funcBErr0ASSERT_VIOLATIONERROR_FUNCTION] === [2024-10-18 03:43:28,975 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-18 03:43:28,976 INFO L85 PathProgramCache]: Analyzing trace with hash -1128641970, now seen corresponding path program 1 times [2024-10-18 03:43:28,987 INFO L118 FreeRefinementEngine]: Executing refinement strategy WOLF [2024-10-18 03:43:28,987 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleMathsat [1972563926] [2024-10-18 03:43:28,988 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-18 03:43:28,988 INFO L173 SolverBuilder]: Constructing external solver with command: mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2024-10-18 03:43:28,988 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/mathsat [2024-10-18 03:43:29,006 INFO L229 MonitoredProcess]: Starting monitored process 3 with /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (exit command is (exit), workingDir is null) [2024-10-18 03:43:29,007 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (3)] Waiting until timeout for monitored process [2024-10-18 03:43:29,115 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-18 03:43:29,118 INFO L255 TraceCheckSpWp]: Trace formula consists of 144 conjuncts, 6 conjuncts are in the unsatisfiable core [2024-10-18 03:43:29,122 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-10-18 03:43:29,269 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 1 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-10-18 03:43:29,269 INFO L307 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2024-10-18 03:43:29,270 INFO L136 FreeRefinementEngine]: Strategy WOLF found an infeasible trace [2024-10-18 03:43:29,270 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleMathsat [1972563926] [2024-10-18 03:43:29,270 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleMathsat [1972563926] provided 1 perfect and 0 imperfect interpolant sequences [2024-10-18 03:43:29,271 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-10-18 03:43:29,271 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [7] imperfect sequences [] total 7 [2024-10-18 03:43:29,272 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [934432417] [2024-10-18 03:43:29,272 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-10-18 03:43:29,276 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 7 states [2024-10-18 03:43:29,276 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy WOLF [2024-10-18 03:43:29,303 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 7 interpolants. [2024-10-18 03:43:29,304 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=13, Invalid=29, Unknown=0, NotChecked=0, Total=42 [2024-10-18 03:43:29,313 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2024-10-18 03:43:29,315 INFO L471 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2024-10-18 03:43:29,316 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 7 states, 7 states have (on average 4.571428571428571) internal successors, (32), 7 states have internal predecessors, (32), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-10-18 03:43:29,316 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2024-10-18 03:43:30,029 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2024-10-18 03:43:30,038 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (3)] Forceful destruction successful, exit code 0 [2024-10-18 03:43:30,230 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 3 /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2024-10-18 03:43:30,231 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting funcBErr0ASSERT_VIOLATIONERROR_FUNCTION === [funcBErr0ASSERT_VIOLATIONERROR_FUNCTION] === [2024-10-18 03:43:30,274 INFO L85 PathProgramCache]: Analyzing trace with hash -606101167, now seen corresponding path program 1 times [2024-10-18 03:43:30,275 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-18 03:43:30,275 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-18 03:43:30,404 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2024-10-18 03:43:30,405 FATAL L? ?]: The Plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction has thrown an exception: java.lang.AssertionError: de.uni_freiburg.informatik.ultimate.logic.SMTLIBException: Unsupported internal sort: RoundingMode at de.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.singletracecheck.TraceCheck.(TraceCheck.java:236) at de.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.singletracecheck.InterpolatingTraceCheck.(InterpolatingTraceCheck.java:88) at de.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.singletracecheck.InterpolatingTraceCheckCraig.(InterpolatingTraceCheckCraig.java:87) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.tracehandling.IpTcStrategyModuleCraigSleepSetPOR.construct(IpTcStrategyModuleCraigSleepSetPOR.java:102) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.tracehandling.IpTcStrategyModuleCraigSleepSetPOR.construct(IpTcStrategyModuleCraigSleepSetPOR.java:1) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.tracehandling.IpTcStrategyModuleBase.getOrConstruct(IpTcStrategyModuleBase.java:101) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.tracehandling.IpTcStrategyModuleBase.isCorrect(IpTcStrategyModuleBase.java:57) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.tracehandling.PostConditionTraceChecker.checkTrace(PostConditionTraceChecker.java:110) at de.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.partialorder.independence.ConditionalCommutativityChecker.checkConditionalCommutativity(ConditionalCommutativityChecker.java:222) at de.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.partialorder.independence.ConditionalCommutativityCounterexampleChecker.getInterpolants(ConditionalCommutativityCounterexampleChecker.java:152) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.concurrency.PartialOrderCegarLoop.isCounterexampleFeasible(PartialOrderCegarLoop.java:420) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.AbstractCegarLoop.iterate(AbstractCegarLoop.java:407) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.AbstractCegarLoop.startCegar(AbstractCegarLoop.java:342) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.AbstractCegarLoop.runCegar(AbstractCegarLoop.java:324) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionStarter.executeCegarLoop(TraceAbstractionStarter.java:421) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionStarter.analyseProgram(TraceAbstractionStarter.java:307) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionStarter.analyseConcurrentProgram(TraceAbstractionStarter.java:231) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionStarter.runCegarLoops(TraceAbstractionStarter.java:160) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionStarter.(TraceAbstractionStarter.java:141) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver.finish(TraceAbstractionObserver.java:124) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.runObserver(PluginConnector.java:167) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.runTool(PluginConnector.java:150) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.run(PluginConnector.java:127) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.executePluginConnector(ToolchainWalker.java:233) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.processPlugin(ToolchainWalker.java:227) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.walkUnprotected(ToolchainWalker.java:144) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.walk(ToolchainWalker.java:106) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainManager$Toolchain.processToolchain(ToolchainManager.java:319) at de.uni_freiburg.informatik.ultimate.core.coreplugin.toolchain.DefaultToolchainJob.run(DefaultToolchainJob.java:145) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63) Caused by: de.uni_freiburg.informatik.ultimate.logic.SMTLIBException: Unsupported internal sort: RoundingMode at de.uni_freiburg.informatik.ultimate.smtinterpol.smtlib2.SMTInterpol.assertTerm(SMTInterpol.java:672) at de.uni_freiburg.informatik.ultimate.logic.WrapperScript.assertTerm(WrapperScript.java:158) at de.uni_freiburg.informatik.ultimate.logic.WrapperScript.assertTerm(WrapperScript.java:158) at de.uni_freiburg.informatik.ultimate.lib.smtlibutils.ManagedScript.assertTerm(ManagedScript.java:143) at de.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.singletracecheck.AnnotateAndAssertCodeBlocks.annotateAndAssertTerm(AnnotateAndAssertCodeBlocks.java:193) at de.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.singletracecheck.AnnotateAndAssertCodeBlocks.annotateAndAssertNonCall(AnnotateAndAssertCodeBlocks.java:109) at de.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.singletracecheck.AnnotateAndAsserter.buildAnnotatedSsaAndAssertTerms(AnnotateAndAsserter.java:101) at de.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.singletracecheck.TraceCheck.checkTrace(TraceCheck.java:317) at de.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.singletracecheck.TraceCheck.(TraceCheck.java:215) ... 29 more [2024-10-18 03:43:30,411 INFO L158 Benchmark]: Toolchain (without parser) took 4017.94ms. Allocated memory was 77.6MB in the beginning and 125.8MB in the end (delta: 48.2MB). Free memory was 44.5MB in the beginning and 46.0MB in the end (delta: -1.5MB). Peak memory consumption was 45.0MB. Max. memory is 16.1GB. [2024-10-18 03:43:30,411 INFO L158 Benchmark]: CDTParser took 1.31ms. Allocated memory is still 56.6MB. Free memory was 28.1MB in the beginning and 28.1MB in the end (delta: 73.4kB). There was no memory consumed. Max. memory is 16.1GB. [2024-10-18 03:43:30,412 INFO L158 Benchmark]: CACSL2BoogieTranslator took 665.76ms. Allocated memory is still 77.6MB. Free memory was 44.3MB in the beginning and 43.9MB in the end (delta: 435.1kB). Peak memory consumption was 18.6MB. Max. memory is 16.1GB. [2024-10-18 03:43:30,412 INFO L158 Benchmark]: Boogie Procedure Inliner took 49.04ms. Allocated memory is still 77.6MB. Free memory was 43.9MB in the beginning and 41.0MB in the end (delta: 2.9MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-10-18 03:43:30,413 INFO L158 Benchmark]: Boogie Preprocessor took 32.53ms. Allocated memory is still 77.6MB. Free memory was 41.0MB in the beginning and 38.5MB in the end (delta: 2.5MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2024-10-18 03:43:30,414 INFO L158 Benchmark]: RCFGBuilder took 728.38ms. Allocated memory was 77.6MB in the beginning and 104.9MB in the end (delta: 27.3MB). Free memory was 38.5MB in the beginning and 55.3MB in the end (delta: -16.8MB). Peak memory consumption was 18.6MB. Max. memory is 16.1GB. [2024-10-18 03:43:30,415 INFO L158 Benchmark]: TraceAbstraction took 2536.91ms. Allocated memory was 104.9MB in the beginning and 125.8MB in the end (delta: 21.0MB). Free memory was 54.0MB in the beginning and 46.0MB in the end (delta: 7.9MB). Peak memory consumption was 28.8MB. Max. memory is 16.1GB. [2024-10-18 03:43:30,417 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 1.31ms. Allocated memory is still 56.6MB. Free memory was 28.1MB in the beginning and 28.1MB in the end (delta: 73.4kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 665.76ms. Allocated memory is still 77.6MB. Free memory was 44.3MB in the beginning and 43.9MB in the end (delta: 435.1kB). Peak memory consumption was 18.6MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 49.04ms. Allocated memory is still 77.6MB. Free memory was 43.9MB in the beginning and 41.0MB in the end (delta: 2.9MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 32.53ms. Allocated memory is still 77.6MB. Free memory was 41.0MB in the beginning and 38.5MB in the end (delta: 2.5MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * RCFGBuilder took 728.38ms. Allocated memory was 77.6MB in the beginning and 104.9MB in the end (delta: 27.3MB). Free memory was 38.5MB in the beginning and 55.3MB in the end (delta: -16.8MB). Peak memory consumption was 18.6MB. Max. memory is 16.1GB. * TraceAbstraction took 2536.91ms. Allocated memory was 104.9MB in the beginning and 125.8MB in the end (delta: 21.0MB). Free memory was 54.0MB in the beginning and 46.0MB in the end (delta: 7.9MB). Peak memory consumption was 28.8MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - ExceptionOrErrorResult: AssertionError: de.uni_freiburg.informatik.ultimate.logic.SMTLIBException: Unsupported internal sort: RoundingMode de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: AssertionError: de.uni_freiburg.informatik.ultimate.logic.SMTLIBException: Unsupported internal sort: RoundingMode: de.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.singletracecheck.TraceCheck.(TraceCheck.java:236) RESULT: Ultimate could not prove your program: Toolchain returned no result. [2024-10-18 03:43:30,442 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 (2)] Ended with exit code 0 [2024-10-18 03:43:30,642 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Ended with exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Result: ERROR: ExceptionOrErrorResult: AssertionError: de.uni_freiburg.informatik.ultimate.logic.SMTLIBException: Unsupported internal sort: RoundingMode