./Ultimate.py --spec ../../sv-benchmarks/c/properties/valid-memsafety.prp --file ../../sv-benchmarks/c/pthread/stateful01-1.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) Using default analysis Version a0165632 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_f6096ceb-2c74-49e5-963d-0a2d8eb29a46/bin/utaipan-verify-YMUCfTKeje/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6096ceb-2c74-49e5-963d-0a2d8eb29a46/bin/utaipan-verify-YMUCfTKeje/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6096ceb-2c74-49e5-963d-0a2d8eb29a46/bin/utaipan-verify-YMUCfTKeje/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6096ceb-2c74-49e5-963d-0a2d8eb29a46/bin/utaipan-verify-YMUCfTKeje/config/TaipanMemDerefMemtrack.xml -i ../../sv-benchmarks/c/pthread/stateful01-1.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6096ceb-2c74-49e5-963d-0a2d8eb29a46/bin/utaipan-verify-YMUCfTKeje/config/svcomp-DerefFreeMemtrack-32bit-Taipan_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6096ceb-2c74-49e5-963d-0a2d8eb29a46/bin/utaipan-verify-YMUCfTKeje --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) --witnessprinter.graph.data.producer Taipan --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 4f746010868b331b940ee2293ff3d78b9aa516b26fde95d84f76493b23741d03 --- Real Ultimate output --- This is Ultimate 0.2.5-dev-a016563 [2024-11-09 05:38:02,856 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-09 05:38:02,957 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6096ceb-2c74-49e5-963d-0a2d8eb29a46/bin/utaipan-verify-YMUCfTKeje/config/svcomp-DerefFreeMemtrack-32bit-Taipan_Default.epf [2024-11-09 05:38:02,966 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-09 05:38:02,967 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-11-09 05:38:03,003 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-09 05:38:03,003 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-11-09 05:38:03,004 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-11-09 05:38:03,005 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-09 05:38:03,006 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-11-09 05:38:03,006 INFO L153 SettingsManager]: * User list type=DISABLED [2024-11-09 05:38:03,007 INFO L151 SettingsManager]: Preferences of Abstract Interpretation differ from their defaults: [2024-11-09 05:38:03,007 INFO L153 SettingsManager]: * Explicit value domain=true [2024-11-09 05:38:03,008 INFO L153 SettingsManager]: * Abstract domain for RCFG-of-the-future=PoormanAbstractDomain [2024-11-09 05:38:03,009 INFO L153 SettingsManager]: * Octagon Domain=false [2024-11-09 05:38:03,009 INFO L153 SettingsManager]: * Abstract domain=CompoundDomain [2024-11-09 05:38:03,010 INFO L153 SettingsManager]: * Check feasibility of abstract posts with an SMT solver=true [2024-11-09 05:38:03,010 INFO L153 SettingsManager]: * Use the RCFG-of-the-future interface=true [2024-11-09 05:38:03,011 INFO L153 SettingsManager]: * Interval Domain=false [2024-11-09 05:38:03,012 INFO L151 SettingsManager]: Preferences of Sifa differ from their defaults: [2024-11-09 05:38:03,012 INFO L153 SettingsManager]: * Call Summarizer=TopInputCallSummarizer [2024-11-09 05:38:03,013 INFO L153 SettingsManager]: * Simplification Technique=POLY_PAC [2024-11-09 05:38:03,014 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-09 05:38:03,014 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-09 05:38:03,015 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-09 05:38:03,016 INFO L153 SettingsManager]: * sizeof long=4 [2024-11-09 05:38:03,016 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-09 05:38:03,017 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-11-09 05:38:03,017 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-09 05:38:03,018 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2024-11-09 05:38:03,018 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2024-11-09 05:38:03,019 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2024-11-09 05:38:03,019 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-09 05:38:03,020 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-09 05:38:03,020 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-09 05:38:03,021 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-09 05:38:03,022 INFO L153 SettingsManager]: * sizeof long double=12 [2024-11-09 05:38:03,022 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-09 05:38:03,023 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-09 05:38:03,023 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-11-09 05:38:03,024 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-11-09 05:38:03,025 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2024-11-09 05:38:03,026 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-09 05:38:03,026 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-09 05:38:03,026 INFO L153 SettingsManager]: * Trace refinement strategy=SIFA_TAIPAN [2024-11-09 05:38:03,027 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-09 05:38:03,027 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-11-09 05:38:03,028 INFO L153 SettingsManager]: * Trace refinement exception blacklist=NONE [2024-11-09 05:38:03,028 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-11-09 05:38:03,028 INFO L153 SettingsManager]: * Abstract interpretation Mode=USE_PREDICATES 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_f6096ceb-2c74-49e5-963d-0a2d8eb29a46/bin/utaipan-verify-YMUCfTKeje/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_f6096ceb-2c74-49e5-963d-0a2d8eb29a46/bin/utaipan-verify-YMUCfTKeje 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 valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Taipan 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 -> 4f746010868b331b940ee2293ff3d78b9aa516b26fde95d84f76493b23741d03 [2024-11-09 05:38:03,431 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-09 05:38:03,476 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-09 05:38:03,479 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-09 05:38:03,480 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-09 05:38:03,481 INFO L274 PluginConnector]: CDTParser initialized [2024-11-09 05:38:03,482 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6096ceb-2c74-49e5-963d-0a2d8eb29a46/bin/utaipan-verify-YMUCfTKeje/../../sv-benchmarks/c/pthread/stateful01-1.i Unable to find full path for "g++" [2024-11-09 05:38:05,533 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-09 05:38:05,833 INFO L384 CDTParser]: Found 1 translation units. [2024-11-09 05:38:05,833 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6096ceb-2c74-49e5-963d-0a2d8eb29a46/sv-benchmarks/c/pthread/stateful01-1.i [2024-11-09 05:38:05,859 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6096ceb-2c74-49e5-963d-0a2d8eb29a46/bin/utaipan-verify-YMUCfTKeje/data/a963a0938/a7df3486815347238a41994c293d4f03/FLAG30b48d5ae [2024-11-09 05:38:05,884 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6096ceb-2c74-49e5-963d-0a2d8eb29a46/bin/utaipan-verify-YMUCfTKeje/data/a963a0938/a7df3486815347238a41994c293d4f03 [2024-11-09 05:38:05,887 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-09 05:38:05,889 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-09 05:38:05,920 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-09 05:38:05,922 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-09 05:38:05,933 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-09 05:38:05,938 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 09.11 05:38:05" (1/1) ... [2024-11-09 05:38:05,939 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@5756149f and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 05:38:05, skipping insertion in model container [2024-11-09 05:38:05,939 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 09.11 05:38:05" (1/1) ... [2024-11-09 05:38:05,998 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-09 05:38:06,536 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-09 05:38:06,557 INFO L200 MainTranslator]: Completed pre-run [2024-11-09 05:38:06,608 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-09 05:38:06,658 INFO L204 MainTranslator]: Completed translation [2024-11-09 05:38:06,659 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 05:38:06 WrapperNode [2024-11-09 05:38:06,659 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-09 05:38:06,660 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-09 05:38:06,661 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-09 05:38:06,661 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-09 05:38:06,670 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 05:38:06" (1/1) ... [2024-11-09 05:38:06,686 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 05:38:06" (1/1) ... [2024-11-09 05:38:06,710 INFO L138 Inliner]: procedures = 168, calls = 29, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 52 [2024-11-09 05:38:06,710 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-09 05:38:06,711 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-09 05:38:06,712 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-09 05:38:06,712 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-09 05:38:06,724 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 05:38:06" (1/1) ... [2024-11-09 05:38:06,724 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 05:38:06" (1/1) ... [2024-11-09 05:38:06,727 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 05:38:06" (1/1) ... [2024-11-09 05:38:06,728 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 05:38:06" (1/1) ... [2024-11-09 05:38:06,735 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 05:38:06" (1/1) ... [2024-11-09 05:38:06,741 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 05:38:06" (1/1) ... [2024-11-09 05:38:06,743 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 05:38:06" (1/1) ... [2024-11-09 05:38:06,745 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 05:38:06" (1/1) ... [2024-11-09 05:38:06,747 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-09 05:38:06,749 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-09 05:38:06,749 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-09 05:38:06,749 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-09 05:38:06,750 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 05:38:06" (1/1) ... [2024-11-09 05:38:06,759 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2024-11-09 05:38:06,775 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6096ceb-2c74-49e5-963d-0a2d8eb29a46/bin/utaipan-verify-YMUCfTKeje/z3 [2024-11-09 05:38:06,789 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6096ceb-2c74-49e5-963d-0a2d8eb29a46/bin/utaipan-verify-YMUCfTKeje/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) [2024-11-09 05:38:06,796 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6096ceb-2c74-49e5-963d-0a2d8eb29a46/bin/utaipan-verify-YMUCfTKeje/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Waiting until timeout for monitored process [2024-11-09 05:38:06,837 INFO L130 BoogieDeclarations]: Found specification of procedure thread1 [2024-11-09 05:38:06,837 INFO L138 BoogieDeclarations]: Found implementation of procedure thread1 [2024-11-09 05:38:06,837 INFO L130 BoogieDeclarations]: Found specification of procedure thread2 [2024-11-09 05:38:06,837 INFO L138 BoogieDeclarations]: Found implementation of procedure thread2 [2024-11-09 05:38:06,837 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2024-11-09 05:38:06,838 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-09 05:38:06,838 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2024-11-09 05:38:06,838 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexUnlock [2024-11-09 05:38:06,838 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-09 05:38:06,838 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-09 05:38:06,843 WARN L207 CfgBuilder]: User set CodeBlockSize to LoopFreeBlock but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement. [2024-11-09 05:38:07,034 INFO L238 CfgBuilder]: Building ICFG [2024-11-09 05:38:07,038 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-09 05:38:07,243 INFO L283 CfgBuilder]: Omitted future-live optimization because the input is a concurrent program. [2024-11-09 05:38:07,243 INFO L287 CfgBuilder]: Performing block encoding [2024-11-09 05:38:07,434 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-09 05:38:07,435 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-09 05:38:07,435 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 09.11 05:38:07 BoogieIcfgContainer [2024-11-09 05:38:07,435 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-09 05:38:07,438 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2024-11-09 05:38:07,438 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2024-11-09 05:38:07,441 INFO L274 PluginConnector]: TraceAbstraction initialized [2024-11-09 05:38:07,442 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 09.11 05:38:05" (1/3) ... [2024-11-09 05:38:07,443 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@1fac1ee0 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 09.11 05:38:07, skipping insertion in model container [2024-11-09 05:38:07,443 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 05:38:06" (2/3) ... [2024-11-09 05:38:07,443 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@1fac1ee0 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 09.11 05:38:07, skipping insertion in model container [2024-11-09 05:38:07,443 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 09.11 05:38:07" (3/3) ... [2024-11-09 05:38:07,445 INFO L112 eAbstractionObserver]: Analyzing ICFG stateful01-1.i [2024-11-09 05:38:07,466 INFO L214 ceAbstractionStarter]: Automizer settings: Hoare:None NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2024-11-09 05:38:07,466 INFO L154 ceAbstractionStarter]: Applying trace abstraction to program that has 2 error locations. [2024-11-09 05:38:07,466 INFO L489 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2024-11-09 05:38:07,528 INFO L143 ThreadInstanceAdder]: Constructed 2 joinOtherThreadTransitions. [2024-11-09 05:38:07,564 INFO L113 iNet2FiniteAutomaton]: Start petriNet2FiniteAutomaton. Operand has 42 places, 37 transitions, 88 flow [2024-11-09 05:38:07,616 INFO L135 iNet2FiniteAutomaton]: Finished petriNet2FiniteAutomaton. Result has 240 states, 238 states have (on average 2.222689075630252) internal successors, (529), 239 states have internal predecessors, (529), 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-11-09 05:38:07,647 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-11-09 05:38:07,654 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=FINITE_AUTOMATA, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=None, 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;@7ab28fd6, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-11-09 05:38:07,655 INFO L334 AbstractCegarLoop]: Starting to check reachability of 4 error locations. [2024-11-09 05:38:07,659 INFO L276 IsEmpty]: Start isEmpty. Operand has 240 states, 238 states have (on average 2.222689075630252) internal successors, (529), 239 states have internal predecessors, (529), 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-11-09 05:38:07,673 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 29 [2024-11-09 05:38:07,674 INFO L207 NwaCegarLoop]: Found error trace [2024-11-09 05:38:07,675 INFO L215 NwaCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-11-09 05:38:07,676 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr1ASSERT_VIOLATIONMEMORY_LEAK === [ULTIMATE.startErr1ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 1 more)] === [2024-11-09 05:38:07,681 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-09 05:38:07,681 INFO L85 PathProgramCache]: Analyzing trace with hash 937070247, now seen corresponding path program 1 times [2024-11-09 05:38:07,692 INFO L118 FreeRefinementEngine]: Executing refinement strategy SIFA_TAIPAN [2024-11-09 05:38:07,693 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1452648426] [2024-11-09 05:38:07,693 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-09 05:38:07,694 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-09 05:38:07,892 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 05:38:08,145 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-09 05:38:08,146 INFO L136 FreeRefinementEngine]: Strategy SIFA_TAIPAN found an infeasible trace [2024-11-09 05:38:08,146 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1452648426] [2024-11-09 05:38:08,148 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1452648426] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-09 05:38:08,148 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-09 05:38:08,149 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2024-11-09 05:38:08,151 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1503373056] [2024-11-09 05:38:08,151 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-09 05:38:08,156 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-11-09 05:38:08,157 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy SIFA_TAIPAN [2024-11-09 05:38:08,187 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-09 05:38:08,187 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-09 05:38:08,191 INFO L87 Difference]: Start difference. First operand has 240 states, 238 states have (on average 2.222689075630252) internal successors, (529), 239 states have internal predecessors, (529), 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) Second operand has 3 states, 2 states have (on average 14.0) internal successors, (28), 2 states have internal predecessors, (28), 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-11-09 05:38:08,268 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2024-11-09 05:38:08,268 INFO L93 Difference]: Finished difference Result 242 states and 531 transitions. [2024-11-09 05:38:08,271 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-11-09 05:38:08,273 INFO L78 Accepts]: Start accepts. Automaton has has 3 states, 2 states have (on average 14.0) internal successors, (28), 2 states have internal predecessors, (28), 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) Word has length 28 [2024-11-09 05:38:08,273 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2024-11-09 05:38:08,289 INFO L225 Difference]: With dead ends: 242 [2024-11-09 05:38:08,289 INFO L226 Difference]: Without dead ends: 236 [2024-11-09 05:38:08,293 INFO L431 NwaCegarLoop]: 0 DeclaredPredicates, 1 GetRequests, 0 SyntacticMatches, 0 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-09 05:38:08,298 INFO L432 NwaCegarLoop]: 8 mSDtfsCounter, 3 mSDsluCounter, 0 mSDsCounter, 0 mSdLazyCounter, 22 mSolverCounterSat, 0 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.0s Time, 0 mProtectedPredicate, 0 mProtectedAction, 3 SdHoareTripleChecker+Valid, 8 SdHoareTripleChecker+Invalid, 22 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Valid, 22 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.1s IncrementalHoareTripleChecker+Time [2024-11-09 05:38:08,299 INFO L433 NwaCegarLoop]: SdHoareTripleChecker [3 Valid, 8 Invalid, 22 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [0 Valid, 22 Invalid, 0 Unknown, 0 Unchecked, 0.1s Time] [2024-11-09 05:38:08,320 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 236 states. [2024-11-09 05:38:08,361 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 236 to 236. [2024-11-09 05:38:08,364 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 236 states, 235 states have (on average 2.225531914893617) internal successors, (523), 235 states have internal predecessors, (523), 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-11-09 05:38:08,373 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 236 states to 236 states and 523 transitions. [2024-11-09 05:38:08,375 INFO L78 Accepts]: Start accepts. Automaton has 236 states and 523 transitions. Word has length 28 [2024-11-09 05:38:08,375 INFO L84 Accepts]: Finished accepts. word is rejected. [2024-11-09 05:38:08,375 INFO L471 AbstractCegarLoop]: Abstraction has 236 states and 523 transitions. [2024-11-09 05:38:08,376 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 2 states have (on average 14.0) internal successors, (28), 2 states have internal predecessors, (28), 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-11-09 05:38:08,378 INFO L276 IsEmpty]: Start isEmpty. Operand 236 states and 523 transitions. [2024-11-09 05:38:08,380 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 29 [2024-11-09 05:38:08,380 INFO L207 NwaCegarLoop]: Found error trace [2024-11-09 05:38:08,381 INFO L215 NwaCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-11-09 05:38:08,381 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2024-11-09 05:38:08,381 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK === [ULTIMATE.startErr1ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 1 more)] === [2024-11-09 05:38:08,382 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-09 05:38:08,382 INFO L85 PathProgramCache]: Analyzing trace with hash 937071432, now seen corresponding path program 1 times [2024-11-09 05:38:08,382 INFO L118 FreeRefinementEngine]: Executing refinement strategy SIFA_TAIPAN [2024-11-09 05:38:08,382 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [746130074] [2024-11-09 05:38:08,383 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-09 05:38:08,383 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-09 05:38:08,440 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-09 05:38:08,441 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-09 05:38:08,486 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-09 05:38:08,542 INFO L130 FreeRefinementEngine]: Strategy SIFA_TAIPAN found a feasible trace [2024-11-09 05:38:08,542 INFO L325 BasicCegarLoop]: Counterexample is feasible [2024-11-09 05:38:08,548 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK (3 of 4 remaining) [2024-11-09 05:38:08,550 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1ASSERT_VIOLATIONMEMORY_LEAK (2 of 4 remaining) [2024-11-09 05:38:08,550 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (1 of 4 remaining) [2024-11-09 05:38:08,550 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 4 remaining) [2024-11-09 05:38:08,551 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2024-11-09 05:38:08,554 INFO L407 BasicCegarLoop]: Path program histogram: [1, 1] [2024-11-09 05:38:08,610 INFO L239 ceAbstractionStarter]: Analysis of concurrent program completed with 1 thread instances [2024-11-09 05:38:08,610 INFO L170 ceAbstractionStarter]: Computing trace abstraction results [2024-11-09 05:38:08,616 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 09.11 05:38:08 BasicIcfg [2024-11-09 05:38:08,617 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2024-11-09 05:38:08,618 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-09 05:38:08,618 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-09 05:38:08,618 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-09 05:38:08,619 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 09.11 05:38:07" (3/4) ... [2024-11-09 05:38:08,622 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-09 05:38:08,623 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-09 05:38:08,625 INFO L158 Benchmark]: Toolchain (without parser) took 2734.47ms. Allocated memory was 125.8MB in the beginning and 167.8MB in the end (delta: 41.9MB). Free memory was 62.2MB in the beginning and 128.2MB in the end (delta: -65.9MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-09 05:38:08,626 INFO L158 Benchmark]: CDTParser took 0.33ms. Allocated memory is still 125.8MB. Free memory is still 100.3MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-09 05:38:08,627 INFO L158 Benchmark]: CACSL2BoogieTranslator took 739.32ms. Allocated memory is still 167.8MB. Free memory was 140.3MB in the beginning and 121.7MB in the end (delta: 18.6MB). Peak memory consumption was 19.1MB. Max. memory is 16.1GB. [2024-11-09 05:38:08,627 INFO L158 Benchmark]: Boogie Procedure Inliner took 50.31ms. Allocated memory is still 167.8MB. Free memory was 121.7MB in the beginning and 119.6MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-09 05:38:08,628 INFO L158 Benchmark]: Boogie Preprocessor took 36.47ms. Allocated memory is still 167.8MB. Free memory was 119.6MB in the beginning and 118.3MB in the end (delta: 1.3MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-09 05:38:08,628 INFO L158 Benchmark]: RCFGBuilder took 686.83ms. Allocated memory is still 167.8MB. Free memory was 117.5MB in the beginning and 113.4MB in the end (delta: 4.1MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-11-09 05:38:08,629 INFO L158 Benchmark]: TraceAbstraction took 1179.01ms. Allocated memory is still 167.8MB. Free memory was 112.3MB in the beginning and 128.2MB in the end (delta: -15.9MB). Peak memory consumption was 54.2MB. Max. memory is 16.1GB. [2024-11-09 05:38:08,629 INFO L158 Benchmark]: Witness Printer took 5.08ms. Allocated memory is still 167.8MB. Free memory is still 128.2MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-09 05:38:08,635 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.33ms. Allocated memory is still 125.8MB. Free memory is still 100.3MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 739.32ms. Allocated memory is still 167.8MB. Free memory was 140.3MB in the beginning and 121.7MB in the end (delta: 18.6MB). Peak memory consumption was 19.1MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 50.31ms. Allocated memory is still 167.8MB. Free memory was 121.7MB in the beginning and 119.6MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 36.47ms. Allocated memory is still 167.8MB. Free memory was 119.6MB in the beginning and 118.3MB in the end (delta: 1.3MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 686.83ms. Allocated memory is still 167.8MB. Free memory was 117.5MB in the beginning and 113.4MB in the end (delta: 4.1MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * TraceAbstraction took 1179.01ms. Allocated memory is still 167.8MB. Free memory was 112.3MB in the beginning and 128.2MB in the end (delta: -15.9MB). Peak memory consumption was 54.2MB. Max. memory is 16.1GB. * Witness Printer took 5.08ms. Allocated memory is still 167.8MB. Free memory is still 128.2MB. There was no memory consumed. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - StatisticsResult: ErrorAutomatonStatistics NumberErrorTraces: 0, NumberStatementsAllTraces: 0, NumberRelevantStatements: 0, 0.0s ErrorAutomatonConstructionTimeTotal, 0.0s FaulLocalizationTime, NumberStatementsFirstTrace: -1, TraceLengthAvg: 0, 0.0s ErrorAutomatonConstructionTimeAvg, 0.0s ErrorAutomatonDifferenceTimeAvg, 0.0s ErrorAutomatonDifferenceTimeTotal, NumberOfNoEnhancement: 0, NumberOfFiniteEnhancement: 0, NumberOfInfiniteEnhancement: 0 - UnprovableResult [Line: 20]: Unable to prove that all allocated memory was freed Unable to prove that all allocated memory was freed Reason: overapproximation of memtrack at line 20. Possible FailurePath: [L692] 0 pthread_mutex_t ma, mb; [L693] 0 int data1, data2; [L716] 0 pthread_t t1, t2; [L719] 0 data1 = 10 [L720] 0 data2 = 10 [L721] FCALL, FORK 0 pthread_create(&t1, 0, thread1, 0) VAL [\old(arg)={0:0}, data1=10, data2=10, ma={3:0}, mb={4:0}, t1=-2] [L697] 1 data1++ VAL [\old(arg)={0:0}, arg={0:0}, data1=11, data2=10, ma={3:0}, mb={4:0}] [L700] 1 data2++ VAL [\old(arg)={0:0}, arg={0:0}, data1=11, data2=11, ma={3:0}, mb={4:0}] [L702] 1 return 0; [L722] FCALL, FORK 0 pthread_create(&t2, 0, thread2, 0) VAL [\old(arg)={0:0}, \old(arg)={0:0}, \result={0:0}, arg={0:0}, data1=11, data2=11, ma={3:0}, mb={4:0}, t1=-2, t2=-1] [L723] FCALL, JOIN 1 pthread_join(t1, 0) VAL [\old(arg)={0:0}, \old(arg)={0:0}, \result={0:0}, arg={0:0}, data1=11, data2=11, ma={3:0}, mb={4:0}, t1=-2, t2=-1] [L707] 2 data1+=5 VAL [\old(arg)={0:0}, \old(arg)={0:0}, \result={0:0}, arg={0:0}, arg={0:0}, data1=16, data2=11, ma={3:0}, mb={4:0}] [L710] 2 data2-=6 VAL [\old(arg)={0:0}, \old(arg)={0:0}, \result={0:0}, arg={0:0}, arg={0:0}, data1=16, data2=5, ma={3:0}, mb={4:0}] [L712] 2 return 0; [L724] FCALL, JOIN 2 pthread_join(t2, 0) VAL [\old(arg)={0:0}, \old(arg)={0:0}, \result={0:0}, \result={0:0}, arg={0:0}, arg={0:0}, data1=16, data2=5, ma={3:0}, mb={4:0}, t1=-2, t2=-1] [L725] COND TRUE 0 data1==16 && data2==5 [L727] CALL 0 reach_error() [L20] COND FALSE 0 !(0) VAL [\old(arg)={0:0}, \old(arg)={0:0}, \result={0:0}, \result={0:0}, arg={0:0}, arg={0:0}, data1=16, data2=5, ma={3:0}, mb={4:0}] [L20] 0 __assert_fail ("0", "stateful01-1.c", 3, __extension__ __PRETTY_FUNCTION__) VAL [\old(arg)={0:0}, \old(arg)={0:0}, \result={0:0}, \result={0:0}, arg={0:0}, arg={0:0}, data1=16, data2=5, ma={3:0}, mb={4:0}] - UnprovableResult [Line: 714]: Unable to prove that all allocated memory was freed Unable to prove that all allocated memory was freed Reason: Not analyzed. - UnprovableResult [Line: 722]: 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. - UnprovableResult [Line: 721]: 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 5 procedures, 58 locations, 4 error locations. Started 1 CEGAR loops. OverallTime: 1.0s, OverallIterations: 2, TraceHistogramMax: 1, PathProgramHistogramMax: 1, EmptinessCheckTime: 0.0s, AutomataDifference: 0.1s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.1s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 3 SdHoareTripleChecker+Valid, 0.1s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 3 mSDsluCounter, 8 SdHoareTripleChecker+Invalid, 0.0s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 0 mSDsCounter, 0 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 22 IncrementalHoareTripleChecker+Invalid, 22 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 0 mSolverCounterUnsat, 8 mSDtfsCounter, 22 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 1 GetRequests, 0 SyntacticMatches, 0 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=240occurred in iteration=0, InterpolantAutomatonStates: 3, traceCheckStatistics: No data available, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: 0.1s AutomataMinimizationTime, 1 MinimizatonAttempts, 0 StatesRemovedByMinimization, 0 NontrivialMinimizations, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TRACE_CHECK: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.3s InterpolantComputationTime, 56 NumberOfCodeBlocks, 56 NumberOfCodeBlocksAsserted, 2 NumberOfCheckSat, 27 ConstructedInterpolants, 0 QuantifiedInterpolants, 81 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 1 InterpolantComputations, 1 PerfectInterpolantSequences, 0/0 InterpolantCoveringCapability, INVARIANT_SYNTHESIS: No data available, INTERPOLANT_CONSOLIDATION: No data available, ABSTRACT_INTERPRETATION: No data available, PDR: No data available, ACCELERATED_INTERPOLATION: No data available, SIFA: No data available, ReuseStatistics: No data available RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2024-11-09 05:38:08,674 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6096ceb-2c74-49e5-963d-0a2d8eb29a46/bin/utaipan-verify-YMUCfTKeje/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 Using bit-precise analysis Retrying with bit-precise analysis ### Bit-precise run ### 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_f6096ceb-2c74-49e5-963d-0a2d8eb29a46/bin/utaipan-verify-YMUCfTKeje/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6096ceb-2c74-49e5-963d-0a2d8eb29a46/bin/utaipan-verify-YMUCfTKeje/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6096ceb-2c74-49e5-963d-0a2d8eb29a46/bin/utaipan-verify-YMUCfTKeje/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6096ceb-2c74-49e5-963d-0a2d8eb29a46/bin/utaipan-verify-YMUCfTKeje/config/TaipanMemDerefMemtrack.xml -i ../../sv-benchmarks/c/pthread/stateful01-1.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6096ceb-2c74-49e5-963d-0a2d8eb29a46/bin/utaipan-verify-YMUCfTKeje/config/svcomp-DerefFreeMemtrack-32bit-Taipan_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6096ceb-2c74-49e5-963d-0a2d8eb29a46/bin/utaipan-verify-YMUCfTKeje --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) --witnessprinter.graph.data.producer Taipan --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 4f746010868b331b940ee2293ff3d78b9aa516b26fde95d84f76493b23741d03 --- Real Ultimate output --- This is Ultimate 0.2.5-dev-a016563 [2024-11-09 05:38:11,235 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-09 05:38:11,343 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6096ceb-2c74-49e5-963d-0a2d8eb29a46/bin/utaipan-verify-YMUCfTKeje/config/svcomp-DerefFreeMemtrack-32bit-Taipan_Bitvector.epf [2024-11-09 05:38:11,351 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-09 05:38:11,352 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-11-09 05:38:11,396 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-09 05:38:11,397 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-11-09 05:38:11,397 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-11-09 05:38:11,398 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-09 05:38:11,400 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-11-09 05:38:11,400 INFO L153 SettingsManager]: * User list type=DISABLED [2024-11-09 05:38:11,401 INFO L151 SettingsManager]: Preferences of Abstract Interpretation differ from their defaults: [2024-11-09 05:38:11,401 INFO L153 SettingsManager]: * Explicit value domain=true [2024-11-09 05:38:11,402 INFO L153 SettingsManager]: * Octagon Domain=false [2024-11-09 05:38:11,402 INFO L153 SettingsManager]: * Abstract domain=CompoundDomain [2024-11-09 05:38:11,402 INFO L153 SettingsManager]: * Interval Domain=false [2024-11-09 05:38:11,405 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-09 05:38:11,408 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-09 05:38:11,408 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-09 05:38:11,408 INFO L153 SettingsManager]: * sizeof long=4 [2024-11-09 05:38:11,409 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-09 05:38:11,410 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-11-09 05:38:11,410 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-09 05:38:11,411 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2024-11-09 05:38:11,411 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2024-11-09 05:38:11,411 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2024-11-09 05:38:11,412 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-09 05:38:11,412 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-09 05:38:11,412 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-11-09 05:38:11,413 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-09 05:38:11,413 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-11-09 05:38:11,413 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-09 05:38:11,413 INFO L153 SettingsManager]: * sizeof long double=12 [2024-11-09 05:38:11,414 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-09 05:38:11,415 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-09 05:38:11,415 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-11-09 05:38:11,416 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-11-09 05:38:11,417 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-11-09 05:38:11,417 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2024-11-09 05:38:11,417 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-09 05:38:11,417 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-09 05:38:11,418 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2024-11-09 05:38:11,418 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-11-09 05:38:11,418 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-11-09 05:38:11,418 INFO L153 SettingsManager]: * Trace refinement exception blacklist=NONE [2024-11-09 05:38:11,419 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:/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6096ceb-2c74-49e5-963d-0a2d8eb29a46/bin/utaipan-verify-YMUCfTKeje/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_f6096ceb-2c74-49e5-963d-0a2d8eb29a46/bin/utaipan-verify-YMUCfTKeje 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 valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Taipan 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 -> 4f746010868b331b940ee2293ff3d78b9aa516b26fde95d84f76493b23741d03 [2024-11-09 05:38:11,879 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-09 05:38:11,906 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-09 05:38:11,910 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-09 05:38:11,911 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-09 05:38:11,912 INFO L274 PluginConnector]: CDTParser initialized [2024-11-09 05:38:11,914 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6096ceb-2c74-49e5-963d-0a2d8eb29a46/bin/utaipan-verify-YMUCfTKeje/../../sv-benchmarks/c/pthread/stateful01-1.i Unable to find full path for "g++" [2024-11-09 05:38:14,339 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-09 05:38:14,649 INFO L384 CDTParser]: Found 1 translation units. [2024-11-09 05:38:14,649 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6096ceb-2c74-49e5-963d-0a2d8eb29a46/sv-benchmarks/c/pthread/stateful01-1.i [2024-11-09 05:38:14,666 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6096ceb-2c74-49e5-963d-0a2d8eb29a46/bin/utaipan-verify-YMUCfTKeje/data/4eb3ed559/ad43649d1d644d2e93452a9756fa8dd6/FLAG3e107cd5c [2024-11-09 05:38:14,681 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6096ceb-2c74-49e5-963d-0a2d8eb29a46/bin/utaipan-verify-YMUCfTKeje/data/4eb3ed559/ad43649d1d644d2e93452a9756fa8dd6 [2024-11-09 05:38:14,683 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-09 05:38:14,685 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-09 05:38:14,687 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-09 05:38:14,687 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-09 05:38:14,695 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-09 05:38:14,696 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 09.11 05:38:14" (1/1) ... [2024-11-09 05:38:14,699 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@54c8cdfa and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 05:38:14, skipping insertion in model container [2024-11-09 05:38:14,700 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 09.11 05:38:14" (1/1) ... [2024-11-09 05:38:14,757 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-09 05:38:15,267 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-09 05:38:15,337 INFO L200 MainTranslator]: Completed pre-run [2024-11-09 05:38:15,430 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-09 05:38:15,493 INFO L204 MainTranslator]: Completed translation [2024-11-09 05:38:15,494 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 05:38:15 WrapperNode [2024-11-09 05:38:15,494 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-09 05:38:15,495 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-09 05:38:15,495 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-09 05:38:15,496 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-09 05:38:15,504 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 05:38:15" (1/1) ... [2024-11-09 05:38:15,522 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 05:38:15" (1/1) ... [2024-11-09 05:38:15,543 INFO L138 Inliner]: procedures = 172, calls = 29, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 53 [2024-11-09 05:38:15,544 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-09 05:38:15,545 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-09 05:38:15,545 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-09 05:38:15,545 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-09 05:38:15,556 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 05:38:15" (1/1) ... [2024-11-09 05:38:15,556 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 05:38:15" (1/1) ... [2024-11-09 05:38:15,559 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 05:38:15" (1/1) ... [2024-11-09 05:38:15,560 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 05:38:15" (1/1) ... [2024-11-09 05:38:15,567 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 05:38:15" (1/1) ... [2024-11-09 05:38:15,570 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 05:38:15" (1/1) ... [2024-11-09 05:38:15,572 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 05:38:15" (1/1) ... [2024-11-09 05:38:15,573 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 05:38:15" (1/1) ... [2024-11-09 05:38:15,576 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-09 05:38:15,577 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-09 05:38:15,577 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-09 05:38:15,578 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-09 05:38:15,579 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 05:38:15" (1/1) ... [2024-11-09 05:38:15,585 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2024-11-09 05:38:15,599 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6096ceb-2c74-49e5-963d-0a2d8eb29a46/bin/utaipan-verify-YMUCfTKeje/z3 [2024-11-09 05:38:15,620 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6096ceb-2c74-49e5-963d-0a2d8eb29a46/bin/utaipan-verify-YMUCfTKeje/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) [2024-11-09 05:38:15,628 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6096ceb-2c74-49e5-963d-0a2d8eb29a46/bin/utaipan-verify-YMUCfTKeje/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Waiting until timeout for monitored process [2024-11-09 05:38:15,660 INFO L130 BoogieDeclarations]: Found specification of procedure thread1 [2024-11-09 05:38:15,661 INFO L138 BoogieDeclarations]: Found implementation of procedure thread1 [2024-11-09 05:38:15,661 INFO L130 BoogieDeclarations]: Found specification of procedure thread2 [2024-11-09 05:38:15,661 INFO L138 BoogieDeclarations]: Found implementation of procedure thread2 [2024-11-09 05:38:15,661 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2024-11-09 05:38:15,661 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-09 05:38:15,662 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1 [2024-11-09 05:38:15,662 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE4 [2024-11-09 05:38:15,662 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexUnlock [2024-11-09 05:38:15,664 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-09 05:38:15,664 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-09 05:38:15,666 WARN L207 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement. [2024-11-09 05:38:15,833 INFO L238 CfgBuilder]: Building ICFG [2024-11-09 05:38:15,836 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-09 05:38:16,125 INFO L283 CfgBuilder]: Omitted future-live optimization because the input is a concurrent program. [2024-11-09 05:38:16,125 INFO L287 CfgBuilder]: Performing block encoding [2024-11-09 05:38:16,417 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-09 05:38:16,417 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-09 05:38:16,418 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 09.11 05:38:16 BoogieIcfgContainer [2024-11-09 05:38:16,419 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-09 05:38:16,422 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2024-11-09 05:38:16,422 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2024-11-09 05:38:16,426 INFO L274 PluginConnector]: TraceAbstraction initialized [2024-11-09 05:38:16,426 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 09.11 05:38:14" (1/3) ... [2024-11-09 05:38:16,428 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@1413b2ba and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 09.11 05:38:16, skipping insertion in model container [2024-11-09 05:38:16,428 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 05:38:15" (2/3) ... [2024-11-09 05:38:16,429 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@1413b2ba and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 09.11 05:38:16, skipping insertion in model container [2024-11-09 05:38:16,429 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 09.11 05:38:16" (3/3) ... [2024-11-09 05:38:16,430 INFO L112 eAbstractionObserver]: Analyzing ICFG stateful01-1.i [2024-11-09 05:38:16,451 INFO L214 ceAbstractionStarter]: Automizer settings: Hoare:None NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2024-11-09 05:38:16,452 INFO L154 ceAbstractionStarter]: Applying trace abstraction to program that has 2 error locations. [2024-11-09 05:38:16,452 INFO L489 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2024-11-09 05:38:16,525 INFO L143 ThreadInstanceAdder]: Constructed 2 joinOtherThreadTransitions. [2024-11-09 05:38:16,561 INFO L113 iNet2FiniteAutomaton]: Start petriNet2FiniteAutomaton. Operand has 42 places, 37 transitions, 88 flow [2024-11-09 05:38:16,650 INFO L135 iNet2FiniteAutomaton]: Finished petriNet2FiniteAutomaton. Result has 240 states, 238 states have (on average 2.222689075630252) internal successors, (529), 239 states have internal predecessors, (529), 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-11-09 05:38:16,697 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-11-09 05:38:16,706 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=FINITE_AUTOMATA, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=None, 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;@710715bf, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-11-09 05:38:16,706 INFO L334 AbstractCegarLoop]: Starting to check reachability of 4 error locations. [2024-11-09 05:38:16,709 INFO L276 IsEmpty]: Start isEmpty. Operand has 240 states, 238 states have (on average 2.222689075630252) internal successors, (529), 239 states have internal predecessors, (529), 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-11-09 05:38:16,726 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 29 [2024-11-09 05:38:16,726 INFO L207 NwaCegarLoop]: Found error trace [2024-11-09 05:38:16,729 INFO L215 NwaCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-11-09 05:38:16,730 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr1ASSERT_VIOLATIONMEMORY_LEAK === [ULTIMATE.startErr1ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 1 more)] === [2024-11-09 05:38:16,737 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-09 05:38:16,738 INFO L85 PathProgramCache]: Analyzing trace with hash 2128601639, now seen corresponding path program 1 times [2024-11-09 05:38:16,752 INFO L118 FreeRefinementEngine]: Executing refinement strategy WALRUS [2024-11-09 05:38:16,752 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleMathsat [678748216] [2024-11-09 05:38:16,753 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-09 05:38:16,753 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-11-09 05:38:16,753 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6096ceb-2c74-49e5-963d-0a2d8eb29a46/bin/utaipan-verify-YMUCfTKeje/mathsat [2024-11-09 05:38:16,755 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6096ceb-2c74-49e5-963d-0a2d8eb29a46/bin/utaipan-verify-YMUCfTKeje/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-11-09 05:38:16,761 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6096ceb-2c74-49e5-963d-0a2d8eb29a46/bin/utaipan-verify-YMUCfTKeje/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 (2)] Waiting until timeout for monitored process [2024-11-09 05:38:16,943 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 05:38:16,947 INFO L255 TraceCheckSpWp]: Trace formula consists of 111 conjuncts, 7 conjuncts are in the unsatisfiable core [2024-11-09 05:38:16,955 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-09 05:38:17,418 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-09 05:38:17,419 INFO L307 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2024-11-09 05:38:17,420 INFO L136 FreeRefinementEngine]: Strategy WALRUS found an infeasible trace [2024-11-09 05:38:17,420 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleMathsat [678748216] [2024-11-09 05:38:17,421 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleMathsat [678748216] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-09 05:38:17,421 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-09 05:38:17,421 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [6] imperfect sequences [] total 6 [2024-11-09 05:38:17,423 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [877048571] [2024-11-09 05:38:17,424 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-09 05:38:17,429 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 7 states [2024-11-09 05:38:17,430 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy WALRUS [2024-11-09 05:38:17,461 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 7 interpolants. [2024-11-09 05:38:17,462 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=11, Invalid=31, Unknown=0, NotChecked=0, Total=42 [2024-11-09 05:38:17,466 INFO L87 Difference]: Start difference. First operand has 240 states, 238 states have (on average 2.222689075630252) internal successors, (529), 239 states have internal predecessors, (529), 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) Second operand has 7 states, 7 states have (on average 4.0) internal successors, (28), 6 states have internal predecessors, (28), 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-11-09 05:38:17,875 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2024-11-09 05:38:17,878 INFO L93 Difference]: Finished difference Result 293 states and 632 transitions. [2024-11-09 05:38:17,879 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2024-11-09 05:38:17,881 INFO L78 Accepts]: Start accepts. Automaton has has 7 states, 7 states have (on average 4.0) internal successors, (28), 6 states have internal predecessors, (28), 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) Word has length 28 [2024-11-09 05:38:17,882 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2024-11-09 05:38:17,897 INFO L225 Difference]: With dead ends: 293 [2024-11-09 05:38:17,897 INFO L226 Difference]: Without dead ends: 289 [2024-11-09 05:38:17,900 INFO L431 NwaCegarLoop]: 0 DeclaredPredicates, 27 GetRequests, 22 SyntacticMatches, 0 SemanticMatches, 5 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.1s TimeCoverageRelationStatistics Valid=11, Invalid=31, Unknown=0, NotChecked=0, Total=42 [2024-11-09 05:38:17,904 INFO L432 NwaCegarLoop]: 12 mSDtfsCounter, 21 mSDsluCounter, 49 mSDsCounter, 0 mSdLazyCounter, 243 mSolverCounterSat, 1 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.3s Time, 0 mProtectedPredicate, 0 mProtectedAction, 21 SdHoareTripleChecker+Valid, 61 SdHoareTripleChecker+Invalid, 244 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 1 IncrementalHoareTripleChecker+Valid, 243 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.3s IncrementalHoareTripleChecker+Time [2024-11-09 05:38:17,905 INFO L433 NwaCegarLoop]: SdHoareTripleChecker [21 Valid, 61 Invalid, 244 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [1 Valid, 243 Invalid, 0 Unknown, 0 Unchecked, 0.3s Time] [2024-11-09 05:38:17,929 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 289 states. [2024-11-09 05:38:17,984 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 289 to 289. [2024-11-09 05:38:17,989 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 289 states, 287 states have (on average 2.181184668989547) internal successors, (626), 288 states have internal predecessors, (626), 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-11-09 05:38:17,992 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 289 states to 289 states and 626 transitions. [2024-11-09 05:38:17,997 INFO L78 Accepts]: Start accepts. Automaton has 289 states and 626 transitions. Word has length 28 [2024-11-09 05:38:17,998 INFO L84 Accepts]: Finished accepts. word is rejected. [2024-11-09 05:38:17,998 INFO L471 AbstractCegarLoop]: Abstraction has 289 states and 626 transitions. [2024-11-09 05:38:17,999 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 7 states, 7 states have (on average 4.0) internal successors, (28), 6 states have internal predecessors, (28), 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-11-09 05:38:17,999 INFO L276 IsEmpty]: Start isEmpty. Operand 289 states and 626 transitions. [2024-11-09 05:38:18,002 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 29 [2024-11-09 05:38:18,002 INFO L207 NwaCegarLoop]: Found error trace [2024-11-09 05:38:18,006 INFO L215 NwaCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-11-09 05:38:18,016 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6096ceb-2c74-49e5-963d-0a2d8eb29a46/bin/utaipan-verify-YMUCfTKeje/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 (2)] Ended with exit code 0 [2024-11-09 05:38:18,207 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 2 /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6096ceb-2c74-49e5-963d-0a2d8eb29a46/bin/utaipan-verify-YMUCfTKeje/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-11-09 05:38:18,207 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK === [ULTIMATE.startErr1ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 1 more)] === [2024-11-09 05:38:18,208 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-09 05:38:18,208 INFO L85 PathProgramCache]: Analyzing trace with hash 2128602824, now seen corresponding path program 1 times [2024-11-09 05:38:18,209 INFO L118 FreeRefinementEngine]: Executing refinement strategy WALRUS [2024-11-09 05:38:18,209 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleMathsat [1329295829] [2024-11-09 05:38:18,209 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-09 05:38:18,209 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-11-09 05:38:18,209 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6096ceb-2c74-49e5-963d-0a2d8eb29a46/bin/utaipan-verify-YMUCfTKeje/mathsat [2024-11-09 05:38:18,213 INFO L229 MonitoredProcess]: Starting monitored process 3 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6096ceb-2c74-49e5-963d-0a2d8eb29a46/bin/utaipan-verify-YMUCfTKeje/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-11-09 05:38:18,214 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6096ceb-2c74-49e5-963d-0a2d8eb29a46/bin/utaipan-verify-YMUCfTKeje/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-11-09 05:38:18,335 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-09 05:38:18,335 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-09 05:38:18,396 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-09 05:38:18,464 INFO L130 FreeRefinementEngine]: Strategy WALRUS found a feasible trace [2024-11-09 05:38:18,464 INFO L325 BasicCegarLoop]: Counterexample is feasible [2024-11-09 05:38:18,466 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK (3 of 4 remaining) [2024-11-09 05:38:18,469 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1ASSERT_VIOLATIONMEMORY_LEAK (2 of 4 remaining) [2024-11-09 05:38:18,469 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (1 of 4 remaining) [2024-11-09 05:38:18,470 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 4 remaining) [2024-11-09 05:38:18,474 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6096ceb-2c74-49e5-963d-0a2d8eb29a46/bin/utaipan-verify-YMUCfTKeje/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)] Ended with exit code 0 [2024-11-09 05:38:18,670 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 3 /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6096ceb-2c74-49e5-963d-0a2d8eb29a46/bin/utaipan-verify-YMUCfTKeje/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-11-09 05:38:18,675 INFO L407 BasicCegarLoop]: Path program histogram: [1, 1] [2024-11-09 05:38:18,742 INFO L239 ceAbstractionStarter]: Analysis of concurrent program completed with 1 thread instances [2024-11-09 05:38:18,742 INFO L170 ceAbstractionStarter]: Computing trace abstraction results [2024-11-09 05:38:18,747 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 09.11 05:38:18 BasicIcfg [2024-11-09 05:38:18,748 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2024-11-09 05:38:18,749 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-09 05:38:18,749 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-09 05:38:18,749 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-09 05:38:18,750 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 09.11 05:38:16" (3/4) ... [2024-11-09 05:38:18,753 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-09 05:38:18,755 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-09 05:38:18,757 INFO L158 Benchmark]: Toolchain (without parser) took 4070.43ms. Allocated memory was 83.9MB in the beginning and 100.7MB in the end (delta: 16.8MB). Free memory was 58.9MB in the beginning and 47.9MB in the end (delta: 11.0MB). Peak memory consumption was 31.1MB. Max. memory is 16.1GB. [2024-11-09 05:38:18,758 INFO L158 Benchmark]: CDTParser took 0.29ms. Allocated memory is still 62.9MB. Free memory was 39.6MB in the beginning and 39.5MB in the end (delta: 81.6kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-09 05:38:18,759 INFO L158 Benchmark]: CACSL2BoogieTranslator took 807.79ms. Allocated memory is still 83.9MB. Free memory was 58.7MB in the beginning and 53.7MB in the end (delta: 5.0MB). Peak memory consumption was 17.0MB. Max. memory is 16.1GB. [2024-11-09 05:38:18,760 INFO L158 Benchmark]: Boogie Procedure Inliner took 49.07ms. Allocated memory is still 83.9MB. Free memory was 53.3MB in the beginning and 51.2MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-09 05:38:18,760 INFO L158 Benchmark]: Boogie Preprocessor took 31.67ms. Allocated memory is still 83.9MB. Free memory was 51.2MB in the beginning and 49.6MB in the end (delta: 1.7MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-09 05:38:18,765 INFO L158 Benchmark]: RCFGBuilder took 842.57ms. Allocated memory is still 83.9MB. Free memory was 49.6MB in the beginning and 56.9MB in the end (delta: -7.3MB). Peak memory consumption was 21.3MB. Max. memory is 16.1GB. [2024-11-09 05:38:18,768 INFO L158 Benchmark]: TraceAbstraction took 2326.05ms. Allocated memory was 83.9MB in the beginning and 100.7MB in the end (delta: 16.8MB). Free memory was 56.4MB in the beginning and 48.8MB in the end (delta: 7.6MB). Peak memory consumption was 24.3MB. Max. memory is 16.1GB. [2024-11-09 05:38:18,769 INFO L158 Benchmark]: Witness Printer took 6.24ms. Allocated memory is still 100.7MB. Free memory is still 47.9MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-09 05:38:18,776 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.29ms. Allocated memory is still 62.9MB. Free memory was 39.6MB in the beginning and 39.5MB in the end (delta: 81.6kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 807.79ms. Allocated memory is still 83.9MB. Free memory was 58.7MB in the beginning and 53.7MB in the end (delta: 5.0MB). Peak memory consumption was 17.0MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 49.07ms. Allocated memory is still 83.9MB. Free memory was 53.3MB in the beginning and 51.2MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 31.67ms. Allocated memory is still 83.9MB. Free memory was 51.2MB in the beginning and 49.6MB in the end (delta: 1.7MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 842.57ms. Allocated memory is still 83.9MB. Free memory was 49.6MB in the beginning and 56.9MB in the end (delta: -7.3MB). Peak memory consumption was 21.3MB. Max. memory is 16.1GB. * TraceAbstraction took 2326.05ms. Allocated memory was 83.9MB in the beginning and 100.7MB in the end (delta: 16.8MB). Free memory was 56.4MB in the beginning and 48.8MB in the end (delta: 7.6MB). Peak memory consumption was 24.3MB. Max. memory is 16.1GB. * Witness Printer took 6.24ms. Allocated memory is still 100.7MB. Free memory is still 47.9MB. There was no memory consumed. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - StatisticsResult: ErrorAutomatonStatistics NumberErrorTraces: 0, NumberStatementsAllTraces: 0, NumberRelevantStatements: 0, 0.0s ErrorAutomatonConstructionTimeTotal, 0.0s FaulLocalizationTime, NumberStatementsFirstTrace: -1, TraceLengthAvg: 0, 0.0s ErrorAutomatonConstructionTimeAvg, 0.0s ErrorAutomatonDifferenceTimeAvg, 0.0s ErrorAutomatonDifferenceTimeTotal, NumberOfNoEnhancement: 0, NumberOfFiniteEnhancement: 0, NumberOfInfiniteEnhancement: 0 - UnprovableResult [Line: 20]: Unable to prove that all allocated memory was freed Unable to prove that all allocated memory was freed Reason: overapproximation of memtrack at line 20. Possible FailurePath: [L692] 0 pthread_mutex_t ma, mb; [L693] 0 int data1, data2; [L716] 0 pthread_t t1, t2; [L719] 0 data1 = 10 [L720] 0 data2 = 10 [L721] FCALL, FORK 0 pthread_create(&t1, 0, thread1, 0) VAL [\old(arg)={0:0}, data1=10, data2=10, ma={3:0}, mb={4:0}, t1=0] [L697] 1 data1++ VAL [\old(arg)={0:0}, arg={0:0}, data1=11, data2=10, ma={3:0}, mb={4:0}] [L700] 1 data2++ VAL [\old(arg)={0:0}, arg={0:0}, data1=11, data2=11, ma={3:0}, mb={4:0}] [L702] 1 return 0; [L722] FCALL, FORK 0 pthread_create(&t2, 0, thread2, 0) VAL [\old(arg)={0:0}, \old(arg)={0:0}, \result={0:0}, arg={0:0}, data1=11, data2=11, ma={3:0}, mb={4:0}, t1=0, t2=1] [L723] FCALL, JOIN 1 pthread_join(t1, 0) VAL [\old(arg)={0:0}, \old(arg)={0:0}, \result={0:0}, arg={0:0}, data1=11, data2=11, ma={3:0}, mb={4:0}, t1=0, t2=1] [L707] 2 data1+=5 VAL [\old(arg)={0:0}, \old(arg)={0:0}, \result={0:0}, arg={0:0}, arg={0:0}, data1=16, data2=11, ma={3:0}, mb={4:0}] [L710] 2 data2-=6 VAL [\old(arg)={0:0}, \old(arg)={0:0}, \result={0:0}, arg={0:0}, arg={0:0}, data1=16, data2=5, ma={3:0}, mb={4:0}] [L712] 2 return 0; [L724] FCALL, JOIN 2 pthread_join(t2, 0) VAL [\old(arg)={0:0}, \old(arg)={0:0}, \result={0:0}, \result={0:0}, arg={0:0}, arg={0:0}, data1=16, data2=5, ma={3:0}, mb={4:0}, t1=0, t2=1] [L725] COND TRUE 0 data1==16 && data2==5 [L727] CALL 0 reach_error() [L20] COND FALSE 0 !(0) VAL [\old(arg)={0:0}, \old(arg)={0:0}, \result={0:0}, \result={0:0}, arg={0:0}, arg={0:0}, data1=16, data2=5, ma={3:0}, mb={4:0}] [L20] 0 __assert_fail ("0", "stateful01-1.c", 3, __extension__ __PRETTY_FUNCTION__) VAL [\old(arg)={0:0}, \old(arg)={0:0}, \result={0:0}, \result={0:0}, arg={0:0}, arg={0:0}, data1=16, data2=5, ma={3:0}, mb={4:0}] - UnprovableResult [Line: 714]: Unable to prove that all allocated memory was freed Unable to prove that all allocated memory was freed Reason: Not analyzed. - UnprovableResult [Line: 722]: 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. - UnprovableResult [Line: 721]: 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 5 procedures, 58 locations, 4 error locations. Started 1 CEGAR loops. OverallTime: 2.1s, OverallIterations: 2, TraceHistogramMax: 1, PathProgramHistogramMax: 1, EmptinessCheckTime: 0.0s, AutomataDifference: 0.5s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.1s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 21 SdHoareTripleChecker+Valid, 0.3s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 21 mSDsluCounter, 61 SdHoareTripleChecker+Invalid, 0.3s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 49 mSDsCounter, 1 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 243 IncrementalHoareTripleChecker+Invalid, 244 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 1 mSolverCounterUnsat, 12 mSDtfsCounter, 243 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 27 GetRequests, 22 SyntacticMatches, 0 SemanticMatches, 5 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.1s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=289occurred in iteration=1, InterpolantAutomatonStates: 7, traceCheckStatistics: No data available, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: 0.1s AutomataMinimizationTime, 1 MinimizatonAttempts, 0 StatesRemovedByMinimization, 0 NontrivialMinimizations, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TRACE_CHECK: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.5s InterpolantComputationTime, 56 NumberOfCodeBlocks, 56 NumberOfCodeBlocksAsserted, 2 NumberOfCheckSat, 27 ConstructedInterpolants, 0 QuantifiedInterpolants, 177 SizeOfPredicates, 0 NumberOfNonLiveVariables, 111 ConjunctsInSsa, 7 ConjunctsInUnsatCore, 1 InterpolantComputations, 1 PerfectInterpolantSequences, 0/0 InterpolantCoveringCapability, INVARIANT_SYNTHESIS: No data available, INTERPOLANT_CONSOLIDATION: No data available, ABSTRACT_INTERPRETATION: No data available, PDR: No data available, ACCELERATED_INTERPOLATION: No data available, SIFA: No data available, ReuseStatistics: No data available RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2024-11-09 05:38:18,823 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6096ceb-2c74-49e5-963d-0a2d8eb29a46/bin/utaipan-verify-YMUCfTKeje/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: UNKNOWN: Overapproximated counterexample