./Ultimate.py --spec ../../sv-benchmarks/c/properties/unreach-call.prp --file ../../sv-benchmarks/c/heap-manipulation/tree-4.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for ERROR reachability Using default analysis Version d790fecc Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e78b565-a267-4cfb-9964-8c3ac24b33fb/bin/ukojak-verify-CZk0znPC7b/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e78b565-a267-4cfb-9964-8c3ac24b33fb/bin/ukojak-verify-CZk0znPC7b/plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e78b565-a267-4cfb-9964-8c3ac24b33fb/bin/ukojak-verify-CZk0znPC7b/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e78b565-a267-4cfb-9964-8c3ac24b33fb/bin/ukojak-verify-CZk0znPC7b/config/KojakReach.xml -i ../../sv-benchmarks/c/heap-manipulation/tree-4.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e78b565-a267-4cfb-9964-8c3ac24b33fb/bin/ukojak-verify-CZk0znPC7b/config/svcomp-Reach-32bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e78b565-a267-4cfb-9964-8c3ac24b33fb/bin/ukojak-verify-CZk0znPC7b --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G ! call(reach_error())) ) --witnessprinter.graph.data.producer Kojak --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 93cf6e13715dcd5309cb599b4358d41a64464f02c52b3716bc554a9d0e833f5e --- Real Ultimate output --- This is Ultimate 0.3.0-dev-d790fec [2024-12-06 04:09:09,667 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-12-06 04:09:09,721 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e78b565-a267-4cfb-9964-8c3ac24b33fb/bin/ukojak-verify-CZk0znPC7b/config/svcomp-Reach-32bit-Kojak_Default.epf [2024-12-06 04:09:09,725 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-12-06 04:09:09,726 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-12-06 04:09:09,745 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-12-06 04:09:09,746 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-12-06 04:09:09,746 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-12-06 04:09:09,747 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-12-06 04:09:09,747 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-12-06 04:09:09,747 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-12-06 04:09:09,747 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-12-06 04:09:09,747 INFO L153 SettingsManager]: * sizeof long=4 [2024-12-06 04:09:09,747 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-12-06 04:09:09,748 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-12-06 04:09:09,748 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-12-06 04:09:09,748 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-12-06 04:09:09,748 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-12-06 04:09:09,748 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-12-06 04:09:09,748 INFO L153 SettingsManager]: * sizeof long double=12 [2024-12-06 04:09:09,748 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-12-06 04:09:09,748 INFO L153 SettingsManager]: * Behaviour of calls to undefined functions=OVERAPPROXIMATE_BEHAVIOUR [2024-12-06 04:09:09,748 INFO L153 SettingsManager]: * Use constant arrays=true [2024-12-06 04:09:09,748 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-12-06 04:09:09,748 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-12-06 04:09:09,749 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-12-06 04:09:09,749 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-12-06 04:09:09,749 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-12-06 04:09:09,749 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-12-06 04:09:09,749 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-12-06 04:09:09,749 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-12-06 04:09:09,749 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-12-06 04:09:09,749 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-12-06 04:09:09,749 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode 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_7e78b565-a267-4cfb-9964-8c3ac24b33fb/bin/ukojak-verify-CZk0znPC7b Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(G ! call(reach_error())) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Kojak 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 -> 93cf6e13715dcd5309cb599b4358d41a64464f02c52b3716bc554a9d0e833f5e [2024-12-06 04:09:09,958 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-12-06 04:09:09,965 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-12-06 04:09:09,967 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-12-06 04:09:09,968 INFO L270 PluginConnector]: Initializing CDTParser... [2024-12-06 04:09:09,968 INFO L274 PluginConnector]: CDTParser initialized [2024-12-06 04:09:09,969 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e78b565-a267-4cfb-9964-8c3ac24b33fb/bin/ukojak-verify-CZk0znPC7b/../../sv-benchmarks/c/heap-manipulation/tree-4.i [2024-12-06 04:09:12,690 INFO L533 CDTParser]: Created temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e78b565-a267-4cfb-9964-8c3ac24b33fb/bin/ukojak-verify-CZk0znPC7b/data/8cbba8a41/33ca7f751ec4493a87c1348f2b207338/FLAG3359e5d0a [2024-12-06 04:09:12,915 INFO L384 CDTParser]: Found 1 translation units. [2024-12-06 04:09:12,915 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e78b565-a267-4cfb-9964-8c3ac24b33fb/sv-benchmarks/c/heap-manipulation/tree-4.i [2024-12-06 04:09:12,926 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e78b565-a267-4cfb-9964-8c3ac24b33fb/bin/ukojak-verify-CZk0znPC7b/data/8cbba8a41/33ca7f751ec4493a87c1348f2b207338/FLAG3359e5d0a [2024-12-06 04:09:12,936 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e78b565-a267-4cfb-9964-8c3ac24b33fb/bin/ukojak-verify-CZk0znPC7b/data/8cbba8a41/33ca7f751ec4493a87c1348f2b207338 [2024-12-06 04:09:12,937 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-12-06 04:09:12,939 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-12-06 04:09:12,940 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-12-06 04:09:12,940 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-12-06 04:09:12,944 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-12-06 04:09:12,945 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 06.12 04:09:12" (1/1) ... [2024-12-06 04:09:12,945 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@f7b7f5a and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 04:09:12, skipping insertion in model container [2024-12-06 04:09:12,946 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 06.12 04:09:12" (1/1) ... [2024-12-06 04:09:12,970 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-12-06 04:09:13,180 WARN L250 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e78b565-a267-4cfb-9964-8c3ac24b33fb/sv-benchmarks/c/heap-manipulation/tree-4.i[22626,22639] [2024-12-06 04:09:13,203 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-12-06 04:09:13,211 INFO L200 MainTranslator]: Completed pre-run [2024-12-06 04:09:13,238 WARN L250 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e78b565-a267-4cfb-9964-8c3ac24b33fb/sv-benchmarks/c/heap-manipulation/tree-4.i[22626,22639] [2024-12-06 04:09:13,248 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-12-06 04:09:13,271 INFO L204 MainTranslator]: Completed translation [2024-12-06 04:09:13,272 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 04:09:13 WrapperNode [2024-12-06 04:09:13,272 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-12-06 04:09:13,273 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-12-06 04:09:13,273 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-12-06 04:09:13,273 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-12-06 04:09:13,279 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 04:09:13" (1/1) ... [2024-12-06 04:09:13,289 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 04:09:13" (1/1) ... [2024-12-06 04:09:13,306 INFO L138 Inliner]: procedures = 122, calls = 44, calls flagged for inlining = 5, calls inlined = 5, statements flattened = 138 [2024-12-06 04:09:13,306 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-12-06 04:09:13,307 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-12-06 04:09:13,307 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-12-06 04:09:13,307 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-12-06 04:09:13,314 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 04:09:13" (1/1) ... [2024-12-06 04:09:13,314 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 04:09:13" (1/1) ... [2024-12-06 04:09:13,317 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 04:09:13" (1/1) ... [2024-12-06 04:09:13,317 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 04:09:13" (1/1) ... [2024-12-06 04:09:13,324 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 04:09:13" (1/1) ... [2024-12-06 04:09:13,325 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 04:09:13" (1/1) ... [2024-12-06 04:09:13,328 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 04:09:13" (1/1) ... [2024-12-06 04:09:13,329 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 04:09:13" (1/1) ... [2024-12-06 04:09:13,330 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 04:09:13" (1/1) ... [2024-12-06 04:09:13,331 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-12-06 04:09:13,332 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-12-06 04:09:13,332 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-12-06 04:09:13,332 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-12-06 04:09:13,332 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 04:09:13" (1/1) ... [2024-12-06 04:09:13,337 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-12-06 04:09:13,349 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e78b565-a267-4cfb-9964-8c3ac24b33fb/bin/ukojak-verify-CZk0znPC7b/z3 [2024-12-06 04:09:13,361 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e78b565-a267-4cfb-9964-8c3ac24b33fb/bin/ukojak-verify-CZk0znPC7b/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-12-06 04:09:13,364 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e78b565-a267-4cfb-9964-8c3ac24b33fb/bin/ukojak-verify-CZk0znPC7b/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-12-06 04:09:13,389 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2024-12-06 04:09:13,389 INFO L130 BoogieDeclarations]: Found specification of procedure fail [2024-12-06 04:09:13,389 INFO L138 BoogieDeclarations]: Found implementation of procedure fail [2024-12-06 04:09:13,389 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2024-12-06 04:09:13,390 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2024-12-06 04:09:13,390 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-12-06 04:09:13,390 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$ [2024-12-06 04:09:13,390 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$ [2024-12-06 04:09:13,390 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2024-12-06 04:09:13,390 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2024-12-06 04:09:13,390 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-12-06 04:09:13,390 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-12-06 04:09:13,485 INFO L234 CfgBuilder]: Building ICFG [2024-12-06 04:09:13,486 INFO L260 CfgBuilder]: Building CFG for each procedure with an implementation [2024-12-06 04:09:13,697 INFO L? ?]: Removed 33 outVars from TransFormulas that were not future-live. [2024-12-06 04:09:13,697 INFO L283 CfgBuilder]: Performing block encoding [2024-12-06 04:09:13,772 INFO L307 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-12-06 04:09:13,773 INFO L312 CfgBuilder]: Removed 9 assume(true) statements. [2024-12-06 04:09:13,773 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 06.12 04:09:13 BoogieIcfgContainer [2024-12-06 04:09:13,773 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-12-06 04:09:13,774 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-12-06 04:09:13,774 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-12-06 04:09:13,781 INFO L274 PluginConnector]: CodeCheck initialized [2024-12-06 04:09:13,781 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 06.12 04:09:13" (1/1) ... [2024-12-06 04:09:13,787 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-12-06 04:09:13,819 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-12-06 04:09:13,826 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 47 states to 28 states and 47 transitions. [2024-12-06 04:09:13,826 INFO L276 IsEmpty]: Start isEmpty. Operand 28 states and 47 transitions. [2024-12-06 04:09:13,828 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2024-12-06 04:09:13,828 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-12-06 04:09:13,828 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-12-06 04:09:13,895 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-12-06 04:09:13,931 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-12-06 04:09:13,993 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-12-06 04:09:13,993 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 40 states to 27 states and 40 transitions. [2024-12-06 04:09:13,993 INFO L276 IsEmpty]: Start isEmpty. Operand 27 states and 40 transitions. [2024-12-06 04:09:13,994 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2024-12-06 04:09:13,994 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-12-06 04:09:13,994 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-12-06 04:09:14,012 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-12-06 04:09:14,121 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-12-06 04:09:14,232 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-12-06 04:09:14,232 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 46 states to 32 states and 46 transitions. [2024-12-06 04:09:14,232 INFO L276 IsEmpty]: Start isEmpty. Operand 32 states and 46 transitions. [2024-12-06 04:09:14,232 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 12 [2024-12-06 04:09:14,233 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-12-06 04:09:14,233 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-12-06 04:09:14,260 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-12-06 04:09:14,309 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 2 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-12-06 04:09:14,504 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-12-06 04:09:14,504 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 49 states to 33 states and 49 transitions. [2024-12-06 04:09:14,504 INFO L276 IsEmpty]: Start isEmpty. Operand 33 states and 49 transitions. [2024-12-06 04:09:14,504 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 13 [2024-12-06 04:09:14,504 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-12-06 04:09:14,505 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-12-06 04:09:14,545 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-12-06 04:09:14,676 INFO L134 CoverageAnalysis]: Checked inductivity of 3 backedges. 2 proven. 0 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2024-12-06 04:09:15,191 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-12-06 04:09:15,192 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 47 states to 32 states and 47 transitions. [2024-12-06 04:09:15,192 INFO L276 IsEmpty]: Start isEmpty. Operand 32 states and 47 transitions. [2024-12-06 04:09:15,192 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 18 [2024-12-06 04:09:15,192 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-12-06 04:09:15,192 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-12-06 04:09:15,275 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-12-06 04:09:16,663 INFO L134 CoverageAnalysis]: Checked inductivity of 3 backedges. 2 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-12-06 04:09:17,844 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-12-06 04:09:17,844 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 67 states to 41 states and 67 transitions. [2024-12-06 04:09:17,845 INFO L276 IsEmpty]: Start isEmpty. Operand 41 states and 67 transitions. [2024-12-06 04:09:17,847 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 18 [2024-12-06 04:09:17,847 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-12-06 04:09:17,847 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-12-06 04:09:17,886 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-12-06 04:09:18,455 INFO L134 CoverageAnalysis]: Checked inductivity of 3 backedges. 2 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-12-06 04:09:19,864 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-12-06 04:09:19,865 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 81 states to 47 states and 81 transitions. [2024-12-06 04:09:19,865 INFO L276 IsEmpty]: Start isEmpty. Operand 47 states and 81 transitions. [2024-12-06 04:09:19,865 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 19 [2024-12-06 04:09:19,865 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-12-06 04:09:19,865 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-12-06 04:09:19,925 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-12-06 04:09:20,886 INFO L134 CoverageAnalysis]: Checked inductivity of 5 backedges. 2 proven. 3 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-12-06 04:09:21,729 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-12-06 04:09:21,729 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 90 states to 51 states and 90 transitions. [2024-12-06 04:09:21,729 INFO L276 IsEmpty]: Start isEmpty. Operand 51 states and 90 transitions. [2024-12-06 04:09:21,730 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 19 [2024-12-06 04:09:21,730 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-12-06 04:09:21,730 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-12-06 04:09:21,776 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-12-06 04:09:22,279 INFO L134 CoverageAnalysis]: Checked inductivity of 5 backedges. 2 proven. 3 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-12-06 04:09:23,057 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-12-06 04:09:23,057 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 94 states to 52 states and 94 transitions. [2024-12-06 04:09:23,058 INFO L276 IsEmpty]: Start isEmpty. Operand 52 states and 94 transitions. [2024-12-06 04:09:23,058 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 21 [2024-12-06 04:09:23,058 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-12-06 04:09:23,059 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-12-06 04:09:23,244 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-12-06 04:09:26,033 INFO L134 CoverageAnalysis]: Checked inductivity of 9 backedges. 6 proven. 3 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-12-06 04:09:28,132 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-12-06 04:09:28,132 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 112 states to 54 states and 112 transitions. [2024-12-06 04:09:28,133 INFO L276 IsEmpty]: Start isEmpty. Operand 54 states and 112 transitions. [2024-12-06 04:09:28,133 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 21 [2024-12-06 04:09:28,133 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-12-06 04:09:28,133 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-12-06 04:09:28,198 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-12-06 04:09:29,349 INFO L134 CoverageAnalysis]: Checked inductivity of 9 backedges. 4 proven. 3 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2024-12-06 04:09:30,336 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-12-06 04:09:30,337 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 121 states to 55 states and 121 transitions. [2024-12-06 04:09:30,337 INFO L276 IsEmpty]: Start isEmpty. Operand 55 states and 121 transitions. [2024-12-06 04:09:30,337 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 21 [2024-12-06 04:09:30,337 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-12-06 04:09:30,337 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-12-06 04:09:30,376 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-12-06 04:09:30,376 INFO L357 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-12-06 04:09:30,385 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-12-06 04:09:30,819 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-12-06 04:09:30,819 INFO L357 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-12-06 04:09:31,216 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-12-06 04:09:31,245 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 11 iterations. [2024-12-06 04:09:31,269 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 06.12 04:09:31 ImpRootNode [2024-12-06 04:09:31,269 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-12-06 04:09:31,270 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-12-06 04:09:31,270 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-12-06 04:09:31,270 INFO L274 PluginConnector]: Witness Printer initialized [2024-12-06 04:09:31,270 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 06.12 04:09:13" (3/4) ... [2024-12-06 04:09:31,271 INFO L140 WitnessPrinter]: Generating witness for reachability counterexample [2024-12-06 04:09:31,304 INFO L129 tionWitnessGenerator]: Generated YAML witness of length 21. [2024-12-06 04:09:31,351 INFO L149 WitnessManager]: Wrote witness to /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e78b565-a267-4cfb-9964-8c3ac24b33fb/bin/ukojak-verify-CZk0znPC7b/witness.graphml [2024-12-06 04:09:31,351 INFO L149 WitnessManager]: Wrote witness to /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e78b565-a267-4cfb-9964-8c3ac24b33fb/bin/ukojak-verify-CZk0znPC7b/witness.yml [2024-12-06 04:09:31,351 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-12-06 04:09:31,352 INFO L158 Benchmark]: Toolchain (without parser) took 18413.40ms. Allocated memory was 142.6MB in the beginning and 654.3MB in the end (delta: 511.7MB). Free memory was 117.4MB in the beginning and 539.4MB in the end (delta: -421.9MB). Peak memory consumption was 85.5MB. Max. memory is 16.1GB. [2024-12-06 04:09:31,352 INFO L158 Benchmark]: CDTParser took 0.25ms. Allocated memory is still 142.6MB. Free memory is still 81.3MB. There was no memory consumed. Max. memory is 16.1GB. [2024-12-06 04:09:31,352 INFO L158 Benchmark]: CACSL2BoogieTranslator took 332.73ms. Allocated memory is still 142.6MB. Free memory was 117.3MB in the beginning and 99.6MB in the end (delta: 17.7MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-12-06 04:09:31,353 INFO L158 Benchmark]: Boogie Procedure Inliner took 33.71ms. Allocated memory is still 142.6MB. Free memory was 99.6MB in the beginning and 97.8MB in the end (delta: 1.8MB). There was no memory consumed. Max. memory is 16.1GB. [2024-12-06 04:09:31,353 INFO L158 Benchmark]: Boogie Preprocessor took 24.11ms. Allocated memory is still 142.6MB. Free memory was 97.6MB in the beginning and 96.2MB in the end (delta: 1.5MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-12-06 04:09:31,353 INFO L158 Benchmark]: RCFGBuilder took 441.61ms. Allocated memory is still 142.6MB. Free memory was 96.2MB in the beginning and 69.7MB in the end (delta: 26.5MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-12-06 04:09:31,354 INFO L158 Benchmark]: CodeCheck took 17495.25ms. Allocated memory was 142.6MB in the beginning and 654.3MB in the end (delta: 511.7MB). Free memory was 69.5MB in the beginning and 541.9MB in the end (delta: -472.4MB). Peak memory consumption was 43.5MB. Max. memory is 16.1GB. [2024-12-06 04:09:31,354 INFO L158 Benchmark]: Witness Printer took 81.77ms. Allocated memory is still 654.3MB. Free memory was 541.9MB in the beginning and 539.4MB in the end (delta: 2.6MB). There was no memory consumed. Max. memory is 16.1GB. [2024-12-06 04:09:31,356 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck: - StatisticsResult: Ultimate CodeCheck benchmark data CFG has 2 procedures, 28 locations, 1 error locations. Started 1 CEGAR loops. OverallTime: 17.5s, OverallIterations: 11, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 734 SdHoareTripleChecker+Valid, 13.5s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 290 mSDsluCounter, 531 SdHoareTripleChecker+Invalid, 12.6s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 318 mSDsCounter, 405 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 1383 IncrementalHoareTripleChecker+Invalid, 1788 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 405 mSolverCounterUnsat, 213 mSDtfsCounter, 1383 mSolverCounterSat, 0.1s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 1497 GetRequests, 1355 SyntacticMatches, 26 SemanticMatches, 116 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 4377 ImplicationChecksByTransitivity, 5.5s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.7s SatisfiabilityAnalysisTime, 7.7s InterpolantComputationTime, 170 NumberOfCodeBlocks, 170 NumberOfCodeBlocksAsserted, 11 NumberOfCheckSat, 140 ConstructedInterpolants, 0 QuantifiedInterpolants, 1227 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 10 InterpolantComputations, 4 PerfectInterpolantSequences, 25/39 InterpolantCoveringCapability, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: No data available, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: No data available, ReuseStatistics: No data available, ConComCheckerStatistics: No data available - CounterExampleResult [Line: 565]: a call to reach_error is reachable a call to reach_error is reachable We found a FailurePath: [L632] CALL, EXPR create_tree() [L585] struct node *nodelast = ((void *)0); [L586] struct node *node = ((void *)0); VAL [node={0:0}, nodelast={0:0}] [L587] COND TRUE __VERIFIER_nondet_int() [L588] node = malloc(sizeof *node) [L589] COND FALSE !(!node) [L591] node->left = ((void *)0) [L592] node->right = nodelast [L593] COND FALSE !(\read(*nodelast)) [L595] int value = __VERIFIER_nondet_int(); [L596] node->value = value [L597] nodelast = node [L587] COND FALSE !(__VERIFIER_nondet_int()) [L599] COND TRUE node != ((void *)0) [L600] node->parent = ((void *)0) VAL [node={23435:0}, nodelast={23435:0}] [L601] COND TRUE node != ((void *)0) [L602] node->left = malloc(sizeof *node) [L603] COND FALSE !(!node) [L605] EXPR node->left [L605] node->left->left = ((void *)0) [L606] EXPR node->left [L606] node->left->right = ((void *)0) [L607] EXPR node->left [L607] node->left->value = 42 [L608] EXPR node->left [L608] node->left->parent = node [L609] EXPR node->right [L609] node = node->right [L601] COND FALSE !(node != ((void *)0)) [L611] return nodelast; [L632] RET, EXPR create_tree() [L632] struct node *data = create_tree(); [L633] COND FALSE !(!data) [L635] CALL inspect(data) [L575] COND FALSE !(!(node)) VAL [node={23435:0}] [L575] COND FALSE !(0) VAL [node={23435:0}] [L576] COND TRUE node != ((void *)0) [L577] node->left VAL [node={23435:0}] [L577] COND TRUE node->left [L578] EXPR node->left [L578] EXPR node->left->value VAL [node={23435:0}] [L578] COND FALSE !(!(node->left->value == 42)) [L578] COND FALSE !(0) VAL [node={23435:0}] [L579] EXPR node->value VAL [node={23435:0}] [L579] COND TRUE !(node->value) [L579] CALL fail() [L565] reach_error() * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.25ms. Allocated memory is still 142.6MB. Free memory is still 81.3MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 332.73ms. Allocated memory is still 142.6MB. Free memory was 117.3MB in the beginning and 99.6MB in the end (delta: 17.7MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 33.71ms. Allocated memory is still 142.6MB. Free memory was 99.6MB in the beginning and 97.8MB in the end (delta: 1.8MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 24.11ms. Allocated memory is still 142.6MB. Free memory was 97.6MB in the beginning and 96.2MB in the end (delta: 1.5MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * RCFGBuilder took 441.61ms. Allocated memory is still 142.6MB. Free memory was 96.2MB in the beginning and 69.7MB in the end (delta: 26.5MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * CodeCheck took 17495.25ms. Allocated memory was 142.6MB in the beginning and 654.3MB in the end (delta: 511.7MB). Free memory was 69.5MB in the beginning and 541.9MB in the end (delta: -472.4MB). Peak memory consumption was 43.5MB. Max. memory is 16.1GB. * Witness Printer took 81.77ms. Allocated memory is still 654.3MB. Free memory was 541.9MB in the beginning and 539.4MB in the end (delta: 2.6MB). There was no memory consumed. Max. memory is 16.1GB. RESULT: Ultimate proved your program to be incorrect! [2024-12-06 04:09:31,370 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e78b565-a267-4cfb-9964-8c3ac24b33fb/bin/ukojak-verify-CZk0znPC7b/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Ended with exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Writing human readable error path to file UltimateCounterExample.errorpath Result: FALSE