./Ultimate.py --spec ../../sv-benchmarks/c/properties/unreach-call.prp --file ../../sv-benchmarks/c/ldv-races/race-1_2-join.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for ERROR reachability Using default analysis Version 527bcce2 Calling Ultimate with: /usr/lib/jvm/java-1.11.0-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b94cf547-fa7d-4ba9-a7ed-097570e89272/bin/uautomizer-verify-bycVGegfSx/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b94cf547-fa7d-4ba9-a7ed-097570e89272/bin/uautomizer-verify-bycVGegfSx/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b94cf547-fa7d-4ba9-a7ed-097570e89272/bin/uautomizer-verify-bycVGegfSx/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b94cf547-fa7d-4ba9-a7ed-097570e89272/bin/uautomizer-verify-bycVGegfSx/config/AutomizerReach.xml -i ../../sv-benchmarks/c/ldv-races/race-1_2-join.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b94cf547-fa7d-4ba9-a7ed-097570e89272/bin/uautomizer-verify-bycVGegfSx/config/svcomp-Reach-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b94cf547-fa7d-4ba9-a7ed-097570e89272/bin/uautomizer-verify-bycVGegfSx --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 Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash fd4c3d19582748238e9ca587d159d6e8fc23db581cd4de03be73dc785992e03f --- Real Ultimate output --- This is Ultimate 0.2.3-dev-527bcce [2023-11-21 22:19:07,919 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-21 22:19:08,030 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b94cf547-fa7d-4ba9-a7ed-097570e89272/bin/uautomizer-verify-bycVGegfSx/config/svcomp-Reach-32bit-Automizer_Default.epf [2023-11-21 22:19:08,035 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-21 22:19:08,036 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2023-11-21 22:19:08,062 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-21 22:19:08,063 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-11-21 22:19:08,063 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-11-21 22:19:08,064 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2023-11-21 22:19:08,065 INFO L153 SettingsManager]: * Use memory slicer=true [2023-11-21 22:19:08,065 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-21 22:19:08,066 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-11-21 22:19:08,067 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-21 22:19:08,067 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-21 22:19:08,068 INFO L153 SettingsManager]: * Use SBE=true [2023-11-21 22:19:08,069 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-21 22:19:08,069 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-21 22:19:08,070 INFO L153 SettingsManager]: * sizeof long=4 [2023-11-21 22:19:08,070 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-21 22:19:08,071 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-11-21 22:19:08,071 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-21 22:19:08,075 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-21 22:19:08,076 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-21 22:19:08,076 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-21 22:19:08,077 INFO L153 SettingsManager]: * sizeof long double=12 [2023-11-21 22:19:08,077 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-21 22:19:08,078 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-21 22:19:08,078 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-21 22:19:08,079 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-11-21 22:19:08,079 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2023-11-21 22:19:08,080 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2023-11-21 22:19:08,081 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-11-21 22:19:08,082 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-21 22:19:08,082 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-21 22:19:08,082 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-11-21 22:19:08,083 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2023-11-21 22:19:08,083 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-11-21 22:19:08,083 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2023-11-21 22:19:08,083 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2023-11-21 22:19:08,084 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-11-21 22:19:08,084 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2023-11-21 22:19:08,084 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-11-21 22:19:08,085 INFO L153 SettingsManager]: * Looper check in Petri net analysis=SEMANTIC WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b94cf547-fa7d-4ba9-a7ed-097570e89272/bin/uautomizer-verify-bycVGegfSx/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 -> /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b94cf547-fa7d-4ba9-a7ed-097570e89272/bin/uautomizer-verify-bycVGegfSx 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 -> Automizer 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 -> fd4c3d19582748238e9ca587d159d6e8fc23db581cd4de03be73dc785992e03f [2023-11-21 22:19:08,423 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-21 22:19:08,458 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-21 22:19:08,461 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-21 22:19:08,462 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-21 22:19:08,463 INFO L274 PluginConnector]: CDTParser initialized [2023-11-21 22:19:08,464 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b94cf547-fa7d-4ba9-a7ed-097570e89272/bin/uautomizer-verify-bycVGegfSx/../../sv-benchmarks/c/ldv-races/race-1_2-join.i [2023-11-21 22:19:11,523 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-21 22:19:12,013 INFO L384 CDTParser]: Found 1 translation units. [2023-11-21 22:19:12,015 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b94cf547-fa7d-4ba9-a7ed-097570e89272/sv-benchmarks/c/ldv-races/race-1_2-join.i [2023-11-21 22:19:12,051 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b94cf547-fa7d-4ba9-a7ed-097570e89272/bin/uautomizer-verify-bycVGegfSx/data/6c06af8d8/199166aed38b45f4b9c5f7a5c24fb6d6/FLAGb4ad2fb25 [2023-11-21 22:19:12,069 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b94cf547-fa7d-4ba9-a7ed-097570e89272/bin/uautomizer-verify-bycVGegfSx/data/6c06af8d8/199166aed38b45f4b9c5f7a5c24fb6d6 [2023-11-21 22:19:12,075 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-21 22:19:12,077 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-21 22:19:12,079 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-21 22:19:12,079 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-21 22:19:12,084 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-21 22:19:12,085 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 21.11 10:19:12" (1/1) ... [2023-11-21 22:19:12,086 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@85d23d and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 10:19:12, skipping insertion in model container [2023-11-21 22:19:12,086 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 21.11 10:19:12" (1/1) ... [2023-11-21 22:19:12,153 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-21 22:19:12,958 WARN L240 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b94cf547-fa7d-4ba9-a7ed-097570e89272/sv-benchmarks/c/ldv-races/race-1_2-join.i[76153,76166] [2023-11-21 22:19:13,011 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-21 22:19:13,027 INFO L202 MainTranslator]: Completed pre-run [2023-11-21 22:19:13,127 WARN L240 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b94cf547-fa7d-4ba9-a7ed-097570e89272/sv-benchmarks/c/ldv-races/race-1_2-join.i[76153,76166] [2023-11-21 22:19:13,142 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-21 22:19:13,324 WARN L675 CHandler]: The function __VERIFIER_atomic_begin is called, but not defined or handled by StandardFunctionHandler. [2023-11-21 22:19:13,324 WARN L675 CHandler]: The function __VERIFIER_atomic_end is called, but not defined or handled by StandardFunctionHandler. [2023-11-21 22:19:13,332 INFO L206 MainTranslator]: Completed translation [2023-11-21 22:19:13,333 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 10:19:13 WrapperNode [2023-11-21 22:19:13,334 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-21 22:19:13,335 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-21 22:19:13,336 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-21 22:19:13,336 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-21 22:19:13,344 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 10:19:13" (1/1) ... [2023-11-21 22:19:13,392 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 10:19:13" (1/1) ... [2023-11-21 22:19:13,422 INFO L138 Inliner]: procedures = 483, calls = 34, calls flagged for inlining = 8, calls inlined = 8, statements flattened = 89 [2023-11-21 22:19:13,422 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-21 22:19:13,423 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-21 22:19:13,423 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-21 22:19:13,423 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-21 22:19:13,434 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 10:19:13" (1/1) ... [2023-11-21 22:19:13,435 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 10:19:13" (1/1) ... [2023-11-21 22:19:13,439 INFO L184 PluginConnector]: Executing the observer HeapSplitter from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 10:19:13" (1/1) ... [2023-11-21 22:19:13,455 INFO L187 HeapSplitter]: Split 11 memory accesses to 5 slices as follows [2, 1, 3, 5, 0] [2023-11-21 22:19:13,455 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 10:19:13" (1/1) ... [2023-11-21 22:19:13,456 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 10:19:13" (1/1) ... [2023-11-21 22:19:13,473 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 10:19:13" (1/1) ... [2023-11-21 22:19:13,475 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 10:19:13" (1/1) ... [2023-11-21 22:19:13,481 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 10:19:13" (1/1) ... [2023-11-21 22:19:13,484 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 10:19:13" (1/1) ... [2023-11-21 22:19:13,492 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-21 22:19:13,493 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-21 22:19:13,493 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-21 22:19:13,493 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-21 22:19:13,494 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 10:19:13" (1/1) ... [2023-11-21 22:19:13,500 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-11-21 22:19:13,513 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b94cf547-fa7d-4ba9-a7ed-097570e89272/bin/uautomizer-verify-bycVGegfSx/z3 [2023-11-21 22:19:13,526 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b94cf547-fa7d-4ba9-a7ed-097570e89272/bin/uautomizer-verify-bycVGegfSx/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) [2023-11-21 22:19:13,553 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b94cf547-fa7d-4ba9-a7ed-097570e89272/bin/uautomizer-verify-bycVGegfSx/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Waiting until timeout for monitored process [2023-11-21 22:19:13,576 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_begin [2023-11-21 22:19:13,576 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-21 22:19:13,576 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_end [2023-11-21 22:19:13,576 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#0 [2023-11-21 22:19:13,577 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#1 [2023-11-21 22:19:13,578 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#2 [2023-11-21 22:19:13,579 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#3 [2023-11-21 22:19:13,579 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#4 [2023-11-21 22:19:13,579 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2023-11-21 22:19:13,579 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-21 22:19:13,580 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$#0 [2023-11-21 22:19:13,580 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$#1 [2023-11-21 22:19:13,580 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$#2 [2023-11-21 22:19:13,580 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$#3 [2023-11-21 22:19:13,581 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$#4 [2023-11-21 22:19:13,581 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-21 22:19:13,581 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-21 22:19:13,581 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-21 22:19:13,582 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexUnlock [2023-11-21 22:19:13,582 INFO L130 BoogieDeclarations]: Found specification of procedure thread1 [2023-11-21 22:19:13,583 INFO L138 BoogieDeclarations]: Found implementation of procedure thread1 [2023-11-21 22:19:13,583 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#0 [2023-11-21 22:19:13,583 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#1 [2023-11-21 22:19:13,584 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#2 [2023-11-21 22:19:13,584 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#3 [2023-11-21 22:19:13,584 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#4 [2023-11-21 22:19:13,585 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2023-11-21 22:19:13,585 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#1 [2023-11-21 22:19:13,585 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#2 [2023-11-21 22:19:13,586 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#3 [2023-11-21 22:19:13,586 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#4 [2023-11-21 22:19:13,588 WARN L212 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement [2023-11-21 22:19:14,010 INFO L240 CfgBuilder]: Building ICFG [2023-11-21 22:19:14,013 INFO L266 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-21 22:19:14,245 INFO L281 CfgBuilder]: Performing block encoding [2023-11-21 22:19:14,431 INFO L303 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-21 22:19:14,431 INFO L308 CfgBuilder]: Removed 0 assume(true) statements. [2023-11-21 22:19:14,433 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 21.11 10:19:14 BoogieIcfgContainer [2023-11-21 22:19:14,433 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-21 22:19:14,436 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2023-11-21 22:19:14,436 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2023-11-21 22:19:14,440 INFO L274 PluginConnector]: TraceAbstraction initialized [2023-11-21 22:19:14,440 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 21.11 10:19:12" (1/3) ... [2023-11-21 22:19:14,441 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@1b28176e and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 21.11 10:19:14, skipping insertion in model container [2023-11-21 22:19:14,441 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 10:19:13" (2/3) ... [2023-11-21 22:19:14,442 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@1b28176e and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 21.11 10:19:14, skipping insertion in model container [2023-11-21 22:19:14,442 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 21.11 10:19:14" (3/3) ... [2023-11-21 22:19:14,443 INFO L112 eAbstractionObserver]: Analyzing ICFG race-1_2-join.i [2023-11-21 22:19:14,453 WARN L145 ceAbstractionStarter]: Switching off computation of Hoare annotation because input is a concurrent program [2023-11-21 22:19:14,465 INFO L203 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2023-11-21 22:19:14,465 INFO L162 ceAbstractionStarter]: Applying trace abstraction to program that has 4 error locations. [2023-11-21 22:19:14,465 INFO L514 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2023-11-21 22:19:14,514 INFO L144 ThreadInstanceAdder]: Constructed 1 joinOtherThreadTransitions. [2023-11-21 22:19:14,562 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 36 places, 37 transitions, 81 flow [2023-11-21 22:19:14,603 INFO L124 PetriNetUnfolderBase]: 4/40 cut-off events. [2023-11-21 22:19:14,603 INFO L125 PetriNetUnfolderBase]: For 1/1 co-relation queries the response was YES. [2023-11-21 22:19:14,611 INFO L83 FinitePrefix]: Finished finitePrefix Result has 45 conditions, 40 events. 4/40 cut-off events. For 1/1 co-relation queries the response was YES. Maximal size of possible extension queue 5. Compared 65 event pairs, 0 based on Foata normal form. 0/30 useless extension candidates. Maximal degree in co-relation 17. Up to 3 conditions per place. [2023-11-21 22:19:14,611 INFO L82 GeneralOperation]: Start removeDead. Operand has 36 places, 37 transitions, 81 flow [2023-11-21 22:19:14,619 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 31 places, 28 transitions, 62 flow [2023-11-21 22:19:14,639 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-11-21 22:19:14,648 INFO L357 AbstractCegarLoop]: Settings: SEPARATE_VIOLATION_CHECK=true, mInterprocedural=true, mMaxIterations=1000000, mWatchIteration=1000000, mArtifact=RCFG, mInterpolation=FPandBP, mInterpolantAutomaton=STRAIGHT_LINE, mDumpAutomata=false, mAutomataFormat=ATS_NUMERATE, mDumpPath=., mDeterminiation=PREDICATE_ABSTRACTION, mMinimize=MINIMIZE_SEVPA, mHoare=true, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=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;@19b1b162, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-11-21 22:19:14,649 INFO L358 AbstractCegarLoop]: Starting to check reachability of 5 error locations. [2023-11-21 22:19:14,653 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-11-21 22:19:14,653 INFO L124 PetriNetUnfolderBase]: 1/4 cut-off events. [2023-11-21 22:19:14,654 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-21 22:19:14,654 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-21 22:19:14,655 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2023-11-21 22:19:14,655 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION === [ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr2ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr1ASSERT_VIOLATIONERROR_FUNCTION (and 2 more)] === [2023-11-21 22:19:14,661 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-21 22:19:14,662 INFO L85 PathProgramCache]: Analyzing trace with hash 283078, now seen corresponding path program 1 times [2023-11-21 22:19:14,673 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-21 22:19:14,674 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1380939193] [2023-11-21 22:19:14,674 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-21 22:19:14,675 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-21 22:19:14,880 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-21 22:19:15,136 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-21 22:19:15,136 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-21 22:19:15,137 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1380939193] [2023-11-21 22:19:15,138 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1380939193] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-21 22:19:15,138 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-21 22:19:15,138 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2023-11-21 22:19:15,140 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [959915292] [2023-11-21 22:19:15,143 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-21 22:19:15,152 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-21 22:19:15,162 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-21 22:19:15,200 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-21 22:19:15,201 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-21 22:19:15,215 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 9 out of 37 [2023-11-21 22:19:15,217 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 31 places, 28 transitions, 62 flow. Second operand has 3 states, 3 states have (on average 9.666666666666666) internal successors, (29), 3 states have internal predecessors, (29), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-21 22:19:15,218 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-21 22:19:15,218 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 9 of 37 [2023-11-21 22:19:15,219 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-21 22:19:15,281 INFO L124 PetriNetUnfolderBase]: 15/55 cut-off events. [2023-11-21 22:19:15,281 INFO L125 PetriNetUnfolderBase]: For 1/1 co-relation queries the response was YES. [2023-11-21 22:19:15,282 INFO L83 FinitePrefix]: Finished finitePrefix Result has 107 conditions, 55 events. 15/55 cut-off events. For 1/1 co-relation queries the response was YES. Maximal size of possible extension queue 7. Compared 138 event pairs, 15 based on Foata normal form. 2/51 useless extension candidates. Maximal degree in co-relation 85. Up to 43 conditions per place. [2023-11-21 22:19:15,283 INFO L140 encePairwiseOnDemand]: 30/37 looper letters, 8 selfloop transitions, 2 changer transitions 7/21 dead transitions. [2023-11-21 22:19:15,284 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 27 places, 21 transitions, 80 flow [2023-11-21 22:19:15,285 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-21 22:19:15,288 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-11-21 22:19:15,295 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 46 transitions. [2023-11-21 22:19:15,297 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.4144144144144144 [2023-11-21 22:19:15,321 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 46 transitions. [2023-11-21 22:19:15,322 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 46 transitions. [2023-11-21 22:19:15,323 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-21 22:19:15,326 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 46 transitions. [2023-11-21 22:19:15,329 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 15.333333333333334) internal successors, (46), 3 states have internal predecessors, (46), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-21 22:19:15,333 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 37.0) internal successors, (148), 4 states have internal predecessors, (148), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-21 22:19:15,333 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 37.0) internal successors, (148), 4 states have internal predecessors, (148), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-21 22:19:15,335 INFO L175 Difference]: Start difference. First operand has 31 places, 28 transitions, 62 flow. Second operand 3 states and 46 transitions. [2023-11-21 22:19:15,337 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 27 places, 21 transitions, 80 flow [2023-11-21 22:19:15,340 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 25 places, 21 transitions, 76 flow, removed 0 selfloop flow, removed 2 redundant places. [2023-11-21 22:19:15,342 INFO L231 Difference]: Finished difference. Result has 25 places, 14 transitions, 33 flow [2023-11-21 22:19:15,344 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=37, PETRI_DIFFERENCE_MINUEND_FLOW=44, PETRI_DIFFERENCE_MINUEND_PLACES=23, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=21, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=19, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=33, PETRI_PLACES=25, PETRI_TRANSITIONS=14} [2023-11-21 22:19:15,348 INFO L281 CegarLoopForPetriNet]: 31 programPoint places, -6 predicate places. [2023-11-21 22:19:15,349 INFO L495 AbstractCegarLoop]: Abstraction has has 25 places, 14 transitions, 33 flow [2023-11-21 22:19:15,349 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 9.666666666666666) internal successors, (29), 3 states have internal predecessors, (29), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-21 22:19:15,349 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-21 22:19:15,350 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1] [2023-11-21 22:19:15,350 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2023-11-21 22:19:15,350 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1ASSERT_VIOLATIONERROR_FUNCTION === [ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr2ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr1ASSERT_VIOLATIONERROR_FUNCTION (and 2 more)] === [2023-11-21 22:19:15,351 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-21 22:19:15,351 INFO L85 PathProgramCache]: Analyzing trace with hash 1560698957, now seen corresponding path program 1 times [2023-11-21 22:19:15,352 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-21 22:19:15,352 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [411970251] [2023-11-21 22:19:15,352 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-21 22:19:15,352 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-21 22:19:15,392 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-21 22:19:15,517 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-21 22:19:15,517 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-21 22:19:15,518 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [411970251] [2023-11-21 22:19:15,518 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [411970251] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-21 22:19:15,518 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-21 22:19:15,519 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2023-11-21 22:19:15,519 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1292092062] [2023-11-21 22:19:15,519 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-21 22:19:15,520 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-21 22:19:15,521 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-21 22:19:15,522 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-21 22:19:15,522 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-21 22:19:15,525 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 13 out of 37 [2023-11-21 22:19:15,526 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 25 places, 14 transitions, 33 flow. Second operand has 3 states, 3 states have (on average 15.333333333333334) internal successors, (46), 3 states have internal predecessors, (46), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-21 22:19:15,526 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-21 22:19:15,526 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 13 of 37 [2023-11-21 22:19:15,526 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-21 22:19:15,571 INFO L124 PetriNetUnfolderBase]: 9/36 cut-off events. [2023-11-21 22:19:15,572 INFO L125 PetriNetUnfolderBase]: For 1/1 co-relation queries the response was YES. [2023-11-21 22:19:15,573 INFO L83 FinitePrefix]: Finished finitePrefix Result has 75 conditions, 36 events. 9/36 cut-off events. For 1/1 co-relation queries the response was YES. Maximal size of possible extension queue 5. Compared 68 event pairs, 6 based on Foata normal form. 5/40 useless extension candidates. Maximal degree in co-relation 65. Up to 26 conditions per place. [2023-11-21 22:19:15,573 INFO L140 encePairwiseOnDemand]: 34/37 looper letters, 10 selfloop transitions, 2 changer transitions 3/18 dead transitions. [2023-11-21 22:19:15,573 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 20 places, 18 transitions, 71 flow [2023-11-21 22:19:15,574 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-21 22:19:15,574 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-11-21 22:19:15,575 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 55 transitions. [2023-11-21 22:19:15,576 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.4954954954954955 [2023-11-21 22:19:15,576 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 55 transitions. [2023-11-21 22:19:15,576 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 55 transitions. [2023-11-21 22:19:15,577 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-21 22:19:15,577 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 55 transitions. [2023-11-21 22:19:15,578 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 18.333333333333332) internal successors, (55), 3 states have internal predecessors, (55), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-21 22:19:15,580 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 37.0) internal successors, (148), 4 states have internal predecessors, (148), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-21 22:19:15,580 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 37.0) internal successors, (148), 4 states have internal predecessors, (148), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-21 22:19:15,581 INFO L175 Difference]: Start difference. First operand has 25 places, 14 transitions, 33 flow. Second operand 3 states and 55 transitions. [2023-11-21 22:19:15,581 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 20 places, 18 transitions, 71 flow [2023-11-21 22:19:15,581 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 18 places, 18 transitions, 67 flow, removed 0 selfloop flow, removed 2 redundant places. [2023-11-21 22:19:15,583 INFO L231 Difference]: Finished difference. Result has 19 places, 14 transitions, 37 flow [2023-11-21 22:19:15,583 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=37, PETRI_DIFFERENCE_MINUEND_FLOW=29, PETRI_DIFFERENCE_MINUEND_PLACES=16, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=14, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=12, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=37, PETRI_PLACES=19, PETRI_TRANSITIONS=14} [2023-11-21 22:19:15,584 INFO L281 CegarLoopForPetriNet]: 31 programPoint places, -12 predicate places. [2023-11-21 22:19:15,584 INFO L495 AbstractCegarLoop]: Abstraction has has 19 places, 14 transitions, 37 flow [2023-11-21 22:19:15,585 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 15.333333333333334) internal successors, (46), 3 states have internal predecessors, (46), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-21 22:19:15,585 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-21 22:19:15,585 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2023-11-21 22:19:15,585 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2023-11-21 22:19:15,586 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr1ASSERT_VIOLATIONERROR_FUNCTION === [ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr2ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr1ASSERT_VIOLATIONERROR_FUNCTION (and 2 more)] === [2023-11-21 22:19:15,586 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-21 22:19:15,587 INFO L85 PathProgramCache]: Analyzing trace with hash 968689017, now seen corresponding path program 1 times [2023-11-21 22:19:15,587 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-21 22:19:15,587 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [878161120] [2023-11-21 22:19:15,588 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-21 22:19:15,588 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-21 22:19:15,628 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-21 22:19:15,628 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-21 22:19:15,643 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-21 22:19:15,682 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-11-21 22:19:15,683 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-11-21 22:19:15,684 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr1ASSERT_VIOLATIONERROR_FUNCTION (4 of 5 remaining) [2023-11-21 22:19:15,687 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION (3 of 5 remaining) [2023-11-21 22:19:15,688 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr2ASSERT_VIOLATIONERROR_FUNCTION (2 of 5 remaining) [2023-11-21 22:19:15,688 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr3ASSERT_VIOLATIONERROR_FUNCTION (1 of 5 remaining) [2023-11-21 22:19:15,688 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 5 remaining) [2023-11-21 22:19:15,689 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2 [2023-11-21 22:19:15,689 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1, 1] [2023-11-21 22:19:15,695 INFO L228 ceAbstractionStarter]: Analysis of concurrent program completed with 1 thread instances [2023-11-21 22:19:15,695 INFO L178 ceAbstractionStarter]: Computing trace abstraction results [2023-11-21 22:19:15,721 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~pre34 could not be translated [2023-11-21 22:19:15,732 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 21.11 10:19:15 BasicIcfg [2023-11-21 22:19:15,732 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2023-11-21 22:19:15,733 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2023-11-21 22:19:15,733 INFO L270 PluginConnector]: Initializing Witness Printer... [2023-11-21 22:19:15,733 INFO L274 PluginConnector]: Witness Printer initialized [2023-11-21 22:19:15,734 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 21.11 10:19:14" (3/4) ... [2023-11-21 22:19:15,735 INFO L131 WitnessPrinter]: Generating witness for reachability counterexample [2023-11-21 22:19:15,743 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~pre34 could not be translated [2023-11-21 22:19:15,784 INFO L149 WitnessManager]: Wrote witness to /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b94cf547-fa7d-4ba9-a7ed-097570e89272/bin/uautomizer-verify-bycVGegfSx/witness.graphml [2023-11-21 22:19:15,785 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2023-11-21 22:19:15,786 INFO L158 Benchmark]: Toolchain (without parser) took 3708.35ms. Allocated memory was 151.0MB in the beginning and 186.6MB in the end (delta: 35.7MB). Free memory was 115.6MB in the beginning and 105.1MB in the end (delta: 10.5MB). Peak memory consumption was 48.5MB. Max. memory is 16.1GB. [2023-11-21 22:19:15,786 INFO L158 Benchmark]: CDTParser took 0.21ms. Allocated memory is still 115.3MB. Free memory is still 67.4MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-21 22:19:15,787 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1255.96ms. Allocated memory is still 151.0MB. Free memory was 115.6MB in the beginning and 97.9MB in the end (delta: 17.7MB). Peak memory consumption was 47.1MB. Max. memory is 16.1GB. [2023-11-21 22:19:15,787 INFO L158 Benchmark]: Boogie Procedure Inliner took 87.08ms. Allocated memory is still 151.0MB. Free memory was 97.9MB in the beginning and 95.0MB in the end (delta: 2.9MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-21 22:19:15,788 INFO L158 Benchmark]: Boogie Preprocessor took 68.94ms. Allocated memory is still 151.0MB. Free memory was 95.0MB in the beginning and 91.0MB in the end (delta: 4.0MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2023-11-21 22:19:15,789 INFO L158 Benchmark]: RCFGBuilder took 940.72ms. Allocated memory is still 151.0MB. Free memory was 91.0MB in the beginning and 105.0MB in the end (delta: -14.0MB). Peak memory consumption was 30.4MB. Max. memory is 16.1GB. [2023-11-21 22:19:15,789 INFO L158 Benchmark]: TraceAbstraction took 1296.80ms. Allocated memory was 151.0MB in the beginning and 186.6MB in the end (delta: 35.7MB). Free memory was 103.7MB in the beginning and 107.2MB in the end (delta: -3.5MB). Peak memory consumption was 31.8MB. Max. memory is 16.1GB. [2023-11-21 22:19:15,790 INFO L158 Benchmark]: Witness Printer took 52.03ms. Allocated memory is still 186.6MB. Free memory was 107.2MB in the beginning and 105.1MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-21 22:19:15,793 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.21ms. Allocated memory is still 115.3MB. Free memory is still 67.4MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1255.96ms. Allocated memory is still 151.0MB. Free memory was 115.6MB in the beginning and 97.9MB in the end (delta: 17.7MB). Peak memory consumption was 47.1MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 87.08ms. Allocated memory is still 151.0MB. Free memory was 97.9MB in the beginning and 95.0MB in the end (delta: 2.9MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 68.94ms. Allocated memory is still 151.0MB. Free memory was 95.0MB in the beginning and 91.0MB in the end (delta: 4.0MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * RCFGBuilder took 940.72ms. Allocated memory is still 151.0MB. Free memory was 91.0MB in the beginning and 105.0MB in the end (delta: -14.0MB). Peak memory consumption was 30.4MB. Max. memory is 16.1GB. * TraceAbstraction took 1296.80ms. Allocated memory was 151.0MB in the beginning and 186.6MB in the end (delta: 35.7MB). Free memory was 103.7MB in the beginning and 107.2MB in the end (delta: -3.5MB). Peak memory consumption was 31.8MB. Max. memory is 16.1GB. * Witness Printer took 52.03ms. Allocated memory is still 186.6MB. Free memory was 107.2MB in the beginning and 105.1MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: IdentifierExpression #t~pre34 could not be translated - GenericResult: Unfinished Backtranslation The program execution was not completely translated back. - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: IdentifierExpression #t~pre34 could not be translated - GenericResult: Unfinished Backtranslation The program execution was not completely translated back. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - CounterExampleResult [Line: 1695]: a call to reach_error is reachable a call to reach_error is reachable We found a FailurePath: [L1696] 0 pthread_t t1; [L1696] 0 pthread_t t1; [L1697] 0 pthread_mutex_t mutex; [L1697] 0 pthread_mutex_t mutex; [L1697] 0 pthread_mutex_t mutex; [L1697] 0 pthread_mutex_t mutex; [L1697] 0 pthread_mutex_t mutex; [L1697] 0 pthread_mutex_t mutex; [L1698] 0 int pdev; [L1734] CALL 0 module_init() [L1709] 0 pdev = 1 [L1710] CALL 0 ldv_assert(pdev==1) [L1695] COND FALSE 0 !(!expression) VAL [\old(expression)=1, expression=1, mutex={4:0}, pdev=1, t1={3:0}] [L1710] RET 0 ldv_assert(pdev==1) [L1711] COND TRUE 0 __VERIFIER_nondet_int() [L1712] FCALL, FORK 0 pthread_create(&t1, ((void *)0), thread1, ((void *)0)) VAL [arg={0:0}, mutex={4:0}, pdev=1, t1={3:0}] [L1714] 0 pdev = 2 VAL [arg={0:0}, arg={0:0}, mutex={4:0}, pdev=2, t1={3:0}] [L1702] 1 pdev = 6 VAL [arg={0:0}, arg={0:0}, mutex={4:0}, pdev=6, t1={3:0}] [L1717] CALL 0 ldv_assert(pdev==2) [L1695] COND TRUE 0 !expression [L1695] 0 reach_error() VAL [\old(expression)=0, arg={0:0}, arg={0:0}, expression=0, mutex={4:0}, pdev=6, t1={3:0}] - UnprovableResult [Line: 1695]: Unable to prove that a call to reach_error is unreachable Unable to prove that a call to reach_error is unreachable Reason: Not analyzed. - UnprovableResult [Line: 1695]: Unable to prove that a call to reach_error is unreachable Unable to prove that a call to reach_error is unreachable Reason: Not analyzed. - UnprovableResult [Line: 1695]: Unable to prove that a call to reach_error is unreachable Unable to prove that a call to reach_error is unreachable Reason: Not analyzed. - UnprovableResult [Line: 1712]: Unable to prove that petrification did provide enough thread instances (tool internal message) Unable to prove that petrification did provide enough thread instances (tool internal message) Reason: Not analyzed. - StatisticsResult: Ultimate Automizer benchmark data with 1 thread instances CFG has 3 procedures, 41 locations, 5 error locations. Started 1 CEGAR loops. EmptinessCheckTime: 0.0s, RemoveRedundantFlowTime: 0.0s, RemoveRedundantFlowUnfoldingTime: 0.0s, BackfoldingTime: 0.0s, BackfoldingUnfoldingTime: 0.0s, FlowIncreaseByBackfolding: 0, BasicCegarLoop: OverallTime: 1.1s, OverallIterations: 3, TraceHistogramMax: 1, PathProgramHistogramMax: 1, EmptinessCheckTime: 0.0s, AutomataDifference: 0.2s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.1s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 19 SdHoareTripleChecker+Valid, 0.1s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 5 mSDsluCounter, 8 SdHoareTripleChecker+Invalid, 0.1s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 0 mSDsCounter, 7 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 54 IncrementalHoareTripleChecker+Invalid, 61 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 7 mSolverCounterUnsat, 8 mSDtfsCounter, 54 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 4 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 2 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=62occurred in iteration=0, InterpolantAutomatonStates: 6, 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.4s InterpolantComputationTime, 23 NumberOfCodeBlocks, 23 NumberOfCodeBlocksAsserted, 3 NumberOfCheckSat, 9 ConstructedInterpolants, 0 QuantifiedInterpolants, 14 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 2 InterpolantComputations, 2 PerfectInterpolantSequences, 0/0 InterpolantCoveringCapability, INVARIANT_SYNTHESIS: No data available, INTERPOLANT_CONSOLIDATION: No data available, ABSTRACT_INTERPRETATION: No data available, PDR: No data available, ACCELERATED_INTERPOLATION: No data available, SIFA: No data available, ReuseStatistics: No data available RESULT: Ultimate proved your program to be incorrect! [2023-11-21 22:19:15,833 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b94cf547-fa7d-4ba9-a7ed-097570e89272/bin/uautomizer-verify-bycVGegfSx/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 Writing output log to file Ultimate.log Writing human readable error path to file UltimateCounterExample.errorpath Result: FALSE